R_BATCHPLANTTP

CDS View

Plant-specific Batch Information

R_BATCHPLANTTP is a CDS View in S/4HANA. Plant-specific Batch Information. 2 CDS views read from this table.

CDS Views using this table (2)

ViewTypeJoinVDMDescription
A_BatchPlant view_entity projection CONSUMPTION Plant-specific Batch Information
I_BatchPlantTP_2 view_entity projection TRANSACTIONAL Plant Specific Batch Information
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED

@EndUserText.label: 'Plant-specific Batch Information'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #L, dataClass: #MASTER}

@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API

define view entity R_BatchPlantTP
  as select from P_BatchPlant as _BatchPlant
  association to parent R_BatchTP as _BatchTP on  $projection.Material              = _BatchTP.Material
                                              and $projection.BatchIdentifyingPlant = _BatchTP.BatchIdentifyingPlant
                                              and $projection.Batch                 = _BatchTP.Batch
{
  key Material,
  key Batch,
  key Plant,
      BatchIdentifyingPlant,
      InventoryValuationType,
      _BatchPlant.BatchIsMarkedForDeletion as BatchPlantIsMarkedForDeletion,
      _BatchTP.LastChangeDateTime,
      _Product,
      _BatchTP
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_BATCHPLANT",
"R_BATCHTP"
],
"ASSOCIATED":
[
"I_PRODUCT",
"R_BATCHTP"
],
"BASE":
[
"P_BATCHPLANT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/