P_ProdnRoutingOpSubordOpDEX
P_ProdnRoutingOpSubordOpDEX is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (plpo) and exposes 156 fields with key fields BillOfOperationsType, ProductionRoutingGroup, ProductionRoutingOpIntID, ProductionRoutingOpIntVersion. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| plpo | plpo | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BillOfOperationsType | _BillOfOperationsType | $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType |
| [1..1] | I_BillOfOperationsGroup | _BillOfOperationsGroup | $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.ProductionRoutingGroup = _BillOfOperationsGroup.BillOfOperationsGroup |
| [1..1] | I_BOOOperationInternalID | _BOOOperationInternalID | $projection.BillOfOperationsType = _BOOOperationInternalID.BillOfOperationsType and $projection.ProductionRoutingGroup = _BOOOperationInternalID.BillOfOperationsGroup and $projection.ProductionRoutingOpIntID = _BOOOperationInternalID.BOOOperationInternalID |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ObjectModel.representativeKey | ProductionRoutingOpIntVersion | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| Analytics.internalName | #LOCAL | view |
Fields (156)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillOfOperationsType | plnty | Task List Type | |
| KEY | ProductionRoutingGroup | plnnr | Task List Group | |
| KEY | ProductionRoutingOpIntID | plnkn | Task list node | |
| KEY | ProductionRoutingOpIntVersion | zaehl | Sort pos. | |
| BillOfOperationsVersion | versn | Version | ||
| WorkCenterInternalID | arbid | WorkCtrGp plan. | ||
| IsDeleted | loekz | Status | ||
| IsImplicitlyDeleted | loekz_inherited | Deletion Ind. | ||
| SuperiorOperationInternalID | sumnr | Sup. Op. Node | ||
| BOORefOperationIncrementValue | vintv | Op. increment | ||
| OperationExternalID | oprid | Ext. Oper. ID | ||
| Operation | Operation | |||
| Operationltxa1asOperationText | ||||
| LongTextLanguageCode | txtsp | Language | ||
| Plant | werks | Receiving Plant | ||
| OperationControlProfile | steus | Control Key | ||
| OperationStandardTextCode | ktsch | Std Text Key | ||
| OriginvpltyasBillOfOperationsRefType | ||||
| BillOfOperationsRefGroup | Ref. group | |||
| BillOfOperationsRefVariant | Ref. group cntr | |||
| OrderHasNoSubOperations | uavo_aufl | No Suboperations | ||
| OperationUnit | meinh | Unit of Measure | ||
| OpQtyToBaseQtyNmrtr | umrez | Numerator | ||
| OpQtyToBaseQtyDnmntr | umren | Denominator | ||
| BillOfOperationsBreakDuration | zmerh | Break Time | ||
| BillOfOperationsBreakDurnUnit | zeier | Break Time Unit | ||
| StandardWorkQuantity1 | vgw01 | Standard Value | ||
| StandardWorkQuantityUnit1 | vge01 | Std value unit | ||
| CostCtrActivityType1 | lar01 | Activity Type | ||
| PerfEfficiencyRatioCode1 | zgr01 | Efficiency rate | ||
| StandardWorkQuantity2 | vgw02 | Standard Value | ||
| StandardWorkQuantityUnit2 | vge02 | Std value unit | ||
| CostCtrActivityType2 | lar02 | Activity Type | ||
| PerfEfficiencyRatioCode2 | zgr02 | Efficiency rate | ||
| StandardWorkQuantity3 | vgw03 | Standard Value | ||
| StandardWorkQuantityUnit3 | vge03 | Std value unit | ||
| CostCtrActivityType3 | lar03 | Activity Type | ||
| PerfEfficiencyRatioCode3 | zgr03 | Efficiency rate | ||
| StandardWorkQuantity4 | vgw04 | Standard Value | ||
| StandardWorkQuantityUnit4 | vge04 | Std value unit | ||
| CostCtrActivityType4 | lar04 | Activity Type | ||
| PerfEfficiencyRatioCode4 | zgr04 | Efficiency rate | ||
| StandardWorkQuantity5 | vgw05 | Standard Value | ||
| StandardWorkQuantityUnit5 | vge05 | Std value unit | ||
| CostCtrActivityType5 | lar05 | Activity Type | ||
| PerfEfficiencyRatioCode5 | zgr05 | Efficiency rate | ||
| StandardWorkQuantity6 | vgw06 | Standard Value | ||
| StandardWorkQuantityUnit6 | vge06 | Std value unit | ||
| CostCtrActivityType6 | lar06 | Activity Type | ||
| PerfEfficiencyRatioCode6 | zgr06 | Efficiency rate | ||
| BusinessProcess | prz01 | Business Process | ||
| TeardownAndWaitIsParallel | ablipkz | Teardown/Wait Par. | ||
| MaximumWaitDuration | zlmax | Max. Wait Time | ||
| MaximumWaitDurationUnit | zeilm | Max. Wait Unit | ||
| MinimumWaitDuration | zlpro | Min. Wait Time | ||
| MinimumWaitDurationUnit | zeilp | Req. Wait Unit | ||
| StandardQueueDuration | zwnor | Std Queue Time | ||
| StandardQueueDurationUnit | zeiwn | Std Queue Unit | ||
| MinimumQueueDuration | zwmin | Min. Queue Time | ||
| MinimumQueueDurationUnit | zeiwm | Min. Queue Unit | ||
| StandardMoveDuration | ztnor | Std Move Time | ||
| StandardMoveDurationUnit | zeitn | StdMoveTime Un | ||
| MinimumMoveDuration | ztmin | Min. Move Time | ||
| MinimumMoveDurationUnit | zeitm | MinMoveTime Un | ||
| SplittingspmusasOperationSplitIsRequired | ||||
| MaximumNumberOfSplits | No. of Splits | |||
| MinProcessingDurationPerSplit | zminb | Min. Proc. Time | ||
| MinProcessingDurnPerSplitUnit | zeimb | Min. Proc. Time | ||
| OperationOverlappingIsPossible | Opt.Overlapping | |||
| OperationsIsAlwaysOverlapping | flies | Flow Manufact. | ||
| OverlapMinimumDuration | zminu | Minimum Overlap | ||
| OverlapMinimumDurationUnit | zeimu | Min.Overlap Tme | ||
| OverlapMinimumTransferQty | minwe | Min. Send-Ahead | ||
| OverlapMinimumTransferQtyUnit | meinh | Unit of Measure | ||
| StartDateOffsetDuration | offstb | Offset | ||
| EndDateOffsetDurationUnit | ehoffe | Unit | ||
| EndDateOffsetDuration | offste | Offset to finsh | ||
| GeneralDataaufakasOperationScrapPercent | ||||
| NumberOfTimeTickets | loanz | No.TimeTickets | ||
| NumberOfConfirmationSlips | rsanz | No. of Conf. Slips | ||
| EmployeeWageGroup | logrp | Wage Group | ||
| EmployeeWageType | loart | Wage type | ||
| EmployeeSuitability | qualf | Suitability | ||
| NumberOfEmployees | anzma | No. employees | ||
| OperationSetupType | rasch | Setup Type Key | ||
| OperationSetupGroupCategory | rfgrp | Setup group cat | ||
| OperationSetupGroup | rfsch | Setup group key | ||
| OperationCostingRelevancyType | CostingRelevncy | |||
| IsNonValueAddedOperation | nvadd | Non-Value-Added | ||
| PurchasingInfoRecord | infnr | Info Record | ||
| PurchasingOrganization | ekorg | Purchasing Org. | ||
| PurchaseContract | ebeln | Source PurchDoc | ||
| PurchaseContractItem | ebelp | Item pur. doc. | ||
| PurchasingInfoRecdAddlGrpgName | sortl | Sort Term | ||
| MaterialGroup | matkl | Product Sold Group | ||
| PurchasingGroup | ekgrp | Sub. purchasing grp | ||
| Supplier | lifnr | Vendor no. | ||
| PlannedDeliveryDuration | plifz | Plnd Deliv.Time | ||
| NumberOfOperationPriceUnits | peinh | Unit of measure | ||
| OpExternalProcessingPrice | preis | Valuation Price | ||
| InspectionLotType | qpart | Inspection Type | ||
| CostElement | sakto | G/L Account | ||
| OpExternalProcessingCurrency | waers | Transaction Currency | ||
| CapacityCategoryCode | qlkapar | Capacity cat. | ||
| BOOOperationIsPhase | phflg | Ind.: Phase | ||
| BOOPhaseSuperiorOpInternalID | pvzkn | Node | ||
| ControlRecipeDestination | phseq | CtrlRec.Destin. | ||
| MinimumDuration | daumi | Min. duration | ||
| MinimumDurationUnit | daume | Min. dur. unit | ||
| OperationWorkPercent | prznt | Time interval % | ||
| CapRqmtsDistributionFunction | vertl | Int. dist. key | ||
| CompanyCode | bukrs | Value | ||
| FactoryCalendar | kalid | Pub.hol.cal.ID | ||
| CapacityRequirementDistrKey | vertn | Int. dist. key | ||
| InspSbstHasNoTimeOrQuantity | qkzprfrei | No Reference | ||
| OperationStandardDuration | plpo | dauno | Normal duration | |
| OperationStandardDurationUnit | plpo | daune | Norm.duratn un. | |
| NumberOfCapacities | plpo | anzzl | Number | |
| OperationSystemCondition | plpo | anlzu | SystemCondition | |
| CostCtrActivityType | plpo | larnt | Activity Type | |
| OperationCalculationControl | plpo | indet | Calculation key | |
| Assembly | plpo | istru | Assembly | |
| PurchaseOrderQty | plpo | bmvrg | Order quantity | |
| PurchaseOrderQuantityUnit | plpo | bmeih | Unit | |
| PurchasingInfoRecordCategory | plpo | esokz | Infotype | |
| FunctionalLocation | plpo | tplnr | Functional loc. | |
| Equipment | plpo | equnr | Equipment | |
| FreeDefinedTableFieldSemantic | slwid | Field key PS | ||
| FreeDefinedAttribute01 | usr00 | User field 20 | ||
| FreeDefinedAttribute02 | usr01 | User group | ||
| FreeDefinedAttribute03 | usr02 | User-Def. Field | ||
| FreeDefinedAttribute04 | usr03 | User-Def. Field | ||
| FreeDefinedQuantity1 | usr04 | User field qty. | ||
| FreeDefinedQuantity1Unit | use04 | User field unit | ||
| FreeDefinedQuantity2 | usr05 | User field qty. | ||
| FreeDefinedQuantity2Unit | use05 | User field unit | ||
| FreeDefinedAmount1 | usr06 | User fld 7-amt | ||
| FreeDefinedAmount1Currency | use06 | UserFld 7 crncy | ||
| FreeDefinedAmount2 | usr07 | User fld 8-amt | ||
| FreeDefinedAmount2Currency | use07 | User field unit | ||
| FreeDefinedDate1 | usr08 | User field date | ||
| FreeDefinedDate2 | usr09 | User field date | ||
| FreeDefinedIndicator1 | usr10 | User field ind. | ||
| FreeDefinedIndicator2 | usr11 | User field ind. | ||
| MaintOperationExecStageCode | ||||
| AdministrativeDataandatasCreationDate | ||||
| CreatedByUser | Created By | |||
| LastChangeDate | aedat | Obsolete | ||
| LastChangedByUser | User Name | |||
| ValidityStartDate | Valid-from date | |||
| ValidityEndDate | Validity End Time | |||
| OpPlannedWorkQuantity | arbei | Work | ||
| OpWorkQuantityUnit | arbeh | Unit for work | ||
| _BOOOperationInternalID | _BOOOperationInternalID | |||
| _BillOfOperationsGroup | _BillOfOperationsGroup | |||
| _BillOfOperationsType | _BillOfOperationsType |
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 P_ProdnRoutingOpSubordOpDEX.
-- 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 P_ProdnRoutingOpSubordOpDEX AS
SELECT
plnty AS BillOfOperationsType,
plnnr AS ProductionRoutingGroup,
plnkn AS ProductionRoutingOpIntID,
zaehl AS ProductionRoutingOpIntVersion,
versn AS BillOfOperationsVersion,
arbid AS WorkCenterInternalID,
loekz AS IsDeleted,
loekz_inherited AS IsImplicitlyDeleted,
sumnr AS SuperiorOperationInternalID,
vintv AS BOORefOperationIncrementValue,
oprid AS OperationExternalID,
cast(vornr as vdm_vornr preserving type) AS Operation,
txtsp AS LongTextLanguageCode,
werks AS Plant,
steus AS OperationControlProfile,
ktsch AS OperationStandardTextCode,
cast (vplnr as billofoperationsrefgroup preserving type) AS BillOfOperationsRefGroup,
cast (vplal as billofoperationsrefvariant preserving type) AS BillOfOperationsRefVariant,
uavo_aufl AS OrderHasNoSubOperations,
meinh AS OperationUnit,
umrez AS OpQtyToBaseQtyNmrtr,
umren AS OpQtyToBaseQtyDnmntr,
zmerh AS BillOfOperationsBreakDuration,
zeier AS BillOfOperationsBreakDurnUnit,
vgw01 AS StandardWorkQuantity1,
vge01 AS StandardWorkQuantityUnit1,
lar01 AS CostCtrActivityType1,
zgr01 AS PerfEfficiencyRatioCode1,
vgw02 AS StandardWorkQuantity2,
vge02 AS StandardWorkQuantityUnit2,
lar02 AS CostCtrActivityType2,
zgr02 AS PerfEfficiencyRatioCode2,
vgw03 AS StandardWorkQuantity3,
vge03 AS StandardWorkQuantityUnit3,
lar03 AS CostCtrActivityType3,
zgr03 AS PerfEfficiencyRatioCode3,
vgw04 AS StandardWorkQuantity4,
vge04 AS StandardWorkQuantityUnit4,
lar04 AS CostCtrActivityType4,
zgr04 AS PerfEfficiencyRatioCode4,
vgw05 AS StandardWorkQuantity5,
vge05 AS StandardWorkQuantityUnit5,
lar05 AS CostCtrActivityType5,
zgr05 AS PerfEfficiencyRatioCode5,
vgw06 AS StandardWorkQuantity6,
vge06 AS StandardWorkQuantityUnit6,
lar06 AS CostCtrActivityType6,
zgr06 AS PerfEfficiencyRatioCode6,
prz01 AS BusinessProcess,
ablipkz AS TeardownAndWaitIsParallel,
zlmax AS MaximumWaitDuration,
zeilm AS MaximumWaitDurationUnit,
zlpro AS MinimumWaitDuration,
zeilp AS MinimumWaitDurationUnit,
zwnor AS StandardQueueDuration,
zeiwn AS StandardQueueDurationUnit,
zwmin AS MinimumQueueDuration,
zeiwm AS MinimumQueueDurationUnit,
ztnor AS StandardMoveDuration,
zeitn AS StandardMoveDurationUnit,
ztmin AS MinimumMoveDuration,
zeitm AS MinimumMoveDurationUnit,
cast (splim as maximumnumberofsplits preserving type) AS MaximumNumberOfSplits,
zminb AS MinProcessingDurationPerSplit,
zeimb AS MinProcessingDurnPerSplitUnit,
cast (uekan as operationoverlappingispossible preserving type) AS OperationOverlappingIsPossible,
flies AS OperationsIsAlwaysOverlapping,
zminu AS OverlapMinimumDuration,
zeimu AS OverlapMinimumDurationUnit,
minwe AS OverlapMinimumTransferQty,
meinh AS OverlapMinimumTransferQtyUnit,
offstb AS StartDateOffsetDuration,
ehoffe AS EndDateOffsetDurationUnit,
offste AS EndDateOffsetDuration,
loanz AS NumberOfTimeTickets,
rsanz AS NumberOfConfirmationSlips,
logrp AS EmployeeWageGroup,
loart AS EmployeeWageType,
qualf AS EmployeeSuitability,
anzma AS NumberOfEmployees,
rasch AS OperationSetupType,
rfgrp AS OperationSetupGroupCategory,
rfsch AS OperationSetupGroup,
cast (ckselkz as operationcostingrelevancytype preserving type) AS OperationCostingRelevancyType,
nvadd AS IsNonValueAddedOperation,
infnr AS PurchasingInfoRecord,
ekorg AS PurchasingOrganization,
ebeln AS PurchaseContract,
ebelp AS PurchaseContractItem,
sortl AS PurchasingInfoRecdAddlGrpgName,
matkl AS MaterialGroup,
ekgrp AS PurchasingGroup,
lifnr AS Supplier,
plifz AS PlannedDeliveryDuration,
peinh AS NumberOfOperationPriceUnits,
preis AS OpExternalProcessingPrice,
qpart AS InspectionLotType,
sakto AS CostElement,
waers AS OpExternalProcessingCurrency,
qlkapar AS CapacityCategoryCode,
phflg AS BOOOperationIsPhase,
pvzkn AS BOOPhaseSuperiorOpInternalID,
phseq AS ControlRecipeDestination,
daumi AS MinimumDuration,
daume AS MinimumDurationUnit,
prznt AS OperationWorkPercent,
vertl AS CapRqmtsDistributionFunction,
bukrs AS CompanyCode,
kalid AS FactoryCalendar,
vertn AS CapacityRequirementDistrKey,
qkzprfrei AS InspSbstHasNoTimeOrQuantity,
plpo.dauno AS OperationStandardDuration,
plpo.daune AS OperationStandardDurationUnit,
plpo.anzzl AS NumberOfCapacities,
plpo.anlzu AS OperationSystemCondition,
plpo.larnt AS CostCtrActivityType,
plpo.indet AS OperationCalculationControl,
plpo.istru AS Assembly,
plpo.bmvrg AS PurchaseOrderQty,
plpo.bmeih AS PurchaseOrderQuantityUnit,
plpo.esokz AS PurchasingInfoRecordCategory,
plpo.tplnr AS FunctionalLocation,
plpo.equnr AS Equipment,
slwid AS FreeDefinedTableFieldSemantic,
usr00 AS FreeDefinedAttribute01,
usr01 AS FreeDefinedAttribute02,
usr02 AS FreeDefinedAttribute03,
usr03 AS FreeDefinedAttribute04,
usr04 AS FreeDefinedQuantity1,
use04 AS FreeDefinedQuantity1Unit,
usr05 AS FreeDefinedQuantity2,
use05 AS FreeDefinedQuantity2Unit,
usr06 AS FreeDefinedAmount1,
use06 AS FreeDefinedAmount1Currency,
usr07 AS FreeDefinedAmount2,
use07 AS FreeDefinedAmount2Currency,
usr08 AS FreeDefinedDate1,
usr09 AS FreeDefinedDate2,
usr10 AS FreeDefinedIndicator1,
usr11 AS FreeDefinedIndicator2,
cast( plpo.execution_stage as eam_premainpost_cds preserving type ) AS MaintOperationExecStageCode,
cast (annam as vdm_createdbyuserid preserving type) AS CreatedByUser,
aedat AS LastChangeDate,
cast (aenam as vdm_lastchangedbyuserid preserving type) AS LastChangedByUser,
cast(datuv as pph_begda preserving type) AS ValidityStartDate,
cast(valid_to as pph_endda preserving type) AS ValidityEndDate,
arbei AS OpPlannedWorkQuantity,
arbeh AS OpWorkQuantityUnit
FROM plpo
LEFT OUTER JOIN I_BillOfOperationsType AS _BillOfOperationsType ON BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsGroup AS _BillOfOperationsGroup ON BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType AND ProductionRoutingGroup = _BillOfOperationsGroup.BillOfOperationsGroup -- association [1..1]
LEFT OUTER JOIN I_BOOOperationInternalID AS _BOOOperationInternalID ON BillOfOperationsType = _BOOOperationInternalID.BillOfOperationsType AND ProductionRoutingGroup = _BOOOperationInternalID.BillOfOperationsGroup AND ProductionRoutingOpIntID = _BOOOperationInternalID.BOOOperationInternalID -- association [1..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