Fcml_Rep_Ddl
CDS View with structure of table FCML_REP
Fcml_Rep_Ddl is a CDS View that provides data about "CDS View with structure of table FCML_REP" in SAP S/4HANA. It reads from 2 data sources (mldoc, fcml_rep_ab_eb_v) and exposes 38 fields with key fields kalnr_mat, poper, BDATJ, RUN_ACT, RUN_APPL.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| mldoc | doc | from |
| fcml_rep_ab_eb_v | fcml_rep_ab_eb_v | union_all |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FCML_REP_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 with structure of table FCML_REP | view |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | kalnr_mat | |||
| KEY | poper | Posting periods | ||
| KEY | BDATJ | |||
| KEY | RUN_ACT | |||
| KEY | RUN_APPL | |||
| KEY | CATEG | |||
| KEY | PTYP | |||
| KEY | PSART | |||
| KEY | KALNR_PMAT | |||
| KEY | bvalt | PrcrmntAlt/Proc | ||
| KEY | process | Trans. | ||
| KEY | curtp | mldoc | curtp | Valuation Area |
| KEY | rldnr | mldoc | rldnr | Ledger (Compat.) |
| jahrper | ||||
| meins | Valuation Unit | |||
| mstprd | ||||
| mstkdm | ||||
| poper | poper | Posting periods | ||
| bdatj | bdatj | Year | ||
| run_act | run_act | |||
| run_appl | run_appl | |||
| categ | categ | Category | ||
| ptyp | ptyp | Visibility (I/E/V/C) | ||
| psart | psart | Item type | ||
| kalnr_pmat | kalnr_pmat | |||
| bvalt | bvalt | PrcrmntAlt/Proc | ||
| process | process | Trans. | ||
| curtp | curtp | Valuation Area | ||
| rldnr | rldnr | Ledger (Compat.) | ||
| jahrper | ||||
| lbkum | Valuated stock | |||
| meins | meins | Valuation Unit | ||
| salk3 | salk3 | Total Value | ||
| estprd | estprd | |||
| estkdm | estkdm | |||
| mstprd | mstprd | |||
| mstkdm | mstkdm | |||
| waers | 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_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_V
CREATE VIEW Fcml_Rep_Ddl AS
SELECT
cast( doc.kalnr as ck_kalnr preserving type ) AS kalnr_mat,
cast( substring(doc.jahrper, 5, 3) as poper) AS poper,
cast( substring(doc.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( doc.categ as ckml_categ preserving type ) AS CATEG,
cast( doc.ptyp as ck_ptyp_bvalt preserving type ) AS PTYP,
cast( doc.posart as ck_psart preserving type ) AS PSART,
cast( doc.pkalnr as ck_kalnr preserving type ) AS KALNR_PMAT,
cast( doc.bvalt as ckml_alprocnr preserving type ) AS bvalt,
cast( doc.process as ckml_f_procnr preserving type ) AS process,
doc.curtp AS curtp,
doc.rldnr AS rldnr,
cast( doc.jahrper as jahrper) AS jahrper,
cast ( doc.meins as meins preserving type ) AS meins,
cast ( 0 as ckml_mstprd ) AS mstprd,
cast ( 0 as ckml_mstkdm ) AS mstkdm,
cast ( lbkum as ck_lbkum ) AS lbkum,
salk3,
estprd,
estkdm,
waers
FROM mldoc AS doc
-- UNION ALL with additional select branch(es): fcml_rep_ab_eb_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