P_MatlLedgerValnCrcyRole
The ML relevant Currency and Valuation Roles
P_MatlLedgerValnCrcyRole is a Composite CDS View that provides data about "The ML relevant Currency and Valuation Roles" in SAP S/4HANA. It reads from 11 data sources and exposes 22 fields with key fields Ledger, CompanyCode. Part of development package FINS_ML_VDM.
Data Sources (11)
| Source | Alias | Join Type |
|---|---|---|
| I_MatlLedgerValnCrcyRoleName | _CurtpB | left_outer |
| I_MatlLedgerValnCrcyRoleName | _CurtpC | left_outer |
| I_MatlLedgerValnCrcyRoleName | _CurtpD | left_outer |
| I_MatlLedgerValnCrcyRoleName | _CurtpE | left_outer |
| I_MatlLedgerValnCrcyRoleName | _CurtpF | left_outer |
| I_MatlLedgerValnCrcyRoleName | _CurtpG | left_outer |
| I_MatlLedgerValnCrcyRoleName | _CurtpH | left_outer |
| I_MatlLedgerValnCrcyRoleName | _CurtpK | left_outer |
| I_MatlLedgerValnCrcyRoleName | _CurtpO | left_outer |
| I_MatlLedgerValnCrcyRoleName | _CurtpV | left_outer |
| I_CoCodeLedgerValnCrcyRole | f | from |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMLVALNCRCYROLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | I_CoCodeLedgerValnCrcyRole | Ledger | Ledger |
| KEY | CompanyCode | I_CoCodeLedgerValnCrcyRole | CompanyCode | Receiver Company Code |
| CurrencyRoleNameendasCurtpH_name | ||||
| Ledgerendasrldnrh | ||||
| CurrencyRoleNameendasCurtpK_name | ||||
| Ledgerendasrldnrk | ||||
| CurrencyRoleNameendasCurtpO_name | ||||
| Ledgerendasrldnro | ||||
| CurrencyRoleNameendasCurtpV_name | ||||
| Ledgerendasrldnrv | ||||
| CurrencyRoleNameendasCurtpB_name | ||||
| Ledgerendasrldnrb | ||||
| CurrencyRoleNameendasCurtpC_name | ||||
| Ledgerendasrldnrc | ||||
| CurrencyRoleNameendasCurtpD_name | ||||
| Ledgerendasrldnrd | ||||
| CurrencyRoleNameendasCurtpE_name | ||||
| Ledgerendasrldnre | ||||
| CurrencyRoleNameendasCurtpF_name | ||||
| Ledgerendasrldnrf | ||||
| CurrencyRoleNameendasCurtpG_name | ||||
| Ledgerendasrldnrg |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_MatlLedgerValnCrcyRole.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PMLVALNCRCYROLE
CREATE VIEW P_MatlLedgerValnCrcyRole AS
SELECT
f.Ledger AS Ledger,
f.CompanyCode AS CompanyCode,
case when _CurtpH.CurrencyRole is null then ' ' else _CurtpH.CurrencyRoleName end as CurtpH_name AS CurrencyRoleNameendasCurtpH_name,
case when _CurtpH.CurrencyRole is null then ' ' else _CurtpH.Ledger end as rldnrh AS Ledgerendasrldnrh,
case when _CurtpK.CurrencyRole is null then ' ' else _CurtpK.CurrencyRoleName end as CurtpK_name AS CurrencyRoleNameendasCurtpK_name,
case when _CurtpK.CurrencyRole is null then ' ' else _CurtpK.Ledger end as rldnrk AS Ledgerendasrldnrk,
case when _CurtpO.CurrencyRole is null then ' ' else _CurtpO.CurrencyRoleName end as CurtpO_name AS CurrencyRoleNameendasCurtpO_name,
case when _CurtpO.CurrencyRole is null then ' ' else _CurtpO.Ledger end as rldnro AS Ledgerendasrldnro,
case when _CurtpV.CurrencyRole is null then ' ' else _CurtpV.CurrencyRoleName end as CurtpV_name AS CurrencyRoleNameendasCurtpV_name,
case when _CurtpV.CurrencyRole is null then ' ' else _CurtpV.Ledger end as rldnrv AS Ledgerendasrldnrv,
case when _CurtpB.CurrencyRole is null then ' ' else _CurtpB.CurrencyRoleName end as CurtpB_name AS CurrencyRoleNameendasCurtpB_name,
case when _CurtpB.CurrencyRole is null then ' ' else _CurtpB.Ledger end as rldnrb AS Ledgerendasrldnrb,
case when _CurtpC.CurrencyRole is null then ' ' else _CurtpC.CurrencyRoleName end as CurtpC_name AS CurrencyRoleNameendasCurtpC_name,
case when _CurtpC.CurrencyRole is null then ' ' else _CurtpC.Ledger end as rldnrc AS Ledgerendasrldnrc,
case when _CurtpD.CurrencyRole is null then ' ' else _CurtpD.CurrencyRoleName end as CurtpD_name AS CurrencyRoleNameendasCurtpD_name,
case when _CurtpD.CurrencyRole is null then ' ' else _CurtpD.Ledger end as rldnrd AS Ledgerendasrldnrd,
case when _CurtpE.CurrencyRole is null then ' ' else _CurtpE.CurrencyRoleName end as CurtpE_name AS CurrencyRoleNameendasCurtpE_name,
case when _CurtpE.CurrencyRole is null then ' ' else _CurtpE.Ledger end as rldnre AS Ledgerendasrldnre,
case when _CurtpF.CurrencyRole is null then ' ' else _CurtpF.CurrencyRoleName end as CurtpF_name AS CurrencyRoleNameendasCurtpF_name,
case when _CurtpF.CurrencyRole is null then ' ' else _CurtpF.Ledger end as rldnrf AS Ledgerendasrldnrf,
case when _CurtpG.CurrencyRole is null then ' ' else _CurtpG.CurrencyRoleName end as CurtpG_name AS CurrencyRoleNameendasCurtpG_name,
case when _CurtpG.CurrencyRole is null then ' ' else _CurtpG.Ledger end as rldnrg AS Ledgerendasrldnrg
FROM I_CoCodeLedgerValnCrcyRole AS f
LEFT OUTER JOIN I_MatlLedgerValnCrcyRoleName AS _CurtpH ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MatlLedgerValnCrcyRoleName AS _CurtpK ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MatlLedgerValnCrcyRoleName AS _CurtpO ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MatlLedgerValnCrcyRoleName AS _CurtpV ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MatlLedgerValnCrcyRoleName AS _CurtpB ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MatlLedgerValnCrcyRoleName AS _CurtpC ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MatlLedgerValnCrcyRoleName AS _CurtpD ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MatlLedgerValnCrcyRoleName AS _CurtpE ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MatlLedgerValnCrcyRoleName AS _CurtpF ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MatlLedgerValnCrcyRoleName AS _CurtpG ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA