P_CN_CADECompanyCode
P_CN_CADECompanyCode is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (t001, I_CN_CADEGeneralInformation) and exposes 5 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| t001 | CompanyCode | from |
| I_CN_CADEGeneralInformation | GeneralInformation | left_outer |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | PCNCADECOCODEVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CompanyCode | t001 | bukrs | ||
| CityName | t001 | ort01 | ||
| CompanyCodeName | t001 | butxt | ||
| Currency | t001 | waers | ||
| CN_CADEReportStatus | I_CN_CADEGeneralInformation | CN_CADEReportStatus |
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'PCNCADECOCODEVH'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@VDM.private:true
define view P_CN_CADECompanyCode as select from t001 as CompanyCode
left outer join I_CN_CADEGeneralInformation as GeneralInformation on CompanyCode.bukrs = GeneralInformation.CompanyCode
{
CompanyCode.bukrs as CompanyCode,
CompanyCode.ort01 as CityName,
CompanyCode.butxt as CompanyCodeName,
CompanyCode.waers as Currency,
GeneralInformation.CN_CADEReportStatus as CN_CADEReportStatus
}where CN_CADEReportStatus is null
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CN_CADEGENERALINFORMATION",
"T001"
],
"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