ICA_CONSJOURNALENTRIES_3C

DDL: ICA_CONSJOURNALENTRIES_3C Type: view_entity

Match Consolidation Journal Entry Lines

ICA_CONSJOURNALENTRIES_3C is a CDS View that provides data about "Match Consolidation Journal Entry Lines" in SAP S/4HANA. It reads from 4 data sources (ICA_FS_ITEM, acdocu, fincs_ref_vers_r, tf200) and exposes 94 fields.

Data Sources (4)

SourceAliasJoin Type
ICA_FS_ITEM _assignment left_outer
acdocu acdocu from
fincs_ref_vers_r fincs_ref_vers_r inner
tf200 tf200 inner

Annotations (4)

NameValueLevelField
EndUserText.label Match Consolidation Journal Entry Lines view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view

Fields (94)

KeyFieldSource TableSource FieldDescription
RCLNT
method_id
DOCNR
DOCLN
GRREF
PSTAT
CSTAT
DUE_DATE
CLEARING_STATUS
fiscyearper acdocu fiscyearper Period/Year
rldnr acdocu rldnr Ledger (Compat.)
rdimen acdocu rdimen Dimension
ryear acdocu ryear Ref. Year1
gjahr acdocu ryear Ref. Year1
ref_belnr acdocu docnr Well doc.no.
ref_docln acdocu docln Matching Document Line Item
rrcty acdocu rrcty Record Type
rvers fincs_ref_vers_r version XML Vers.
rtcur acdocu rtcur Currency
rhcur acdocu rhcur Local Currency
rkcur
runit acdocu runit Unit/Area
poper acdocu poper Posting periods
docct acdocu docct Document Categ.
rcomp acdocu rcomp Trading Partner
rbunit acdocu rbunit Consolidation Unit
ritclg acdocu ritclg Consolidation COA
ritem acdocu ritem Reporting Item
sa_role
rbuptr acdocu rbuptr Partner Unit
rcongr acdocu rcongr Consolidation Group
robukrs acdocu robukrs Orig. CC
sityp acdocu sityp Trip Schedule Type
subit acdocu subit Subitem
plevl acdocu plevl Posting Level
rpflg
rtflg acdocu rtflg Currency Translation Indicator
docty acdocu docty Document Type
yracq
pracq
coicu
tsl acdocu tsl Trans. Currency
hsl acdocu hsl Local Crcy Amt
ksl
msl acdocu msl Stat. KeyFig. Qty
tsl_csign acdocu tsl_csign Amount in TC
hsl_csign acdocu hsl_csign Local Crcy Amt
ksl_csign
msl_csign acdocu msl_csign Quantity
sgtxt acdocu sgtxt Text
budat acdocu budat Posting Date
timestamp acdocu timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
awtyp acdocu awtyp Reference Document Type
aworg acdocu aworg Refer. Org.Unit
ktopl acdocu ktopl G/L Chart of Accounts
racct acdocu racct GL Account From
zuonr acdocu zuonr Finance Project
rcntr acdocu rcntr Cost Center
prctr acdocu prctr Profit Centers
rfarea acdocu rfarea R FuncArea
rbusa
kokrs acdocu kokrs Org. Value
segment acdocu segment Segment number
scntr acdocu scntr Sender Cost Ctr
pprctr acdocu pprctr Partner PC
sfarea acdocu sfarea Sender FnArea
sbusa
rassc acdocu rassc Trading Partner
psegment acdocu psegment Partner Segment
aufnr acdocu aufnr SettlementOrder
kunnr acdocu kunnr Stock customer
lifnr acdocu lifnr Vendor no.
matnr acdocu matnr Vehicle Model
matkl_mm acdocu matkl_mm Material Group
werks acdocu werks Receiving Plant
rmvct acdocu rmvct Transact. Type
ps_psp_pnr acdocu ps_psp_pnr WBS Element
ps_posid acdocu ps_posid WBS Element
ps_pspid acdocu ps_pspid Project def.
fkart acdocu fkart Ship. cost type
vkorg acdocu vkorg SD Sales Org.
vtweg acdocu vtweg RefDistCh-Cust/Mat.
spart acdocu spart Source supplier
matnr_copa acdocu matnr_copa Product Sold
matkl acdocu matkl Product Sold Group
kdgrp acdocu kdgrp Customer group
land1 acdocu land1 Trip Ctry/Reg
brsch acdocu brsch Industry
bzirk acdocu bzirk Sales District
kunre acdocu kunre Bill-to Party
kunwe acdocu kunwe Ship-to Party
konzs acdocu konzs Group
awref
rvsdocnrasawref_revendasAWREF_REV

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 ICA_CONSJOURNALENTRIES_3C.
-- 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.

CREATE VIEW ICA_CONSJOURNALENTRIES_3C AS
SELECT
  $session.client AS RCLNT,
  cast('' as ica_method_id) AS method_id,
  cast('0000000000' as ica_docnr) AS DOCNR,
  cast(0 as ica_docln) AS DOCLN,
  cast('000000000000' as ica_grref) AS GRREF,
  cast('00' as ica_pstat) AS PSTAT,
  cast('' as ica_cstat) AS CSTAT,
  cast('00000000' as ica_due_date) AS DUE_DATE,
  cast('0' as ica_clearing_status) AS CLEARING_STATUS,
  acdocu.fiscyearper AS fiscyearper,
  acdocu.rldnr AS rldnr,
  acdocu.rdimen AS rdimen,
  acdocu.ryear AS ryear,
  acdocu.ryear AS gjahr,
  acdocu.docnr AS ref_belnr,
  acdocu.docln AS ref_docln,
  acdocu.rrcty AS rrcty,
  fincs_ref_vers_r.version AS rvers,
  acdocu.rtcur AS rtcur,
  acdocu.rhcur AS rhcur,
  case when tf200.group_curr = acdocu.rkcur then acdocu.rkcur else cast('' as gcurr) end AS rkcur,
  acdocu.runit AS runit,
  acdocu.poper AS poper,
  acdocu.docct AS docct,
  acdocu.rcomp AS rcomp,
  acdocu.rbunit AS rbunit,
  acdocu.ritclg AS ritclg,
  acdocu.ritem AS ritem,
  coalesce(_assignment.sa_role, '') AS sa_role,
  acdocu.rbuptr AS rbuptr,
  acdocu.rcongr AS rcongr,
  acdocu.robukrs AS robukrs,
  acdocu.sityp AS sityp,
  acdocu.subit AS subit,
  acdocu.plevl AS plevl,
  acdocu.rtflg AS rtflg,
  acdocu.docty AS docty,
  acdocu.tsl AS tsl,
  acdocu.hsl AS hsl,
  case when tf200.group_curr = acdocu.rkcur then acdocu.ksl else cast(0 as vgcur12) end AS ksl,
  acdocu.msl AS msl,
  acdocu.tsl_csign AS tsl_csign,
  acdocu.hsl_csign AS hsl_csign,
  case when tf200.group_curr = acdocu.rkcur then acdocu.ksl_csign else cast(0 as vgcur12) end AS ksl_csign,
  acdocu.msl_csign AS msl_csign,
  acdocu.sgtxt AS sgtxt,
  acdocu.budat AS budat,
  acdocu.timestamp AS timestamp,
  acdocu.awtyp AS awtyp,
  acdocu.aworg AS aworg,
  acdocu.ktopl AS ktopl,
  acdocu.racct AS racct,
  acdocu.zuonr AS zuonr,
  acdocu.rcntr AS rcntr,
  acdocu.prctr AS prctr,
  acdocu.rfarea AS rfarea,
  acdocu.kokrs AS kokrs,
  acdocu.segment AS segment,
  acdocu.scntr AS scntr,
  acdocu.pprctr AS pprctr,
  acdocu.sfarea AS sfarea,
  acdocu.rassc AS rassc,
  acdocu.psegment AS psegment,
  acdocu.aufnr AS aufnr,
  acdocu.kunnr AS kunnr,
  acdocu.lifnr AS lifnr,
  acdocu.matnr AS matnr,
  acdocu.matkl_mm AS matkl_mm,
  acdocu.werks AS werks,
  acdocu.rmvct AS rmvct,
  acdocu.ps_psp_pnr AS ps_psp_pnr,
  acdocu.ps_posid AS ps_posid,
  acdocu.ps_pspid AS ps_pspid,
  acdocu.fkart AS fkart,
  acdocu.vkorg AS vkorg,
  acdocu.vtweg AS vtweg,
  acdocu.spart AS spart,
  acdocu.matnr_copa AS matnr_copa,
  acdocu.matkl AS matkl,
  acdocu.kdgrp AS kdgrp,
  acdocu.land1 AS land1,
  acdocu.brsch AS brsch,
  acdocu.bzirk AS bzirk,
  acdocu.kunre AS kunre,
  acdocu.kunwe AS kunwe,
  acdocu.konzs AS konzs,
  cast('' as awref) AS awref,
  case when acdocu.orndocnr <> '' then cast(acdocu.orndocnr as awref_rev) else cast(acdocu.rvsdocnr as awref_rev) end as AWREF_REV AS rvsdocnrasawref_revendasAWREF_REV
FROM acdocu
INNER JOIN fincs_ref_vers_r ON /* join condition not captured in parsed metadata */
INNER JOIN tf200 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ICA_FS_ITEM AS _assignment ON /* join condition not captured in parsed metadata */
;