A_ATPRlvtProductMRPAreaSegment
Product Availability per Segment
A_ATPRlvtProductMRPAreaSegment is a Consumption CDS View that provides data about "Product Availability per Segment" in SAP S/4HANA. It reads from 3 data sources (I_Product, I_ATPRlvtProdMRPAreaPlant, I_SegmentationValdCombinations) and exposes 4 fields with key fields Product, MRPArea, ProductSegmentationValueCode.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_Product | _Product | inner |
| I_ATPRlvtProdMRPAreaPlant | _ProductMRPArea | from |
| I_SegmentationValdCombinations | _SegmentValue | inner |
Annotations (10)
| 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 | A_ATPRlvtProductMRPAreaSegment_Type | view | |
| Feature | SW:ATP_INFO_API_SEGMENT_SWITCH | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Product Availability per Segment | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | I_ATPRlvtProdMRPAreaPlant | Product | |
| KEY | MRPArea | I_ATPRlvtProdMRPAreaPlant | MRPArea | |
| KEY | ProductSegmentationValueCode | I_SegmentationValdCombinations | ProductSegmentationValueCode | |
| SegmentationStrategy | I_Product | SegmentationStrategy |
@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: 'A_ATPRlvtProductMRPAreaSegment_Type'
@Feature: 'SW:ATP_INFO_API_SEGMENT_SWITCH'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Product Availability per Segment'
define root view entity A_ATPRlvtProductMRPAreaSegment
as select from I_ATPRlvtProdMRPAreaPlant as _ProductMRPArea
inner join I_Product as _Product on _Product.Product = _ProductMRPArea.Product
inner join I_SegmentationValdCombinations as _SegmentValue
on _SegmentValue.SegmentationStrategy = _Product.SegmentationStrategy
{
key _ProductMRPArea.Product,
key _ProductMRPArea.MRPArea,
key _SegmentValue.ProductSegmentationValueCode,
_Product.SegmentationStrategy
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ATPRLVTPRODMRPAREAPLANT",
"I_PRODUCT",
"I_SEGMENTATIONVALDCOMBINATIONS"
],
"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