P_CoCodeLedgerValnCrcyRole
P_CoCodeLedgerValnCrcyRole is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (finsc_ld_cmp, I_Ledger) and exposes 12 fields with key fields Ledger, CompanyCode.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| finsc_ld_cmp | f | from |
| I_Ledger | l | inner |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCMLDCURTPS | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | finsc_ld_cmp | rldnr | |
| KEY | CompanyCode | finsc_ld_cmp | bukrs | |
| CompanyCodeCurrencyRole | finsc_ld_cmp | curtph | ||
| GlobalCurrencyRole | finsc_ld_cmp | curtpk | ||
| FreeDefinedCurrency1Role | finsc_ld_cmp | curtpo | ||
| FreeDefinedCurrency2Role | finsc_ld_cmp | curtpv | ||
| FreeDefinedCurrency3Role | finsc_ld_cmp | curtpb | ||
| FreeDefinedCurrency4Role | finsc_ld_cmp | curtpc | ||
| FreeDefinedCurrency5Role | finsc_ld_cmp | curtpd | ||
| FreeDefinedCurrency6Role | finsc_ld_cmp | curtpe | ||
| FreeDefinedCurrency7Role | finsc_ld_cmp | curtpf | ||
| FreeDefinedCurrency8Role | finsc_ld_cmp | curtpg |
@AbapCatalog.sqlViewName: 'PCMLDCURTPS'
@VDM.viewType: #BASIC
@VDM.private:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
//@EndUserText.label: 'Company code ledger valuation currencyrole'
define view P_CoCodeLedgerValnCrcyRole as select from finsc_ld_cmp as f
// Join to FINSC_LEDGER (Take only Standard Ledger )
inner join I_Ledger as l on f.mandt = l.mandt
and f.rldnr = l.Ledger
and l.LedgerType = ' '
{
key f.rldnr as Ledger,
key f.bukrs as CompanyCode,
@UI.hidden: true
f.curtph as CompanyCodeCurrencyRole,
f.curtpk as GlobalCurrencyRole,
f.curtpo as FreeDefinedCurrency1Role,
f.curtpv as FreeDefinedCurrency2Role,
f.curtpb as FreeDefinedCurrency3Role,
f.curtpc as FreeDefinedCurrency4Role,
f.curtpd as FreeDefinedCurrency5Role,
f.curtpe as FreeDefinedCurrency6Role,
f.curtpf as FreeDefinedCurrency7Role,
f.curtpg as FreeDefinedCurrency8Role
}
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