R_WrkPmtTmplTechObjDraft

DDL: R_WRKPMTTMPLTECHOBJDRAFT Type: view_entity BASIC

Work Permit Tmpl Tech Obj Draft

R_WrkPmtTmplTechObjDraft is a Basic CDS View that provides data about "Work Permit Tmpl Tech Obj Draft" in SAP S/4HANA. It reads from 1 data source (wrkpmtttechobj_d) and exposes 21 fields with key fields WorkPermitInternalID, TechnicalObject, SftyCertItemCatType, DraftUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
wrkpmtttechobj_d wrkpmtttechobj_d from

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_WrkPmtTmplTechObjDraft _PermitTmplTechObjDExtension $projection.WorkPermitInternalID = _PermitTmplTechObjDExtension.WorkPermitInternalID and $projection.TechnicalObject = _PermitTmplTechObjDExtension.TechnicalObject and $projection.SftyCertItemCatType = _PermitTmplTechObjDExtension.SftyCertItemCatType and $projection.DraftUUID = _PermitTmplTechObjDExtension.DraftUUID

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Work Permit Tmpl Tech Obj 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 (21)

KeyFieldSource TableSource FieldDescription
KEY WorkPermitInternalID workpermitinternalid Object number
KEY TechnicalObject technicalobject Technical Object
KEY SftyCertItemCatType sftycertitemcattype Item Category
KEY DraftUUID draftuuid UUID
ParentDraftUUID parentdraftuuid NodeID
WorkPermit workpermit Application
MaintenancePlanningPlant maintenanceplanningplant Planning Plant
MaintenancePlant maintenanceplant Plant
TechObjIsEquipOrFuncnlLocDesc techobjisequiporfuncnllocdesc TObj.Type Desc.
TechnicalObjectLabel technicalobjectlabel Tech. Object
TechnicalObjectDescription technicalobjectdescription Tech. Obj. Desc
AssetLocation assetlocation Location
PlantSection plantsection Plant Section
MaintObjectInternalID maintobjectinternalid Object number
PlantName plantname Plant Name
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_WrkPmtTmplTechObjDraft.
-- 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_WrkPmtTmplTechObjDraft AS
SELECT
  WorkPermitInternalID,
  TechnicalObject,
  SftyCertItemCatType,
  DraftUUID,
  ParentDraftUUID,
  WorkPermit,
  MaintenancePlanningPlant,
  MaintenancePlant,
  TechObjIsEquipOrFuncnlLocDesc,
  TechnicalObjectLabel,
  TechnicalObjectDescription,
  AssetLocation,
  PlantSection,
  MaintObjectInternalID,
  PlantName,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM wrkpmtttechobj_d
LEFT OUTER JOIN E_WrkPmtTmplTechObjDraft AS _PermitTmplTechObjDExtension ON WorkPermitInternalID = _PermitTmplTechObjDExtension.WorkPermitInternalID AND TechnicalObject = _PermitTmplTechObjDExtension.TechnicalObject AND SftyCertItemCatType = _PermitTmplTechObjDExtension.SftyCertItemCatType AND DraftUUID = _PermitTmplTechObjDExtension.DraftUUID  -- association [0..1]
;