P_ML_CoCode_Ledger_BCF

DDL: P_ML_COCODE_LEDGER_BCF Type: view_entity COMPOSITE

P_ML_CoCode_Ledger_BCF is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_LedgerCompanyCodeCrcyRoles) and exposes 13 fields with key fields CompanyCode, Ledger.

Data Sources (1)

SourceAliasJoin Type
I_LedgerCompanyCodeCrcyRoles f from

Parameters (1)

NameTypeDefault
P_CalendarDate calendardate

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_LedgerCompanyCodeCrcyRoles CompanyCode Receiver Company Code
KEY Ledger I_LedgerCompanyCodeCrcyRoles Ledger Ledger
FiscalYearVariant I_LedgerCompanyCodeCrcyRoles FiscalYearVariant FY Variant
CompanyCodeCurrencyRole _CurtpH CurrencyRole Curr./Val. Type
GlobalCurrencyRole _CurtpK CurrencyRole Curr./Val. Type
FreeDefinedCurrency1Role _CurtpO CurrencyRole Curr./Val. Type
FreeDefinedCurrency2Role _CurtpV CurrencyRole Curr./Val. Type
FreeDefinedCurrency3Role _CurtpB CurrencyRole Curr./Val. Type
FreeDefinedCurrency4Role _CurtpC CurrencyRole Curr./Val. Type
FreeDefinedCurrency5Role _CurtpD CurrencyRole Curr./Val. Type
FreeDefinedCurrency6Role _CurtpE CurrencyRole Curr./Val. Type
FreeDefinedCurrency7Role _CurtpF CurrencyRole Curr./Val. Type
FreeDefinedCurrency8Role _CurtpG CurrencyRole Curr./Val. Type

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_ML_CoCode_Ledger_BCF.
-- 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.
-- Parameters: P_CalendarDate : calendardate

CREATE VIEW P_ML_CoCode_Ledger_BCF AS
SELECT
  f.CompanyCode AS CompanyCode,
  f.Ledger AS Ledger,
  f.FiscalYearVariant AS FiscalYearVariant,
  _CurtpH.CurrencyRole AS CompanyCodeCurrencyRole,
  _CurtpK.CurrencyRole AS GlobalCurrencyRole,
  _CurtpO.CurrencyRole AS FreeDefinedCurrency1Role,
  _CurtpV.CurrencyRole AS FreeDefinedCurrency2Role,
  _CurtpB.CurrencyRole AS FreeDefinedCurrency3Role,
  _CurtpC.CurrencyRole AS FreeDefinedCurrency4Role,
  _CurtpD.CurrencyRole AS FreeDefinedCurrency5Role,
  _CurtpE.CurrencyRole AS FreeDefinedCurrency6Role,
  _CurtpF.CurrencyRole AS FreeDefinedCurrency7Role,
  _CurtpG.CurrencyRole AS FreeDefinedCurrency8Role
FROM I_LedgerCompanyCodeCrcyRoles AS f
;