A_BatchPlant
Plant-specific Batch Information
A_BatchPlant is a Consumption CDS View that provides data about "Plant-specific Batch Information" in SAP S/4HANA. It reads from 1 data source (R_BatchPlantTP) and exposes 7 fields with key fields Material, Batch, Plant.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_BatchPlantTP | R_BatchPlantTP | projection |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Plant-specific Batch Information | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | ||
| KEY | Batch | Batch | ||
| KEY | Plant | Plant | ||
| BatchIdentifyingPlant | BatchIdentifyingPlant | |||
| InventoryValuationType | InventoryValuationType | |||
| LastChangeDateTime | LastChangeDateTime | |||
| _Product | _Product |
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Plant-specific Batch Information'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #L, dataClass: #MASTER}
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@VDM.viewType: #CONSUMPTION
define view entity A_BatchPlant
as projection on R_BatchPlantTP
{
key Material,
key Batch,
key Plant,
BatchIdentifyingPlant,
InventoryValuationType,
LastChangeDateTime,
/* Compositions */
_BatchTP as _Batch : redirected to parent A_Batch,
/* Associations */
@Consumption.hidden: true
_Product
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_BATCHPLANTTP"
],
"ASSOCIATED":
[
"A_BATCH",
"I_PRODUCT",
"R_BATCHTP"
],
"BASE":
[
"R_BATCHPLANTTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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