P_ML_CoCode_Ledger_BCF
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)
| Source | Alias | Join Type |
|---|---|---|
| I_LedgerCompanyCodeCrcyRoles | f | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_CalendarDate | calendardate |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
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