P_CnsldtnPlantT
P_CnsldtnPlantT is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnAddlMD, I_Plant) and exposes 9 fields with key fields Language, Plant, Plant.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnAddlMD | I_CnsldtnAddlMD | union_all |
| I_Plant | I_Plant | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCSPLANTT | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Language | |||
| KEY | Plant | Plant | ||
| AdditionalMasterDataSource | ||||
| CnsldtnIsAdditionalMasterData | ||||
| LanguageasLanguage | ||||
| KEY | Plant | AdditionalMasterDataCode | ||
| AdditionalMasterDataSource | ||||
| CnsldtnIsAdditionalMasterData | ||||
| PlantName | _Text | AdditionalMasterDataText |
@AbapCatalog.sqlViewName: 'PCSPLANTT'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType: {
dataClass: #MASTER,
serviceQuality: #B,
sizeCategory: #L
}
@VDM:{
viewType: #COMPOSITE,
private:true
}
define view P_CnsldtnPlantT
as select from I_Plant
{
key cast( $session.system_language as spras ) as Language,
key Plant,
cast ( 'ACCTG' as fincs_masterdatasource ) as AdditionalMasterDataSource,
cast ( ' ' as fincs_isadditionalmasterdata preserving type) as CnsldtnIsAdditionalMasterData,
PlantName as PlantName
}
union all select from I_CnsldtnAddlMD
{
key _Text.Language as Language,
key AdditionalMasterDataCode as Plant,
cast ( 'CNSLDTN' as fincs_masterdatasource ) as AdditionalMasterDataSource,
cast ( 'X' as fincs_isadditionalmasterdata preserving type) as CnsldtnIsAdditionalMasterData,
_Text.AdditionalMasterDataText as PlantName
}
where
AdditionalCharcFieldName = 'WERKS'
and AdditionalMasterDataCode <> ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CNSLDTNADDLMD",
"I_CNSLDTNADDLMDT",
"I_PLANT"
],
"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