P_LDCMP

DDL: P_LDCMP SQL: PFILDCMP Type: view BASIC

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)

SourceAliasJoin Type
finsc_ld_cmp finsc_ld_cmp from

Annotations (6)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;