P_Ldcmpcurr

DDL: P_LDCMPCURR SQL: PFILDCMPCURR Type: view BASIC

P_Ldcmpcurr is a Basic CDS View in SAP S/4HANA. It reads from 14 data sources and exposes 13 fields with key fields rldnr, bukrs.

Data Sources (14)

SourceAliasJoin Type
finsc_001a finsc_001a_bsl left_outer
finsc_001a finsc_001a_csl left_outer
finsc_001a finsc_001a_dsl left_outer
finsc_001a finsc_001a_esl left_outer
finsc_001a finsc_001a_fsl left_outer
finsc_001a finsc_001a_gsl left_outer
finsc_001a finsc_001a_osl left_outer
finsc_001a finsc_001a_vsl left_outer
t000 t000 inner
t001 t001 inner
t005 t005 left_outer
t880 t880 left_outer
tka01 tka01 left_outer
tka02 tka02 left_outer

Annotations (7)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PFILDCMPCURR 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 (13)

KeyFieldSource TableSource FieldDescription
KEY rldnr finsc_ld_cmp rldnr Ledger (Compat.)
KEY bukrs finsc_ld_cmp bukrs Value
curtp_cc finsc_ld_cmp curtph Field Name
crcy_cc
curtp_gc finsc_ld_cmp curtpk Field Name
curtp_fdc1 finsc_ld_cmp curtpo FreeDef Crcy 1
curtp_fdc2 finsc_ld_cmp curtpv FreeDef Crcy 2
curtp_fdc3 finsc_ld_cmp curtpb FreeDef Crcy 3
curtp_fdc4 finsc_ld_cmp curtpc FreeDef Crcy 4
curtp_fdc5 finsc_ld_cmp curtpd FreeDef Crcy 5
curtp_fdc6 finsc_ld_cmp curtpe FreeDef Crcy 6
curtp_fdc7 finsc_ld_cmp curtpf FreeDef Crcy 7
curtp_fdc8 finsc_ld_cmp curtpg FreeDef Crcy 8

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_Ldcmpcurr.
-- 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: PFILDCMPCURR

CREATE VIEW P_Ldcmpcurr AS
SELECT
  finsc_ld_cmp.rldnr AS rldnr,
  finsc_ld_cmp.bukrs AS bukrs,
  finsc_ld_cmp.curtph AS curtp_cc,
  cast(t001.waers as fins_currh ) AS crcy_cc,
  finsc_ld_cmp.curtpk AS curtp_gc,
  finsc_ld_cmp.curtpo AS curtp_fdc1,
  finsc_ld_cmp.curtpv AS curtp_fdc2,
  finsc_ld_cmp.curtpb AS curtp_fdc3,
  finsc_ld_cmp.curtpc AS curtp_fdc4,
  finsc_ld_cmp.curtpd AS curtp_fdc5,
  finsc_ld_cmp.curtpe AS curtp_fdc6,
  finsc_ld_cmp.curtpf AS curtp_fdc7,
  finsc_ld_cmp.curtpg AS curtp_fdc8
INNER JOIN t001 ON /* join condition not captured in parsed metadata */
INNER JOIN t000 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t005 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t880 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tka02 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tka01 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finsc_001a AS finsc_001a_osl ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finsc_001a AS finsc_001a_vsl ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finsc_001a AS finsc_001a_bsl ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finsc_001a AS finsc_001a_csl ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finsc_001a AS finsc_001a_dsl ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finsc_001a AS finsc_001a_esl ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finsc_001a AS finsc_001a_fsl ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finsc_001a AS finsc_001a_gsl ON /* join condition not captured in parsed metadata */
;