Fcml_Rep_AB_EB_Ddl
CDS View struct FCML_REP, Beg./End.Inv.
Fcml_Rep_AB_EB_Ddl is a CDS View that provides data about "CDS View struct FCML_REP, Beg./End.Inv." in SAP S/4HANA. It reads from 2 data sources (fcml_act_perds_v, fcml_act_perds_v) and exposes 41 fields with key fields kalnr_mat, poper, BDATJ, RUN_ACT, RUN_APPL. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| fcml_act_perds_v | periods | from |
| fcml_act_perds_v | periods | union_all |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | FCMLDOC_EX_MAT_DDL | _mlextr | _mlextr.jahrper < periods.jahrper |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FCML_REP_AB_EB_V | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| EndUserText.label | CDS View struct FCML_REP, Beg./End.Inv. | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | kalnr_mat | _mlextr | kalnr_mat | ProdCostEst.No. |
| KEY | poper | |||
| KEY | BDATJ | |||
| KEY | RUN_ACT | |||
| KEY | RUN_APPL | |||
| KEY | CATEG | |||
| KEY | PTYP | |||
| KEY | PSART | |||
| KEY | KALNR_PMAT | |||
| KEY | bvalt | |||
| KEY | process | |||
| KEY | curtp | _mlextr | curtp | Valuation Area |
| KEY | rldnr | _mlextr | rldnr | Ledger (Compat.) |
| lbkum | ||||
| meins | _mlextr | meins | Valuation Unit | |
| salk3 | ||||
| estprd | ||||
| estkdm | ||||
| mstprd | ||||
| mstkdm | ||||
| kalnr_mat | ProdCostEst.No. | |||
| KEY | poper | |||
| KEY | BDATJ | |||
| KEY | RUN_ACT | |||
| KEY | RUN_APPL | |||
| KEY | CATEG | |||
| KEY | PTYP | |||
| KEY | PSART | |||
| KEY | KALNR_PMAT | |||
| KEY | bvalt | |||
| KEY | process | |||
| KEY | curtp | _mlextr | curtp | Valuation Area |
| KEY | rldnr | _mlextr | rldnr | Ledger (Compat.) |
| lbkum | ||||
| meins | _mlextr | meins | Valuation Unit | |
| salk3 | ||||
| estprd | ||||
| estkdm | ||||
| mstprd | ||||
| mstkdm | ||||
| waers | _mlextr | waers | Transaction Currency |
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 Fcml_Rep_AB_EB_Ddl.
-- 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: FCML_REP_AB_EB_V
CREATE VIEW Fcml_Rep_AB_EB_Ddl AS
SELECT
_mlextr.kalnr_mat AS kalnr_mat,
cast ( substring(periods.jahrper, 5, 3) as poper) AS poper,
cast ( substring(periods.jahrper, 1, 4) as bdatj) AS BDATJ,
cast ( ' ' as ckml_run_type preserving type ) AS RUN_ACT,
cast ( ' ' as ckml_run_appl preserving type ) AS RUN_APPL,
cast ( 'AB' as ckml_categ preserving type ) AS CATEG,
cast ( ' ' as ck_ptyp_bvalt preserving type ) AS PTYP,
cast ( ' ' as ck_psart preserving type ) AS PSART,
cast ( '000000000000' as ck_kalnr preserving type ) AS KALNR_PMAT,
cast ( '000000000000' as ckml_alprocnr preserving type ) AS bvalt,
cast ( '000000000000' as ckml_f_procnr preserving type ) AS process,
_mlextr.curtp AS curtp,
_mlextr.rldnr AS rldnr,
sum (_mlextr.lbkum) AS lbkum,
_mlextr.meins AS meins,
sum (_mlextr.salk3) AS salk3,
cast ( 0 as ckml_estprd ) AS estprd,
cast ( 0 as ckml_estkdm ) AS estkdm,
cast ( 0 as ckml_mstprd ) AS mstprd,
cast ( 0 as ckml_mstkdm ) AS mstkdm,
_mlextr.waers AS waers
FROM fcml_act_perds_v AS periods
LEFT OUTER JOIN FCMLDOC_EX_MAT_DDL AS _mlextr ON /* condition not available in parsed metadata */ -- association [1..*]
-- UNION ALL with additional select branch(es): fcml_act_perds_v
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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