R_ProductionModelTP

DDL: R_PRODUCTIONMODELTP Type: view_entity TRANSACTIONAL

Production Model Header

R_ProductionModelTP is a Transactional CDS View that provides data about "Production Model Header" in SAP S/4HANA. It reads from 1 data source (I_ProductionModel) and exposes 34 fields with key fields ProductionModelUUID, BillOfOperationsVersion. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProductionModel I_ProductionModel from

Associations (2)

CardinalityTargetAliasCondition
[0..*] R_ProductionModelComponentTP _HeaderComponent
[0..*] R_ProductionModelOperationTP _Operation

Annotations (8)

NameValueLevelField
ObjectModel.sapObjectNodeType.name ProductionModel view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
EndUserText.label Production Model Header view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY ProductionModelUUID ProductionModelUUID
KEY BillOfOperationsVersion BillOfOperationsVersion
ProductionModelProcessType ProductionModelProcessType
ProdnModComplexAssemblyType ProdnModComplexAssemblyType
Material Material
BillOfMaterial BillOfMaterial
BillOfMaterialVariant BillOfMaterialVariant
BillOfMaterialCategory BillOfMaterialCategory
BillOfMaterialVariantUsage BillOfMaterialVariantUsage
BillOfMaterialVersion BillOfMaterialVersion
BOMVersionStatus BOMVersionStatus
Plant Plant
BillOfOperationsType BillOfOperationsType
BillOfOperationsGroup BillOfOperationsGroup
BillOfOperationsVariant BillOfOperationsVariant
SalesOrder SalesOrder
SalesOrderItem SalesOrderItem
BillOfOperationsVersionStatus BillOfOperationsVersionStatus
ProdnModelVersionIsLatest ProdnModelVersionIsLatest
ProdnModelVersionIsActive ProdnModelVersionIsActive
IsLatestBOOVersion IsLatestBOOVersion
ProdnModelCreationDateTime ProdnModelCreationDateTime
ProductionModelCreatedByUser ProductionModelCreatedByUser
ProdnModelChangedDateTime ProdnModelChangedDateTime
ProductionModelChangedByUser ProductionModelChangedByUser
_HeaderComponent _HeaderComponent
_Operation _Operation
_Plant _Plant
_MaterialText _MaterialText
_BOOVersionStatusText _BOOVersionStatusText
_BOMVersStatusText _BOMVersStatusText
_BOMUsageText _BOMUsageText
_BOOTypeText _BOOTypeText
_SalesDocumentItemText _SalesDocumentItemText
@ObjectModel.sapObjectNodeType.name: 'ProductionModel'
@AccessControl.authorizationCheck: #MANDATORY
@VDM.viewType: #TRANSACTIONAL
@EndUserText.label: 'Production Model Header'
@VDM.usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE]
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel.usageType:{
  serviceQuality: #C,
  sizeCategory: #L,
  dataClass: #TRANSACTIONAL
}
define root view entity R_ProductionModelTP
  as select from I_ProductionModel
  composition [0..*] of R_ProductionModelComponentTP as _HeaderComponent
  composition [0..*] of R_ProductionModelOperationTP as _Operation

{
  key    ProductionModelUUID,
  key    BillOfOperationsVersion,
         ProductionModelProcessType,
         ProdnModComplexAssemblyType,
         Material,
         BillOfMaterial,
         BillOfMaterialVariant,
         BillOfMaterialCategory,
         BillOfMaterialVariantUsage,
         BillOfMaterialVersion,
         BOMVersionStatus,
         Plant,
         BillOfOperationsType,
         BillOfOperationsGroup,
         BillOfOperationsVariant,
         //      BillOfOperationsVersion,

         SalesOrder,
         SalesOrderItem,
         BillOfOperationsVersionStatus,
         ProdnModelVersionIsLatest,
         ProdnModelVersionIsActive,
         IsLatestBOOVersion,
         ProdnModelCreationDateTime,
         ProductionModelCreatedByUser,
         ProdnModelChangedDateTime,
         ProductionModelChangedByUser,
         //Compositions

         _HeaderComponent,
         _Operation,
         _Plant,
         _MaterialText,
         _BOOVersionStatusText,
         _BOMVersStatusText,
         _BOMUsageText,
         _BOOTypeText,
         _SalesDocumentItemText

}