P_LedgerCompanyCode
Private view for main attributes of company code in ledger
P_LedgerCompanyCode is a Basic CDS View that provides data about "Private view for main attributes of company code in ledger" in SAP S/4HANA. It reads from 1 data source (I_LedgerCompanyCodeCrcyRoles) and exposes 8 fields with key fields Ledger, AccountingPrinciple, CompanyCode. Part of development package FINS_LEDGER_VDM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LedgerCompanyCodeCrcyRoles | I_LedgerCompanyCodeCrcyRoles | from |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ObjectModel.representativeKey | CompanyCode | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | I_LedgerCompanyCodeCrcyRoles | Ledger | |
| KEY | AccountingPrinciple | I_LedgerCompanyCodeCrcyRoles | AccountingPrinciple | |
| KEY | CompanyCode | I_LedgerCompanyCodeCrcyRoles | CompanyCode | |
| FiscalYearVariant | I_LedgerCompanyCodeCrcyRoles | FiscalYearVariant | ||
| _Ledger | I_LedgerCompanyCodeCrcyRoles | _Ledger | ||
| _CompanyCode | I_LedgerCompanyCodeCrcyRoles | _CompanyCode | ||
| _FiscalYearVariant | I_LedgerCompanyCodeCrcyRoles | _FiscalYearVariant | ||
| _AccountingPrinciple | I_LedgerCompanyCodeCrcyRoles | _AccountingPrinciple |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@VDM.private:true
@ObjectModel.representativeKey: 'CompanyCode'
//@Analytics.technicalName: 'PFILDCOCODE'
define view entity P_LedgerCompanyCode as select from I_LedgerCompanyCodeCrcyRoles as I_LedgerCompanyCodeCrcyRoles
{
@ObjectModel.foreignKey.association: '_Ledger'
key I_LedgerCompanyCodeCrcyRoles.Ledger,
@ObjectModel.foreignKey.association: '_AccountingPrinciple'
key I_LedgerCompanyCodeCrcyRoles.AccountingPrinciple,
@ObjectModel.foreignKey.association: '_CompanyCode'
key I_LedgerCompanyCodeCrcyRoles.CompanyCode,
I_LedgerCompanyCodeCrcyRoles.FiscalYearVariant,
I_LedgerCompanyCodeCrcyRoles._Ledger,
I_LedgerCompanyCodeCrcyRoles._CompanyCode,
I_LedgerCompanyCodeCrcyRoles._FiscalYearVariant,
I_LedgerCompanyCodeCrcyRoles._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