R_ProductionRoutingTP_2

DDL: R_PRODUCTIONROUTINGTP_2 Type: view_entity TRANSACTIONAL Package: VDM_PP_MD_RTG

Production Routing

R_ProductionRoutingTP_2 is a Transactional CDS View that provides data about "Production Routing" in SAP S/4HANA. It reads from 1 data source (I_ProductionRouting) and exposes 18 fields with key fields ProductionRoutingGroup, ProductionRouting. It has 3 associations to related views. Part of development package VDM_PP_MD_RTG.

Data Sources (1)

SourceAliasJoin Type
I_ProductionRouting I_ProductionRouting from

Associations (3)

CardinalityTargetAliasCondition
[1..*] R_ProductionRoutingHeaderTP_2 _Header
[0..*] R_ProdnRoutingMatlAssgmtTP_2 _MatlAssgmt
[1..*] R_ProdnRtgNonHistoricSqncTP_2 _NonSqnc

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Production Routing view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.representativeKey ProductionRouting view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.sapObjectNodeType.name ProductionRouting view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY ProductionRoutingGroup BillOfOperationsGroup Group
KEY ProductionRouting BillOfOperationsVariant Group Counter
BillOfOperationsVersionType BillOfOperationsVersionType Version Profile
BillOfOperationsSubtype BillOfOperationsSubtype Version Profile
LastUsageDate LastUsageDate Store Until
NumberOfUsages NumberOfUsages No. of Periods
HasChangeNumber HasChangeNumber Change no. ind.
HasParameterEffectivity HasParameterEffectivity Param.Eff.Ind.
LastChangeDate LastChangeDate Time Stamp
LastChangeTime LastChangeTime Time changed
LastChangedByUser LastChangedByUser User Name
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
RoutingIsReworkRouting RoutingIsReworkRouting Rework Routing
ProdnProcgIsFlexible ProdnProcgIsFlexible Flexible
clientNULLastzntstmpsasChangedDateTime
_Header _Header
_MatlAssgmt _MatlAssgmt
_NonSqnc _NonSqnc

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_ProductionRoutingTP_2.
-- 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_ProductionRoutingTP_2 AS
SELECT
  BillOfOperationsGroup AS ProductionRoutingGroup,
  BillOfOperationsVariant AS ProductionRouting,
  BillOfOperationsVersionType,
  BillOfOperationsSubtype,
  LastUsageDate,
  NumberOfUsages,
  HasChangeNumber,
  HasParameterEffectivity,
  LastChangeDate,
  LastChangeTime,
  LastChangedByUser,
  IsMarkedForDeletion,
  RoutingIsReworkRouting,
  ProdnProcgIsFlexible,
  cast( dats_tims_to_tstmp(I_ProductionRouting.LastChangeDate, LastChangeTime, abap_system_timezone($session.client, 'NULL'), $session.client, 'NULL') as tzntstmps ) as ChangedDateTime AS clientNULLastzntstmpsasChangedDateTime
FROM I_ProductionRouting
LEFT OUTER JOIN R_ProductionRoutingHeaderTP_2 AS _Header ON /* condition not available in parsed metadata */  -- association [1..*]
LEFT OUTER JOIN R_ProdnRoutingMatlAssgmtTP_2 AS _MatlAssgmt ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_ProdnRtgNonHistoricSqncTP_2 AS _NonSqnc ON /* condition not available in parsed metadata */  -- association [1..*]
;