R_WorkPermitTemplateLongTextTP

DDL: R_WORKPERMITTEMPLATELONGTEXTTP Type: view_entity TRANSACTIONAL

Work Permit Template Long Text

R_WorkPermitTemplateLongTextTP is a Transactional CDS View that provides data about "Work Permit Template Long Text" in SAP S/4HANA. It reads from 1 data source (I_WorkPermitLongText) and exposes 13 fields with key fields WorkPermit, Language.

Data Sources (1)

SourceAliasJoin Type
I_WorkPermitLongText I_WorkPermitLongText from

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Work Permit Template Long Text view
ObjectModel.dataCategory #TEXT view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY WorkPermit WorkPermit Application
KEY Language Language Report Text Language
WorkPermitInternalID WorkPermitInternalID Object number
TextObjectKey TextObjectKey Text Name
TextObjectCategory TextObjectCategory Text object
TextObjectType TextObjectType Text ID
WorkPermitLongText _LongText PlainLongText Long Text
MaintenancePlanningPlant _WorkPermitTemplate MaintenancePlanningPlant Planning Plant
WorkPermitType _WorkPermitTemplate WorkPermitType Work Permit Type
_Language _Language
_TextObjectCategory _TextObjectCategory
_TextObjectType _TextObjectType
_WorkPermitTemplate _WorkPermitTemplate

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view R_WorkPermitTemplateLongTextTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW R_WorkPermitTemplateLongTextTP AS
SELECT
  WorkPermit,
  Language,
  WorkPermitInternalID,
  TextObjectKey,
  TextObjectCategory,
  TextObjectType,
  _LongText.PlainLongText AS WorkPermitLongText,
  _WorkPermitTemplate.MaintenancePlanningPlant AS MaintenancePlanningPlant,
  _WorkPermitTemplate.WorkPermitType AS WorkPermitType
FROM I_WorkPermitLongText
;