R_WrkPmtTmplTechnicalObjectTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkPermitTechnicalObject | _WorkPermitTechnicalObject | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_WrkPmtTmplTechnicalObject | _PermitTmplTechObjExtension | $projection.WorkPermitInternalID = _PermitTmplTechObjExtension.WorkPermitInternalID and $projection.TechnicalObject = _PermitTmplTechObjExtension.TechnicalObject and $projection.SftyCertItemCatType = _PermitTmplTechObjExtension.SftyCertItemCatType |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA