R_WrkPmtTmplTechnicalObjectTP

DDL: R_WRKPMTTMPLTECHNICALOBJECTTP Type: view_entity TRANSACTIONAL Package: VDM_EAM_WCM_PERMIT_TO_WORK

Work Permit Template Technical Object

R_WrkPmtTmplTechnicalObjectTP is a Transactional CDS View that provides data about "Work Permit Template Technical Object" in SAP S/4HANA. It reads from 1 data source (I_WorkPermitTechnicalObject) and exposes 13 fields with key fields WorkPermitInternalID, TechnicalObject, SftyCertItemCatType. It has 1 association to related views. Part of development package VDM_EAM_WCM_PERMIT_TO_WORK.

Data Sources (1)

SourceAliasJoin Type
I_WorkPermitTechnicalObject _WorkPermitTechnicalObject from

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_WrkPmtTmplTechnicalObject _PermitTmplTechObjExtension $projection.WorkPermitInternalID = _PermitTmplTechObjExtension.WorkPermitInternalID and $projection.TechnicalObject = _PermitTmplTechObjExtension.TechnicalObject and $projection.SftyCertItemCatType = _PermitTmplTechObjExtension.SftyCertItemCatType

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Work Permit Template Technical Object view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY WorkPermitInternalID I_WorkPermitTechnicalObject WorkPermitInternalID Object number
KEY TechnicalObject I_WorkPermitTechnicalObject TechnicalObject Technical Object
KEY SftyCertItemCatType I_WorkPermitTechnicalObject SftyCertItemCatType Item Category
WorkPermit I_WorkPermitTechnicalObject WorkPermit Application
MaintenancePlanningPlant I_WorkPermitTechnicalObject MaintenancePlanningPlant Planning Plant
MaintenancePlant
PlantName
TechObjIsEquipOrFuncnlLocDesc I_WorkPermitTechnicalObject TechObjIsEquipOrFuncnlLocDesc TObj.Type Desc.
TechnicalObjectDescription _TechnicalObject TechnicalObjectDescription Tech. Obj. Desc
AssetLocation
PlantSection
MaintObjectInternalID _TechnicalObject MaintObjectInternalID Object number
_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_WrkPmtTmplTechnicalObjectTP.
-- 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_WrkPmtTmplTechnicalObjectTP AS
SELECT
  _WorkPermitTechnicalObject.WorkPermitInternalID AS WorkPermitInternalID,
  _WorkPermitTechnicalObject.TechnicalObject AS TechnicalObject,
  _WorkPermitTechnicalObject.SftyCertItemCatType AS SftyCertItemCatType,
  _WorkPermitTechnicalObject.WorkPermit AS WorkPermit,
  _WorkPermitTechnicalObject.MaintenancePlanningPlant AS MaintenancePlanningPlant,
  _TechnicalObject._LocationAccountAssignment.MaintenancePlant AS MaintenancePlant,
  _TechnicalObject._LocationAccountAssignment._MaintenancePlant.PlantName AS PlantName,
  _WorkPermitTechnicalObject.TechObjIsEquipOrFuncnlLocDesc AS TechObjIsEquipOrFuncnlLocDesc,
  _TechnicalObject.TechnicalObjectDescription AS TechnicalObjectDescription,
  _TechnicalObject._LocationAccountAssignment.AssetLocation AS AssetLocation,
  _TechnicalObject._LocationAccountAssignment.PlantSection AS PlantSection,
  _TechnicalObject.MaintObjectInternalID AS MaintObjectInternalID
FROM I_WorkPermitTechnicalObject AS _WorkPermitTechnicalObject
LEFT OUTER JOIN E_WrkPmtTmplTechnicalObject AS _PermitTmplTechObjExtension ON WorkPermitInternalID = _PermitTmplTechObjExtension.WorkPermitInternalID AND TechnicalObject = _PermitTmplTechObjExtension.TechnicalObject AND SftyCertItemCatType = _PermitTmplTechObjExtension.SftyCertItemCatType  -- association [0..1]
;