P_LEDGERCOMPANYCODE
Private view for main attributes of company code in ledger
P_LEDGERCOMPANYCODE is a CDS View in S/4HANA. Private view for main attributes of company code in ledger. It contains 4 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_DefaultFsclYearVarDerivation | view_entity | union_all | BASIC | Derive fiscal year variant |
Fields (4)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | CompanyCode | CompanyCode | 1 |
| KEY | Ledger | Ledger | 1 |
| AccountingPrinciple | AccountingPrinciple | 1 | |
| FiscalYearVariant | FiscalYearVariant | 1 |
@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
}