R_ProdnOrderConfBatchCharcTP

DDL: R_PRODNORDERCONFBATCHCHARCTP Type: view_entity TRANSACTIONAL Package: PP_PRODORDCONF_RAP

Production Order Conf Batch Charc

R_ProdnOrderConfBatchCharcTP is a Transactional CDS View that provides data about "Production Order Conf Batch Charc" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderConfGRBatchCharc) and exposes 17 fields with key fields ConfirmationGroup, ConfirmationCount, MaterialDocument, MaterialDocumentItem, MaterialDocumentYear. It has 1 association to related views. Part of development package PP_PRODORDCONF_RAP.

Data Sources (1)

SourceAliasJoin Type
I_MfgOrderConfGRBatchCharc I_MfgOrderConfGRBatchCharc from

Associations (1)

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

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Production Order Conf Batch Charc view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (17)

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
KEY ClfnCharcValuePositionNumber ClfnCharcValuePositionNumber
ManufacturingOrderCategory ManufacturingOrderCategory
Characteristic Characteristic
CharcValue CharcValue
ClassType ClassType
_MatlDoc _MatlDoc
_ProdnOrdConf _ProdnOrdConf
_Characteristic _Characteristic
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Production Order Conf Batch Charc'
@ObjectModel.usageType: {serviceQuality: #D, sizeCategory: #XL, dataClass: #MIXED}

//@OData.entitySet.name: 'ProdnOrderConfBatchCharc'


//@VDM.viewType: #COMPOSITE

@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@Metadata.ignorePropagatedAnnotations: true


define view entity R_ProdnOrderConfBatchCharcTP
  as select from I_MfgOrderConfGRBatchCharc
//  removed the association to parent need to re apply for later release

  association        to parent R_ProdnOrdConfMatlDocItemTP 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 R_ProductionOrdConfirmationTP        as _ProdnOrdConf on  $projection.ConfirmationGroup = _ProdnOrdConf.ConfirmationGroup
                                                                          and $projection.ConfirmationCount = _ProdnOrdConf.ConfirmationCount
{ // Key

  key ConfirmationGroup,
  key ConfirmationCount,
  key MaterialDocument,
  key MaterialDocumentItem,
  key MaterialDocumentYear,
  key Plant,
  key Material,
  key Batch,
  key CharcInternalID,
  key ClfnCharcValuePositionNumber,

      // 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';