P_CoCodeLedgerValnCrcyRole

DDL: P_COCODELEDGERVALNCRCYROLE SQL: PCMLDCURTPS Type: view BASIC

P_CoCodeLedgerValnCrcyRole is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (finsc_ld_cmp, I_Ledger) and exposes 12 fields with key fields Ledger, CompanyCode.

Data Sources (2)

SourceAliasJoin Type
finsc_ld_cmp f from
I_Ledger l inner

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PCMLDCURTPS view
VDM.viewType #BASIC view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY Ledger finsc_ld_cmp rldnr Ledger (Compat.)
KEY CompanyCode finsc_ld_cmp bukrs Value
CompanyCodeCurrencyRole finsc_ld_cmp curtph Field Name
GlobalCurrencyRole finsc_ld_cmp curtpk Field Name
FreeDefinedCurrency1Role finsc_ld_cmp curtpo FreeDef Crcy 1
FreeDefinedCurrency2Role finsc_ld_cmp curtpv FreeDef Crcy 2
FreeDefinedCurrency3Role finsc_ld_cmp curtpb FreeDef Crcy 3
FreeDefinedCurrency4Role finsc_ld_cmp curtpc FreeDef Crcy 4
FreeDefinedCurrency5Role finsc_ld_cmp curtpd FreeDef Crcy 5
FreeDefinedCurrency6Role finsc_ld_cmp curtpe FreeDef Crcy 6
FreeDefinedCurrency7Role finsc_ld_cmp curtpf FreeDef Crcy 7
FreeDefinedCurrency8Role 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_CoCodeLedgerValnCrcyRole.
-- 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: PCMLDCURTPS

CREATE VIEW P_CoCodeLedgerValnCrcyRole AS
SELECT
  f.rldnr AS Ledger,
  f.bukrs AS CompanyCode,
  f.curtph AS CompanyCodeCurrencyRole,
  f.curtpk AS GlobalCurrencyRole,
  f.curtpo AS FreeDefinedCurrency1Role,
  f.curtpv AS FreeDefinedCurrency2Role,
  f.curtpb AS FreeDefinedCurrency3Role,
  f.curtpc AS FreeDefinedCurrency4Role,
  f.curtpd AS FreeDefinedCurrency5Role,
  f.curtpe AS FreeDefinedCurrency6Role,
  f.curtpf AS FreeDefinedCurrency7Role,
  f.curtpg AS FreeDefinedCurrency8Role
FROM finsc_ld_cmp AS f
INNER JOIN I_Ledger AS l ON /* join condition not captured in parsed metadata */
;