P_CnsldtnCustomer
Consolidation Combined Customer
P_CnsldtnCustomer is a Composite CDS View that provides data about "Consolidation Combined Customer" in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnAddlMD, I_Customer) and exposes 6 fields with key field Customer. Part of development package FIN_CS_MD_CUSTOMER.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnAddlMD | I_CnsldtnAddlMD | union_all |
| I_Customer | I_Customer | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCSCUSTOMER | 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 (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Customer | Customer | ||
| AdditionalMasterDataSource | ||||
| CnsldtnIsAdditionalMasterData | ||||
| AdditionalMasterDataSource | ||||
| CnsldtnIsAdditionalMasterData | ||||
| CreationDateTime | CreationDateTime |
@AbapCatalog.sqlViewName: 'PCSCUSTOMER'
@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_CnsldtnCustomer
as select from I_Customer
{
key Customer,
cast ( 'ACCTG' as fincs_masterdatasource ) as AdditionalMasterDataSource,
cast ( ' ' as fincs_isadditionalmasterdata preserving type ) as CnsldtnIsAdditionalMasterData,
dats_tims_to_tstmp( CreationDate, cast( '235959' as tims ), 'UTC', $session.client, 'NULL' ) as CreationDateTime
}
union all select from I_CnsldtnAddlMD
{
key AdditionalMasterDataCode as Customer,
cast ( 'CNSLDTN' as fincs_masterdatasource ) as AdditionalMasterDataSource,
cast ( 'X' as fincs_isadditionalmasterdata preserving type ) as CnsldtnIsAdditionalMasterData,
CreationDateTime
}
where
AdditionalCharcFieldName = 'KUNNR'
and AdditionalMasterDataCode <> ''
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