R_WrkPmtTechnicalObjectDraft

DDL: R_WRKPMTTECHNICALOBJECTDRAFT Type: view_entity BASIC Package: VDM_EAM_WCM_PERMIT_TO_WORK

Work Permit Tech Obj Draft

R_WrkPmtTechnicalObjectDraft is a Basic CDS View that provides data about "Work Permit Tech Obj Draft" in SAP S/4HANA. It reads from 1 data source (wrkpmttechobj_d) and exposes 23 fields with key fields WorkPermitInternalID, TechnicalObject, SftyCertItemCatType, DraftUUID. It has 1 association to related views. Part of development package VDM_EAM_WCM_PERMIT_TO_WORK.

Data Sources (1)

SourceAliasJoin Type
wrkpmttechobj_d wrkpmttechobj_d from

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_WrkPmtTechnicalObjectDraft _WorkPermitTechObjDExtension $projection.WorkPermitInternalID = _WorkPermitTechObjDExtension.WorkPermitInternalID and $projection.TechnicalObject = _WorkPermitTechObjDExtension.TechnicalObject and $projection.SftyCertItemCatType = _WorkPermitTechObjDExtension.SftyCertItemCatType and $projection.DraftUUID = _WorkPermitTechObjDExtension.DraftUUID

Annotations (8)

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

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
TechObjIsEquipOrFuncnlLoc techobjisequiporfuncnlloc Tech. Obj. Type
TechnicalObjectDescription technicalobjectdescription Tech. Obj. Desc
AssetLocation assetlocation Location
PlantSection plantsection Plant Section
TechObjCnctntdActvSystSts techobjcnctntdactvsyststs Concatenated System Status
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_WrkPmtTechnicalObjectDraft.
-- 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_WrkPmtTechnicalObjectDraft AS
SELECT
  WorkPermitInternalID,
  TechnicalObject,
  SftyCertItemCatType,
  DraftUUID,
  ParentDraftUUID,
  WorkPermit,
  MaintenancePlanningPlant,
  MaintenancePlant,
  TechObjIsEquipOrFuncnlLocDesc,
  TechnicalObjectLabel,
  TechObjIsEquipOrFuncnlLoc,
  TechnicalObjectDescription,
  AssetLocation,
  PlantSection,
  TechObjCnctntdActvSystSts,
  MaintObjectInternalID,
  PlantName,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM wrkpmttechobj_d
LEFT OUTER JOIN E_WrkPmtTechnicalObjectDraft AS _WorkPermitTechObjDExtension ON WorkPermitInternalID = _WorkPermitTechObjDExtension.WorkPermitInternalID AND TechnicalObject = _WorkPermitTechObjDExtension.TechnicalObject AND SftyCertItemCatType = _WorkPermitTechObjDExtension.SftyCertItemCatType AND DraftUUID = _WorkPermitTechObjDExtension.DraftUUID  -- association [0..1]
;