P_CnsldtnSupplier
P_CnsldtnSupplier is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnAddlMD, I_Supplier) and exposes 4 fields with key field Supplier.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnAddlMD | I_CnsldtnAddlMD | union_all |
| I_Supplier | I_Supplier | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCSSUPPLIER | 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 (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Supplier | Supplier | ||
| AdditionalMasterDataSource | ||||
| AdditionalMasterDataSource | ||||
| CnsldtnIsAdditionalMasterData |
@AbapCatalog.sqlViewName: 'PCSSUPPLIER'
@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_CnsldtnSupplier
as select from I_Supplier
{
key Supplier,
cast ( 'ACCTG' as fincs_masterdatasource ) as AdditionalMasterDataSource,
cast ( ' ' as fincs_isadditionalmasterdata preserving type ) as CnsldtnIsAdditionalMasterData
}
union all select from I_CnsldtnAddlMD
{
key AdditionalMasterDataCode as Supplier,
cast ( 'CNSLDTN' as fincs_masterdatasource ) as AdditionalMasterDataSource,
cast ( 'X' as fincs_isadditionalmasterdata preserving type ) as CnsldtnIsAdditionalMasterData
}
where
AdditionalCharcFieldName = 'LIFNR'
and AdditionalMasterDataCode <> ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CNSLDTNADDLMD",
"I_SUPPLIER"
],
"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