R_BatchTP

DDL: R_BATCHTP Type: view_entity TRANSACTIONAL Package: LO_BM_BATCH_BO_RAP

Batch

R_BatchTP is a Transactional CDS View that provides data about "Batch" in SAP S/4HANA. It reads from 1 data source (R_Batch) and exposes 31 fields with key fields Material, BatchIdentifyingPlant, Batch. It has 4 associations to related views. Part of development package LO_BM_BATCH_BO_RAP.

Data Sources (1)

SourceAliasJoin Type
R_Batch R_Batch from

Associations (4)

CardinalityTargetAliasCondition
[0..*] R_BatchPlantTP _BatchPlantTP
[0..1] R_BatchClassTP _BatchClassTP
[0..*] R_BatchCharacteristicTP _BatchCharacteristicTP
[0..*] R_BatchTextTP _BatchTextTP

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Batch view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name Batch view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY Material Material
KEY BatchIdentifyingPlant Plant
KEY Batch Batch
BatchIsMarkedForDeletion BatchIsMarkedForDeletion
MatlBatchIsInRstrcdUseStock MatlBatchIsInRstrcdUseStock
Supplier Supplier
BatchBySupplier BatchBySupplier
CountryOfOrigin CountryOfOrigin
RegionOfOrigin RegionOfOrigin
MatlBatchAvailabilityDate MatlBatchAvailabilityDate
ShelfLifeExpirationDate ShelfLifeExpirationDate
ManufactureDate ManufactureDate
FreeDefinedDate1 FreeDefinedDate1
FreeDefinedDate2 FreeDefinedDate2
FreeDefinedDate3 FreeDefinedDate3
FreeDefinedDate4 FreeDefinedDate4
FreeDefinedDate5 FreeDefinedDate5
FreeDefinedDate6 FreeDefinedDate6
CreationDateTime CreationDateTime
LastChangeDateTime LastChangeDateTime
BatchExtWhseMgmtInternalId BatchExtWhseMgmtInternalId
NextInspectionDate NextInspectionDate
LastGoodsReceiptDate LastGoodsReceiptDate
ExportAndImportProductGroup ExportAndImportProductGroup
BatchCertificationDate BatchCertificationDate
BatchVersion BatchVersion
_BatchPlantTP _BatchPlantTP
_BatchClassTP _BatchClassTP
_BatchCharacteristicTP _BatchCharacteristicTP
_BatchTextTP _BatchTextTP
_Product _Product
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED

@EndUserText.label: 'Batch'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.sapObjectNodeType.name: 'Batch' 
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #L, dataClass: #MASTER}

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

define root view entity R_BatchTP
  as select from R_Batch
  composition [0..*] of R_BatchPlantTP as _BatchPlantTP
  composition [0..1] of R_BatchClassTP as _BatchClassTP
  composition [0..*] of R_BatchCharacteristicTP as _BatchCharacteristicTP
  composition [0..*] of R_BatchTextTP as _BatchTextTP
{
  key Material,
  key Plant as BatchIdentifyingPlant,
  key Batch,
      BatchIsMarkedForDeletion,
      MatlBatchIsInRstrcdUseStock,
      Supplier,
      BatchBySupplier,
      CountryOfOrigin,
      RegionOfOrigin,
      MatlBatchAvailabilityDate,
      ShelfLifeExpirationDate,
      ManufactureDate,
      FreeDefinedDate1,
      FreeDefinedDate2,
      FreeDefinedDate3,
      FreeDefinedDate4,
      FreeDefinedDate5,
      FreeDefinedDate6,
      CreationDateTime,
      LastChangeDateTime,
      BatchExtWhseMgmtInternalId,
      NextInspectionDate,
      LastGoodsReceiptDate,
      ExportAndImportProductGroup,
      BatchCertificationDate,
      BatchVersion,
    
  /* Compositions */  
      _BatchPlantTP,
      _BatchClassTP,
      _BatchCharacteristicTP,
      _BatchTextTP,

  /* Associations */  
      _Product
}