I_BatchDistinctText
Batch information by batch key - Text
I_BatchDistinctText is a Composite CDS View that provides data about "Batch information by batch key - Text" in SAP S/4HANA. It reads from 1 data source (R_BatchText) and exposes 8 fields with key fields Language, Material, Plant, Batch. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_BatchText | R_BatchText | from |
Associations (2)
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Batch information by batch key - Text | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.representativeKey | Batch | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Language | Language | ||
| KEY | Material | Material | ||
| KEY | Plant | BatchIdentifyingPlant | ||
| KEY | Batch | Batch | ||
| BatchDescription | BatchDescription | |||
| _Batch | _Batch | |||
| _Product | _Product | |||
| _Plant | _Plant |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Batch information by batch key - Text'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #A,
sizeCategory: #L,
dataClass: #MASTER
}
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@ObjectModel.representativeKey: 'Batch'
@ObjectModel.supportedCapabilities: [
#LANGUAGE_DEPENDENT_TEXT,
#SQL_DATA_SOURCE,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET
]
define view entity I_BatchDistinctText
as select from R_BatchText
association [0..1] to I_Plant as _Plant on $projection.Plant = _Plant.Plant
association [1..1] to I_Product as _Product on $projection.Material = _Product.Product
{
@Semantics.language: true
key Language,
@ObjectModel.foreignKey.association: '_Product'
key Material,
@ObjectModel.foreignKey.association: '_Plant'
key BatchIdentifyingPlant as Plant,
@ObjectModel.foreignKey.association: '_Batch'
key Batch,
@Semantics.text: true
BatchDescription,
_Batch,
_Product,
_Plant
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_BATCHTEXT"
],
"ASSOCIATED":
[
"I_BATCHDISTINCT",
"I_PLANT",
"I_PRODUCT"
],
"BASE":
[
"R_BATCHTEXT"
],
"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