R_BatchTP
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)
| Source | Alias | Join Type |
|---|---|---|
| R_Batch | R_Batch | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | R_BatchPlantTP | _BatchPlantTP | |
| [0..1] | R_BatchClassTP | _BatchClassTP | |
| [0..*] | R_BatchCharacteristicTP | _BatchCharacteristicTP | |
| [0..*] | R_BatchTextTP | _BatchTextTP | |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA