R_WrkPmtTmplLongTxtDraft

DDL: R_WRKPMTTMPLLONGTXTDRAFT Type: view_entity BASIC

Work Permit Tmpl Long Text Draft

R_WrkPmtTmplLongTxtDraft is a Basic CDS View that provides data about "Work Permit Tmpl Long Text Draft" in SAP S/4HANA. It reads from 1 data source (wrkpmttltxt_d) and exposes 17 fields with key fields WorkPermit, Language, DraftUUID.

Data Sources (1)

SourceAliasJoin Type
wrkpmttltxt_d wrkpmttltxt_d from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Work Permit Tmpl Long Text Draft view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY WorkPermit workpermit Application
KEY Language language Report Text Language
KEY DraftUUID draftuuid UUID
ParentDraftUUID parentdraftuuid NodeID
WorkPermitInternalID workpermitinternalid Object number
TextObjectKey textobjectkey Text Name
TextObjectCategory textobjectcategory Text object
TextObjectType textobjecttype Text ID
WorkPermitLongText workpermitlongtext Long Text
MaintenancePlanningPlant maintenanceplanningplant Planning Plant
WorkPermitType workpermittype Work Permit Type
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
HasActiveEntity hasactiveentity TRUE
DraftFieldChanges draftfieldchanges Field Changes

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_WrkPmtTmplLongTxtDraft.
-- 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_WrkPmtTmplLongTxtDraft AS
SELECT
  WorkPermit,
  Language,
  DraftUUID,
  ParentDraftUUID,
  WorkPermitInternalID,
  TextObjectKey,
  TextObjectCategory,
  TextObjectType,
  WorkPermitLongText,
  MaintenancePlanningPlant,
  WorkPermitType,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM wrkpmttltxt_d
;