P_MaterialLedger_Name_Curtp
P_MaterialLedger_Name_Curtp is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (finsc_curtype, fmlt_curtp_ml, finsc_ledger) and exposes 7 fields with key fields bukrs, curtp, rldnr.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| finsc_curtype | curtp_def | inner |
| fmlt_curtp_ml | curtp_ml | from |
| finsc_ledger | ledger | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMLNAMECURTP | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #CHECK | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | bukrs | fmlt_curtp_ml | rbukrs | Company Code |
| KEY | curtp | |||
| KEY | rldnr | fmlt_curtp_ml | rldnr | Ledger (Compat.) |
| ext_curtype | fmlt_curtp_ml | curtp | Valuation Area | |
| name_curtp | ||||
| rcolumn | fmlt_curtp_ml | rcolumn | Char01 | |
| waers | fmlt_curtp_ml | waers | Transaction Currency |
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_MaterialLedger_Name_Curtp.
-- 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: PMLNAMECURTP
CREATE VIEW P_MaterialLedger_Name_Curtp AS
SELECT
curtp_ml.rbukrs AS bukrs,
case when switch.is_active = 'X' then curtp_def.curtype else curtp_ml.curtp end AS curtp,
curtp_ml.rldnr AS rldnr,
curtp_ml.curtp AS ext_curtype,
case when curtp_txt.name is null then ' ' else curtp_txt.name end AS name_curtp,
curtp_ml.rcolumn AS rcolumn,
curtp_ml.waers AS waers
FROM fmlt_curtp_ml AS curtp_ml
INNER JOIN finsc_ledger AS ledger ON /* join condition not captured in parsed metadata */
INNER JOIN finsc_curtype AS curtp_def 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