P_LedgerCompanyCode
P_LedgerCompanyCode is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (I_LedgerCompanyCodeCrcyRoles) and exposes 8 fields with key fields Ledger, AccountingPrinciple, CompanyCode.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LedgerCompanyCodeCrcyRoles | I_LedgerCompanyCodeCrcyRoles | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFILDCOCODE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | CompanyCode | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | Ledger | ||
| KEY | AccountingPrinciple | AccountingPrinciple | ||
| KEY | CompanyCode | CompanyCode | ||
| FiscalYearVariant | FiscalYearVariant | |||
| _Ledger | _Ledger | |||
| _CompanyCode | _CompanyCode | |||
| _FiscalYearVariant | _FiscalYearVariant | |||
| _AccountingPrinciple | _AccountingPrinciple |
@AbapCatalog.sqlViewName: 'PFILDCOCODE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@VDM.private:true
@ClientHandling.algorithm: #SESSION_VARIABLE
//@EndUserText.label: 'Private view for main attributes of company code in ledger'
@ObjectModel.representativeKey: 'CompanyCode'
define view P_LedgerCompanyCode as select from I_LedgerCompanyCodeCrcyRoles {
@ObjectModel.foreignKey.association: '_Ledger'
key Ledger,
@ObjectModel.foreignKey.association: '_AccountingPrinciple'
key AccountingPrinciple,
@ObjectModel.foreignKey.association: '_CompanyCode'
key CompanyCode,
FiscalYearVariant,
_Ledger,
_CompanyCode,
_FiscalYearVariant,
_AccountingPrinciple
}
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