A_ATPRlvtProductMRPAreaBatch
Product Availability per Batch
A_ATPRlvtProductMRPAreaBatch is a Consumption CDS View that provides data about "Product Availability per Batch" in SAP S/4HANA. It reads from 2 data sources (I_ATPRlvtProdMRPAreaPlant, I_ATPProductPlantBatch) and exposes 3 fields with key fields Product, MRPArea, Batch.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ATPRlvtProdMRPAreaPlant | _ProductMRPArea | from |
| I_ATPProductPlantBatch | _ProductPlantBatch | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| OData.entityType.name | ATPRlvtProductMRPAreaBatch_Type | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Product Availability per Batch | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | I_ATPRlvtProdMRPAreaPlant | Product | |
| KEY | MRPArea | I_ATPRlvtProdMRPAreaPlant | MRPArea | |
| KEY | Batch | I_ATPProductPlantBatch | Batch |
@VDM: {
viewType: #CONSUMPTION,
lifecycle.contract.type: #PUBLIC_REMOTE_API,
usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE]
}
@ObjectModel: {
usageType: {
serviceQuality: #C,
sizeCategory: #XL,
dataClass: #MASTER
}
}
@OData.entityType.name: 'ATPRlvtProductMRPAreaBatch_Type'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Product Availability per Batch'
define root view entity A_ATPRlvtProductMRPAreaBatch
as select from I_ATPRlvtProdMRPAreaPlant as _ProductMRPArea
inner join I_ATPProductPlantBatch as _ProductPlantBatch on _ProductPlantBatch.Product = _ProductMRPArea.Product
and _ProductPlantBatch.Plant = _ProductMRPArea.Plant
{
key _ProductMRPArea.Product,
key _ProductMRPArea.MRPArea,
key _ProductPlantBatch.Batch
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ATPPRODUCTPLANTBATCH",
"I_ATPRLVTPRODMRPAREAPLANT"
],
"ASSOCIATED":
[],
"BASE":
[],
"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