R_ProductionModelComponentTP

DDL: R_PRODUCTIONMODELCOMPONENTTP Type: view_entity TRANSACTIONAL

Production Model Component

R_ProductionModelComponentTP is a Transactional CDS View that provides data about "Production Model Component" in SAP S/4HANA. It reads from 1 data source (I_ProductionModelComponent) and exposes 126 fields with key fields ProductionModelUUID, BillOfOperationsVersion, ProductionModelComponentUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProductionModelComponent ProductionModelComponent from

Associations (3)

CardinalityTargetAliasCondition
[1..1] E_BillOfMaterialItemTP _BillOfMaterialItemExtension $projection.BillOfMaterial = _BillOfMaterialItemExtension.BillOfMaterial and $projection.BillOfMaterialCategory = _BillOfMaterialItemExtension.BillOfMaterialCategory and $projection.BillOfMaterialItemNodeNumber = _BillOfMaterialItemExtension.BillOfMaterialItemNodeNumber and $projection.BOMItemInternalChangeCount = _BillOfMaterialItemExtension.BOMItemInternalChangeCount
[0..1] R_ProdnModParamEffectivityTP _ParameterEffectivity _ParameterEffectivity.ProductionModelUUID = $projection.ProductionModelUUID and _ParameterEffectivity.BillOfOperationsVersion = $projection.BillOfOperationsVersion and _ParameterEffectivity.ParamEffctyObjectReferenceKey = $projection.ParamEffctyObjectReferenceKey and _ParameterEffectivity.ParamEffctyParentObjRefKey = $projection.ParamEffctyParentObjRefKey
[0..*] R_ProdnModComponentInstanceTP _HeaderComponentInstance

Annotations (11)

NameValueLevelField
EndUserText.label Production Model Component view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix PMC view
AbapCatalog.extensibility.quota.maximumFields 250 view
AbapCatalog.extensibility.quota.maximumBytes 2500 view

Fields (126)

KeyFieldSource TableSource FieldDescription
KEY ProductionModelUUID ProductionModelUUID Prodn Model UUID
KEY BillOfOperationsVersion BillOfOperationsVersion Routing Version
KEY ProductionModelComponentUUID ProductionModelComponentUUID Guid
BillOfMaterialCategory BillOfMaterialCategory BOM category
Material Material Vehicle Model
Plant Plant Valuation Area
BillOfMaterialVariantUsage BillOfMaterialVariantUsage Usage
BillOfMaterial BillOfMaterial BOM
BillOfMaterialVariant BillOfMaterialVariant AlternativeBOM
BillOfOperationsType BillOfOperationsType Task List Type
BillOfOperationsGroup BillOfOperationsGroup Group
BillOfOperationsVariant BillOfOperationsVariant Group Counter
BillOfMaterialItemNodeNumber BillOfMaterialItemNodeNumber Item node
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
EngineeringChangeDocument EngineeringChangeDocument Change Number
ChgToEngineeringChgDocument ChgToEngineeringChgDocument Change No. To
InheritedNodeNumberForBOMItem InheritedNodeNumberForBOMItem Nodes
InheritedNodeNumberVersionBOM InheritedNodeNumberVersionBOM Item node
BOMItemInternalChangeCount BOMItemInternalChangeCount Counter
BillOfMaterialComponent BillOfMaterialComponent Component
ComponentDescription ComponentDescription Item Text
BillOfMaterialItemCategory BillOfMaterialItemCategory Item Category
BillOfMaterialItemNumber BillOfMaterialItemNumber Item
BillOfMaterialItemUnit BillOfMaterialItemUnit Component UoM
BillOfMaterialItemQuantity BillOfMaterialItemQuantity Quantity
IsAssembly IsAssembly Single-Character Flag
IsSubItem IsSubItem Sub-item ID
IsDeleted IsDeleted TRUE
IdentifierBOMItem IdentifierBOMItem Item ID
BOMItemSorter BOMItemSorter Sort String
BOMItemHasFixedQuantity BOMItemHasFixedQuantity Fixed Quantity
ComponentScrapInPercent ComponentScrapInPercent Component Scrap
OperationScrapInPercent OperationScrapInPercent Operation Scrap
IsNetScrap IsNetScrap Net Indicator
IsBulkMaterial IsBulkMaterial Bulk material
IsBulkMaterialComponent IsBulkMaterialComponent Bulk material
ProductIsToBeDiscontinued ProductIsToBeDiscontinued
EffectiveOutDate EffectiveOutDate
FollowUpProduct FollowUpProduct
MaterialProvisionType MaterialProvisionType Material Provision Type
MatlComponentSparePartType MatlComponentSparePartType Spare Part ID
BOMItemSalesRelevancy BOMItemSalesRelevancy Sales
IsEngineeringRelevant IsEngineeringRelevant Engineering
BOMItemIsPlantMaintRelevant BOMItemIsPlantMaintRelevant Plant maint.
IsProductionRelevant IsProductionRelevant Production
MaterialCompCostingRelevancy MaterialCompCostingRelevancy CostingRelevncy
BOMIsRecursive BOMIsRecursive Recursive
IsBOMRecursiveAllowed IsBOMRecursiveAllowed Rec. allowed
FollowUpGroup FollowUpGroup Follow-up group
AlternativeItemGroup AlternativeItemGroup AltItemGroup
MaterialIsCoProduct MaterialIsCoProduct Co-product
AlternativeItemPriority AlternativeItemPriority Priority
AlternativeItemStrategy AlternativeItemStrategy Strategy
IsALE IsALE ALE indicator
UsageProbabilityPercent UsageProbabilityPercent Usage Prob.
IsPMAssemblyRelevant IsPMAssemblyRelevant PM assembly
DocumentIsCreatedByCAD DocumentIsCreatedByCAD CAD Indicator
DependencyObjectNumber DependencyObjectNumber Assgmt no.
DiscontinuationGroup DiscontinuationGroup Discont. group
LeadTimeOffset LeadTimeOffset Lead-tm offset
OperationLeadTimeOffset OperationLeadTimeOffset Oper. LT offset
OpsLeadTimeOffsetUnit OpsLeadTimeOffsetUnit Oper. LTO unit
DistrKeyCompConsumption DistrKeyCompConsumption Distribution
IsPhantomItem IsPhantomItem Phantom item
PurchasingGroup PurchasingGroup Purchasing Group
DeliveryDurationInDays DeliveryDurationInDays Del time (days)
Creditor Creditor Supplier
MaterialComponentPrice MaterialComponentPrice Price
Currency Currency Valuation Crcy
CostElement CostElement G/L Account
MaterialGroup MaterialGroup Product Group
GoodsReceiptDuration GoodsReceiptDuration GR proc. time
PurchasingOrganization PurchasingOrganization Purchasing Organization
PreliminaryMaterial PreliminaryMaterial Description
Size1 Size1 Size 1
Size2 Size2 Size 2
Size3 Size3 Size 3
UnitOfMeasureForSize1To3 UnitOfMeasureForSize1To3 Size unit
QuantityVariableSizeItem QuantityVariableSizeItem VSI Quantity
VariableSizeItemQuantity VariableSizeItemQuantity VSI Quantity
VariableSizeItemUnit VariableSizeItemUnit VSI unit
VariableSizeCompUnitOfMeasure VariableSizeCompUnitOfMeasure VSI unit
FormulaKey FormulaKey VSI Formula
BOMItemDescription BOMItemDescription Item Text
BOMItemText2 BOMItemText2 Item Text
DocumentType DocumentType Order Type
DocNumber DocNumber Document Number
DocumentVersion DocumentVersion Docu. Version
DocumentPart DocumentPart Document Part
ProdOrderIssueLocation ProdOrderIssueLocation StorageLocation
ProductionSupplyArea ProductionSupplyArea Supply Area
ExplosionType ExplosionType Explosion type
SpecialProcurementType SpecialProcurementType SpecProcurement
ReferencePoint ReferencePoint Reference point
BillOfMaterialItemObjectType BillOfMaterialItemObjectType Object Type
BOMItemRecordCreationDate BOMItemRecordCreationDate Created On
BOMItemCreatedByUser BOMItemCreatedByUser Created by
BOMItemLastChangeDate BOMItemLastChangeDate Changed On
BOMItemLastChangedByUser BOMItemLastChangedByUser Changed By
ParamEffctyObjectReferenceKey
ParamEffctyParentObjRefKey
ParamEffctyObjectType
BOMItemIsAlternativeItem BOMItemIsAlternativeItem
_BOMItemCategoryText _BOMItemCategoryText
_DistrKeyText _DistrKeyText
_ExplosionTypeText _ExplosionTypeText
_SpecialProcTypeText _SpecialProcTypeText
_AltItemStrategyText _AltItemStrategyText
_ReferencePointText _ReferencePointText
_CostingRelevantText _CostingRelevantText
_MatProvisionIndText _MatProvisionIndText
_IssueLocationText _IssueLocationText
_ProdSupplyAreaText _ProdSupplyAreaText
_SparePartText _SparePartText
_SalesRelevantText _SalesRelevantText
_PurchasingOrgText _PurchasingOrgText
_PurchasingGroupText _PurchasingGroupText
_MaterialGroupText _MaterialGroupText
_SupplierText _SupplierText
_CostElementText _CostElementText
_MaterialText _MaterialText
_ProductionModel _ProductionModel
_FollowUpProductText _FollowUpProductText
_HeaderComponentInstance _HeaderComponentInstance
_ParameterEffectivity _ParameterEffectivity

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_ProductionModelComponentTP.
-- 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_ProductionModelComponentTP AS
SELECT
  ProductionModelUUID,
  BillOfOperationsVersion,
  ProductionModelComponentUUID,
  BillOfMaterialCategory,
  Material,
  Plant,
  BillOfMaterialVariantUsage,
  BillOfMaterial,
  BillOfMaterialVariant,
  BillOfOperationsType,
  BillOfOperationsGroup,
  BillOfOperationsVariant,
  BillOfMaterialItemNodeNumber,
  ValidityStartDate,
  ValidityEndDate,
  EngineeringChangeDocument,
  ChgToEngineeringChgDocument,
  InheritedNodeNumberForBOMItem,
  InheritedNodeNumberVersionBOM,
  BOMItemInternalChangeCount,
  BillOfMaterialComponent,
  ComponentDescription,
  BillOfMaterialItemCategory,
  BillOfMaterialItemNumber,
  BillOfMaterialItemUnit,
  BillOfMaterialItemQuantity,
  IsAssembly,
  IsSubItem,
  IsDeleted,
  IdentifierBOMItem,
  BOMItemSorter,
  BOMItemHasFixedQuantity,
  ComponentScrapInPercent,
  OperationScrapInPercent,
  IsNetScrap,
  IsBulkMaterial,
  IsBulkMaterialComponent,
  ProductIsToBeDiscontinued,
  EffectiveOutDate,
  FollowUpProduct,
  MaterialProvisionType,
  MatlComponentSparePartType,
  BOMItemSalesRelevancy,
  IsEngineeringRelevant,
  BOMItemIsPlantMaintRelevant,
  IsProductionRelevant,
  MaterialCompCostingRelevancy,
  BOMIsRecursive,
  IsBOMRecursiveAllowed,
  FollowUpGroup,
  AlternativeItemGroup,
  MaterialIsCoProduct,
  AlternativeItemPriority,
  AlternativeItemStrategy,
  IsALE,
  UsageProbabilityPercent,
  IsPMAssemblyRelevant,
  DocumentIsCreatedByCAD,
  DependencyObjectNumber,
  DiscontinuationGroup,
  LeadTimeOffset,
  OperationLeadTimeOffset,
  OpsLeadTimeOffsetUnit,
  DistrKeyCompConsumption,
  IsPhantomItem,
  PurchasingGroup,
  DeliveryDurationInDays,
  Creditor,
  MaterialComponentPrice,
  Currency,
  CostElement,
  MaterialGroup,
  GoodsReceiptDuration,
  PurchasingOrganization,
  PreliminaryMaterial,
  Size1,
  Size2,
  Size3,
  UnitOfMeasureForSize1To3,
  QuantityVariableSizeItem,
  VariableSizeItemQuantity,
  VariableSizeItemUnit,
  VariableSizeCompUnitOfMeasure,
  FormulaKey,
  BOMItemDescription,
  BOMItemText2,
  DocumentType,
  DocNumber,
  DocumentVersion,
  DocumentPart,
  ProdOrderIssueLocation,
  ProductionSupplyArea,
  ExplosionType,
  SpecialProcurementType,
  ReferencePoint,
  BillOfMaterialItemObjectType,
  BOMItemRecordCreationDate,
  BOMItemCreatedByUser,
  BOMItemLastChangeDate,
  BOMItemLastChangedByUser,
  cast(bintohex(ProductionModelComponentUUID) as char60 ) AS ParamEffctyObjectReferenceKey,
  cast(concat(bintohex(ProductionModelUUID), BillOfOperationsVersion) as char60) AS ParamEffctyParentObjRefKey,
  cast('COMPONENT' as char20) AS ParamEffctyObjectType,
  BOMItemIsAlternativeItem
FROM I_ProductionModelComponent AS ProductionModelComponent
LEFT OUTER JOIN E_BillOfMaterialItemTP AS _BillOfMaterialItemExtension ON BillOfMaterial = _BillOfMaterialItemExtension.BillOfMaterial AND BillOfMaterialCategory = _BillOfMaterialItemExtension.BillOfMaterialCategory AND BillOfMaterialItemNodeNumber = _BillOfMaterialItemExtension.BillOfMaterialItemNodeNumber AND BOMItemInternalChangeCount = _BillOfMaterialItemExtension.BOMItemInternalChangeCount  -- association [1..1]
LEFT OUTER JOIN R_ProdnModParamEffectivityTP AS _ParameterEffectivity ON _ParameterEffectivity.ProductionModelUUID = ProductionModelUUID AND _ParameterEffectivity.BillOfOperationsVersion = BillOfOperationsVersion AND _ParameterEffectivity.ParamEffctyObjectReferenceKey = ParamEffctyObjectReferenceKey AND _ParameterEffectivity.ParamEffctyParentObjRefKey = ParamEffctyParentObjRefKey  -- association [0..1]
LEFT OUTER JOIN R_ProdnModComponentInstanceTP AS _HeaderComponentInstance ON /* condition not available in parsed metadata */  -- association [0..*]
;