FCML_CCS_REP_DDL
CDS View w.struct. of table FCML_CCS_REP
FCML_CCS_REP_DDL is a CDS View that provides data about "CDS View w.struct. of table FCML_CCS_REP" in SAP S/4HANA. It reads from 8 data sources and exposes 51 fields with key fields kalnr_mat, poper, BDATJ, RUN_ACT, RUN_APPL.
Data Sources (8)
Parameters (1)
| Name | Type | Default |
|---|---|---|
| p_sys_langu | syst_langu |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FCML_CCS_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 w.struct. of table FCML_CCS_REP | view |
Fields (51)
| 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 | elesmhk | Cost Comp. Str. | ||
| KEY | element | Target identifier | ||
| KEY | svrel | Relev. f. Stock Val. | ||
| KEY | mlcct | Sing/Multilevel | ||
| KEY | keart | Type of CCS | ||
| KEY | curtp | mldoc | curtp | Valuation Area |
| KEY | rldnr | mldoc | rldnr | Ledger (Compat.) |
| jahrper | ||||
| egrup | Equity group | |||
| fixasfcml_ccsvalfendasPRCDIF_FIX | ||||
| fixasfcml_ccsvalvendasPRCDIF_VAR | ||||
| waers | mldoc | waers | Transaction Currency | |
| ELETXT | ||||
| fixllasfcml_ccsvalf_sendasPRCDIF_FIX_S | ||||
| kalnr_mat | ||||
| poper | fcml_ccs_r_ae_v | poper | Posting periods | |
| bdatj | fcml_ccs_r_ae_v | bdatj | Year | |
| run_act | fcml_ccs_r_ae_v | run_act | ||
| run_appl | fcml_ccs_r_ae_v | run_appl | ||
| categ | fcml_ccs_r_ae_v | categ | Category | |
| ptyp | fcml_ccs_r_ae_v | ptyp | Visibility (I/E/V/C) | |
| psart | fcml_ccs_r_ae_v | psart | Item type | |
| kalnr_pmat | fcml_ccs_r_ae_v | kalnr_pmat | ||
| bvalt | fcml_ccs_r_ae_v | bvalt | PrcrmntAlt/Proc | |
| process | fcml_ccs_r_ae_v | process | Trans. | |
| elesmhk | fcml_ccs_r_ae_v | elesmhk | Cost Comp. Str. | |
| element | fcml_ccs_r_ae_v | element | Target identifier | |
| svrel | fcml_ccs_r_ae_v | svrel | Relev. f. Stock Val. | |
| mlcct | fcml_ccs_r_ae_v | mlcct | Sing/Multilevel | |
| keart | fcml_ccs_r_ae_v | keart | Type of CCS | |
| curtp | fcml_ccs_r_ae_v | curtp | Valuation Area | |
| rldnr | fcml_ccs_r_ae_v | rldnr | Ledger (Compat.) | |
| jahrper | ||||
| egrup | tckh3 | egrup | Equity group | |
| prcdif_fix | fcml_ccs_r_ae_v | prcdif_fix | ||
| prcdif_var | fcml_ccs_r_ae_v | prcdif_var | ||
| waers | fcml_ccs_r_ae_v | waers | Transaction Currency | |
| ELETXT | ||||
| prcdif_fix_s | fcml_ccs_r_ae_v | prcdif_fix_s | ||
| prcdif_var_s | fcml_ccs_r_ae_v | prcdif_var_s |
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_CCS_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_CCS_REP_V
-- Parameters: p_sys_langu : syst_langu
CREATE VIEW FCML_CCS_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,
cast ( ccs.elesmhk as ck_elesmhk preserving type ) AS elesmhk,
cast ( ccs.element as ck_element preserving type ) AS element,
cast ( ccs.svrel as ml4h_svrel preserving type ) AS svrel,
cast ( ccs.mlcct as ml4h_mlcct preserving type ) AS mlcct,
cast ( ccs.keart as keart preserving type ) AS keart,
doc.curtp AS curtp,
doc.rldnr AS rldnr,
cast( doc.jahrper as jahrper) AS jahrper,
cast ( t3.egrup as ck_el_grup preserving type ) AS egrup,
case doc.categ when 'EB' then 0 - cast ( sum (ccs.fix) as fcml_ccsvalf ) else cast ( sum (ccs.fix) as fcml_ccsvalf ) end as PRCDIF_FIX AS fixasfcml_ccsvalfendasPRCDIF_FIX,
case doc.categ when 'EB' then cast (sum ( ccs.fix) as fcml_ccsvalv ) - cast ( sum ( ccs.tot) as fcml_ccsvalv ) else cast ( sum ( ccs.tot) as fcml_ccsvalv ) - cast (sum ( ccs.fix) as fcml_ccsvalv ) end as PRCDIF_VAR AS fixasfcml_ccsvalvendasPRCDIF_VAR,
doc.waers AS waers,
cast ( t1.txele as fcml_eletxt preserving type ) AS ELETXT,
case doc.categ when 'EB' then 0 - cast ( sum (ccs.fixll) as fcml_ccsvalf_s ) else cast ( sum (ccs.fixll) as fcml_ccsvalf_s ) end as PRCDIF_FIX_S AS fixllasfcml_ccsvalf_sendasPRCDIF_FIX_S,
ccs_ext_ae.prcdif_fix AS prcdif_fix,
ccs_ext_ae.prcdif_var AS prcdif_var,
ccs_ext_ae.prcdif_fix_s AS prcdif_fix_s,
ccs_ext_ae.prcdif_var_s AS prcdif_var_s
FROM mldoc AS doc
INNER JOIN mlrunlist AS mlrun ON /* join condition not captured in parsed metadata */
INNER JOIN mldocccs AS ccs ON /* join condition not captured in parsed metadata */
INNER JOIN tckh3 AS t3 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tckh1 AS t1 ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): fcml_ccs_r_ae_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