P_LDCMP
P_LDCMP is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (finsc_ld_cmp) and exposes 14 fields with key fields rldnr, bukrs.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| finsc_ld_cmp | finsc_ld_cmp | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFILDCMP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | rldnr | finsc_ld_cmp | rldnr | Ledger (Compat.) |
| KEY | bukrs | finsc_ld_cmp | bukrs | Value |
| CURTPH | curtph | Field Name | ||
| CURTPK | curtpk | Field Name | ||
| CURTPO | curtpo | FreeDef Crcy 1 | ||
| CURTPV | curtpv | FreeDef Crcy 2 | ||
| CURTPB | curtpb | FreeDef Crcy 3 | ||
| CURTPC | curtpc | FreeDef Crcy 4 | ||
| CURTPD | curtpd | FreeDef Crcy 5 | ||
| CURTPE | curtpe | FreeDef Crcy 6 | ||
| CURTPF | curtpf | FreeDef Crcy 7 | ||
| CURTPG | curtpg | FreeDef Crcy 8 | ||
| periv | periv | FYear Variant | ||
| opvar | opvar | Pstg Per.Var. |
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_LDCMP.
-- 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: PFILDCMP
CREATE VIEW P_LDCMP AS
SELECT
finsc_ld_cmp.rldnr AS rldnr,
finsc_ld_cmp.bukrs AS bukrs,
CURTPH,
CURTPK,
CURTPO,
CURTPV,
CURTPB,
CURTPC,
CURTPD,
CURTPE,
CURTPF,
CURTPG,
periv,
opvar
FROM finsc_ld_cmp
;
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