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 29 fields with key field ProductionModelUUID. 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 (29)

KeyFieldSource TableSource FieldDescription
KEY ProductionModelUUID ProductionModelUUID
ProductionModelProcessType ProductionModelProcessType
ProdnModComplexAssemblyType ProdnModComplexAssemblyType
Material Material
BillOfMaterial BillOfMaterial
BillOfMaterialVariant BillOfMaterialVariant
BillOfMaterialCategory BillOfMaterialCategory
BillOfMaterialVariantUsage BillOfMaterialVariantUsage
BillOfMaterialVersion BillOfMaterialVersion
Plant Plant
BillOfOperationsType BillOfOperationsType
BillOfOperationsGroup BillOfOperationsGroup
BillOfOperationsVariant BillOfOperationsVariant
BillOfOperationsVersion BillOfOperationsVersion
SalesOrder SalesOrder
SalesOrderItem SalesOrderItem
BillOfOperationsVersionStatus BillOfOperationsVersionStatus
ProdnModelCreationDateTime ProdnModelCreationDateTime
ProductionModelCreatedByUser ProductionModelCreatedByUser
ProdnModelChangedDateTime ProdnModelChangedDateTime
ProductionModelChangedByUser ProductionModelChangedByUser
_HeaderComponent _HeaderComponent
_Operation _Operation
_Plant _Plant
_MaterialText _MaterialText
_BOOVersionStatusText _BOOVersionStatusText
_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,
      ProductionModelProcessType,
      ProdnModComplexAssemblyType,
      Material,
      BillOfMaterial,
      BillOfMaterialVariant,
      BillOfMaterialCategory,
      BillOfMaterialVariantUsage,
      BillOfMaterialVersion,
      Plant,
      BillOfOperationsType,
      BillOfOperationsGroup,
      BillOfOperationsVariant,
      BillOfOperationsVersion,
      SalesOrder,
      SalesOrderItem,
      BillOfOperationsVersionStatus,
      ProdnModelCreationDateTime,
      ProductionModelCreatedByUser,
      ProdnModelChangedDateTime,
      ProductionModelChangedByUser,
      //Compositions

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

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PRODUCTIONMODEL"
],
"ASSOCIATED":
[
"I_BILLOFMATERIALUSAGE",
"I_BILLOFOPERATIONSTYPETEXT",
"I_BOOVERSIONSTATUSTEXT",
"I_MATERIALTEXT",
"I_PLANT",
"I_SALESDOCUMENTITEM",
"R_PRODUCTIONMODELCOMPONENTTP",
"R_PRODUCTIONMODELOPERATIONTP"
],
"BASE":
[
"I_PRODUCTIONMODEL"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/