P_LDCMP
P_LDCMP is a CDS View in S/4HANA. It contains 3 fields. 3 CDS views read from this table.
CDS Views using this table (3)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_AcctgPrincipleCoCodeConfign | view | from | BASIC | Accounting Principle Confign per Co Code |
| I_AROCoCodeAcctgPrncpMap | view | from | BASIC | ARO Company Code Acctg Principle Mapping |
| P_AP_CLOSING | view | from | BASIC |
Fields (3)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | bukrs | bukrs,CompanyCode | 2 |
| KEY | rldnr | Ledger,rldnr | 2 |
| acc_principle | acc_principle,AccountingPrinciple | 2 |
@AbapCatalog.sqlViewName: 'PFILDCMP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@VDM.private:true
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_LDCMP
as select from finsc_ld_cmp
{
key finsc_ld_cmp.rldnr,
key finsc_ld_cmp.bukrs,
curtph as CURTPH,
curtpk as CURTPK,
curtpo as CURTPO,
curtpv as CURTPV,
curtpb as CURTPB,
curtpc as CURTPC,
curtpd as CURTPD,
curtpe as CURTPE,
curtpf as CURTPF,
curtpg as CURTPG,
periv as periv,
opvar as opvar,
acc_principle as acc_principle,
cast( case when functional_currency <> ' ' then functional_currency
else curtph
end
as finsc_functional_curtype
) as functional_currency
}