A_ProdnOrderConfBatchCharc

DDL: A_PRODNORDERCONFBATCHCHARC Type: view_entity COMPOSITE

Batch Characteristics for Material Movements

A_ProdnOrderConfBatchCharc is a Composite CDS View that provides data about "Batch Characteristics for Material Movements" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderConfGRBatchCharc) and exposes 16 fields with key fields ConfirmationGroup, ConfirmationCount, MaterialDocument, MaterialDocumentItem, MaterialDocumentYear. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_MfgOrderConfGRBatchCharc I_MfgOrderConfGRBatchCharc from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_ProductionOrderConf_2 _ProdnOrdConf $projection.ConfirmationGroup = _ProdnOrdConf.ConfirmationGroup and $projection.ConfirmationCount = _ProdnOrdConf.ConfirmationCount

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Batch Characteristics for Material Movements view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
OData.entitySet.name ProdnOrderConfBatchCharc view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY ConfirmationGroup ConfirmationGroup
KEY ConfirmationCount ConfirmationCount
KEY MaterialDocument MaterialDocument
KEY MaterialDocumentItem MaterialDocumentItem
KEY MaterialDocumentYear MaterialDocumentYear
KEY Plant Plant
KEY Material Material
KEY Batch Batch
KEY CharcInternalID CharcInternalID
ManufacturingOrderCategory ManufacturingOrderCategory
Characteristic Characteristic
CharcValue CharcValue
ClassType ClassType
_MatlDoc _MatlDoc
_ProdnOrdConf _ProdnOrdConf
_Characteristic _Characteristic
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Batch Characteristics for Material Movements'
@AccessControl.personalData.blocking: #REQUIRED
@ObjectModel.usageType: {serviceQuality: #D, sizeCategory: #XL, dataClass: #MIXED}

@OData.entitySet.name: 'ProdnOrderConfBatchCharc'

@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@Metadata.ignorePropagatedAnnotations: true

define view entity A_ProdnOrderConfBatchCharc
  as select from I_MfgOrderConfGRBatchCharc
  association to parent A_ProdnOrdConfMatlDocItem as _MatlDoc      on  $projection.ConfirmationGroup    = _MatlDoc.ConfirmationGroup
                                                                   and $projection.ConfirmationCount    = _MatlDoc.ConfirmationCount
                                                                   and $projection.MaterialDocument     = _MatlDoc.MaterialDocument
                                                                   and $projection.MaterialDocumentItem = _MatlDoc.MaterialDocumentItem
                                                                   and $projection.MaterialDocumentYear = _MatlDoc.MaterialDocumentYear
  association [1..1] to A_ProductionOrderConf_2   as _ProdnOrdConf on  $projection.ConfirmationGroup = _ProdnOrdConf.ConfirmationGroup
                                                                   and $projection.ConfirmationCount = _ProdnOrdConf.ConfirmationCount
{
  // Key

  key ConfirmationGroup,
  key ConfirmationCount,
  @ObjectModel.sapObjectNodeTypeReference: 'MaterialDocument'
  key MaterialDocument,
  key MaterialDocumentItem,
  key MaterialDocumentYear,
  key Plant,
  key Material,
  key Batch,
  key CharcInternalID,
  
      // Order and Operation Data

      @Consumption.hidden: true
      ManufacturingOrderCategory,
      
      // Characteristics

      Characteristic,
      CharcValue,
      @Consumption.hidden: true
      ClassType,

      // Associations

      @Consumption.hidden: true
      _MatlDoc,
      @Consumption.hidden: true
      _ProdnOrdConf, // Association to lock master entity

      @Consumption.hidden: true
      _Characteristic
}
where
  ManufacturingOrderCategory = '10';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MFGORDERCONFGRBATCHCHARC"
],
"ASSOCIATED":
[
"A_PRODNORDCONFMATLDOCITEM",
"A_PRODUCTIONORDERCONF_2",
"I_CLFNCHARACTERISTICFORKEYDATE"
],
"BASE":
[
"I_MFGORDERCONFGRBATCHCHARC"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/