ICA_CONSJOURNALENTRIES_4

DDL: ICA_CONSJOURNALENTRIES_4 SQL: ICACONSJES4 Type: view

Match Consolidation Journal Entry Lines

ICA_CONSJOURNALENTRIES_4 is a CDS View that provides data about "Match Consolidation Journal Entry Lines" in SAP S/4HANA. It reads from 11 data sources and exposes 190 fields.

Data Sources (11)

SourceAliasJoin Type
ICA_FS_ITEM _assignment left_outer
ICA_FS_ITEM _assignment left_outer
acdoca acdoca union_all
acdocu acdocu from
fincs_bunit_atd fincs_bunit_atd inner
fincs_bunit_atvd fincs_bunit_atvd left_outer
fincs_fsitem fincs_fsitem inner
finsc_fisc_date finsc_fisc_date inner
finsc_ledger_rep finsc_ledger_rep inner
tf200 tf200 left_outer
tf200 tf200 inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName ICACONSJES4 view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Match Consolidation Journal Entry Lines view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view

Fields (190)

KeyFieldSource TableSource FieldDescription
rclnt rclnt Client
method_id
DOCNR
DOCLN
GRREF
PSTAT
CSTAT
DUE_DATE
CLEARING_STATUS
fiscyearper fiscyearper Fiscal Year Period
rldnr rldnr Cons. Ledger
rdimen rdimen Dimension
ryear ryear Tax Item Fiscal Year
gjahr ryear Settlement Year
ref_belnr docnr SD Document
ref_docln docln Matching Document Line Item
rrcty rrcty Record Type
BTTYPE
drcrk Debit/Credit
rvers acdocu rvers Version: Tax rt
rtcur rtcur Transaction Currency
rhcur rhcur Local Currency
rkcur rkcur Group Currency
runit runit Unit/Area
poper poper Posting Period
docct docct Document Categ.
rcomp rcomp Trading Partner
rbunit rbunit Consolidation Unit
ritclg ritclg Consolidation COA
ritem ritem Reporting Item
sa_role
rbuptr rbuptr Partner Unit
rcongr rcongr Consolidation Group
robukrs robukrs Company Code
sityp sityp Trip Schedule Type
subit subit Subitem
plevl plevl Posting Level
rpflg
rtflg rtflg Currency Translation Indicator
docty docty Document Type
blart Rep. rec. doc. type
yracq
pracq
coicu
tsl tsl OrigTrnsCrcyAmt
hsl hsl Local Crcy Amt
ksl ksl GrpCurr
msl msl Stat. KeyFig. Qty
sgtxt sgtxt Text
budat budat Posting Date
timestamp timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
awtyp awtyp Reference Document Type
aworg aworg Refer. Org.Unit
ktopl ktopl G/L Chart of Accounts
racct racct GL Account From
zuonr zuonr Finance Project
rcntr rcntr Cost Center
prctr prctr Profit Centers
rfarea rfarea R FuncArea
rbusa
kokrs kokrs Org. Value
segment segment Segment number
scntr scntr Sender Cost Ctr
pprctr pprctr Partner PC
sfarea sfarea Sender FnArea
sbusa
rassc rassc Trading Partner
psegment psegment Partner Segment
aufnr aufnr SettlementOrder
kunnr kunnr Stock customer
koart Account type
umskz Special G/L Ind
mwskz Tax Code
xopvw OI Management
augdt Clearing
augbl Clrng doc.
auggj Clrg Fiscal Yr
lifnr lifnr Vendor no.
matnr matnr Vehicle Model
matkl_mm matkl_mm Material Group
werks werks Receiving Plant
rmvct rmvct Transact. Type
ps_psp_pnr ps_psp_pnr WBS Element
ps_posid ps_posid WBS Element
ps_pspid ps_pspid Project def.
fkart fkart Ship. cost type
vkorg vkorg SD Sales Org.
vtweg vtweg RefDistCh-Cust/Mat.
spart spart Source supplier
matnr_copa matnr_copa Product Sold
matkl matkl Product Sold Group
kdgrp kdgrp Customer group
land1 land1 Trip Ctry/Reg
brsch brsch Industry
bzirk bzirk Sales District
kunre kunre Bill-to Party
kunwe kunwe Ship-to Party
konzs konzs Group
awref Reference Doc.
fieldnameRUNITrclnt Reversed doc.
method_id
DOCNR
DOCLN
GRREF
PSTAT
CSTAT
DUE_DATE
fiscyearper finsc_fisc_date fiscal_year_period Fiscal Year Period
rldnr tf200 rldnr_cons Cons. Ledger
rdimen Dimension
ryear finsc_fisc_date fiscal_year Tax Item Fiscal Year
gjahr gjahr Settlement Year
ref_belnr belnr SD Document
ref_docln docln Matching Document Line Item
rrcty rrcty Record Type
bttype bttype Business Transaction Type
drcrk drcrk Debit/Credit
rvers tf200 rvers Version: Tax rt
rtcur rwcur Transaction Currency
rhcur Local Currency
rkcur tf200 group_curr Group Currency
poper finsc_fisc_date fiscal_period Posting Period
docct Document Categ.
rcomp acdoca rcomp Trading Partner
rbunit rbunit Consolidation Unit
ritclg ritclg Consolidation COA
ritem ritem Reporting Item
sa_role
rbuptr rbuptr Partner Unit
rcongr Consolidation Group
robukrs rbukrs Company Code
sityp sityp Trip Schedule Type
subit subit Subitem
plevl Posting Level
rtflg Currency Translation Indicator
docty Document Type
blart blart Rep. rec. doc. type
tsl wsl OrigTrnsCrcyAmt
sgtxt sgtxt Text
budat budat Posting Date
timestamp timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
awtyp awtyp Reference Document Type
aworg aworg Refer. Org.Unit
ktopl ktopl G/L Chart of Accounts
racct racct GL Account From
zuonr zuonr Finance Project
rcntr rcntr Cost Center
prctr acdoca prctr Profit Centers
rfarea rfarea R FuncArea
kokrs acdoca kokrs Org. Value
segment segment Segment number
scntr scntr Sender Cost Ctr
pprctr pprctr Partner PC
sfarea sfarea Sender FnArea
rassc rassc Trading Partner
psegment psegment Partner Segment
aufnr aufnr SettlementOrder
kunnr kunnr Stock customer
koart koart Account type
umskz umskz Special G/L Ind
mwskz acdoca mwskz Tax Code
xopvw acdoca xopvw OI Management
augdt augdt Clearing
augbl augbl Clrng doc.
auggj auggj Clrg Fiscal Yr
lifnr lifnr Vendor no.
matnr matnr Vehicle Model
matkl_mm matkl_mm Material Group
werks werks Receiving Plant
rmvct rmvct Transact. Type
ps_psp_pnr ps_psp_pnr WBS Element
ps_posid ps_posid WBS Element
ps_pspid ps_pspid Project def.
fkart fkart Ship. cost type
vkorg vkorg SD Sales Org.
vtweg vtweg RefDistCh-Cust/Mat.
spart spart Source supplier
matnr_copa matnr_copa Product Sold
matkl matkl Product Sold Group
kdgrp kdgrp Customer group
land1 land1 Trip Ctry/Reg
brsch brsch Industry
bzirk bzirk Sales District
kunre kunre Bill-to Party
kunwe kunwe Ship-to Party
konzs konzs Group
xreversing xreversing Reversal doc.
xreversed xreversed Reversed
awref awref Reference Doc.
awref_rev awref_rev Reversal Ref.

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_4.
-- 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: ICACONSJES4

CREATE VIEW ICA_CONSJOURNALENTRIES_4 AS
SELECT
  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,
  fiscyearper,
  rldnr,
  rdimen,
  ryear,
  ryear AS gjahr,
  docnr AS ref_belnr,
  docln AS ref_docln,
  rrcty,
  cast('' as fins_bttype) AS BTTYPE,
  cast('' as shkzg) AS drcrk,
  acdocu.rvers AS rvers,
  rtcur,
  rhcur,
  rkcur,
  runit,
  poper,
  docct,
  rcomp,
  rbunit,
  ritclg,
  ritem,
  coalesce(_assignment.sa_role, '') AS sa_role,
  rbuptr,
  rcongr,
  robukrs,
  sityp,
  subit,
  plevl,
  rtflg,
  docty,
  cast('' as blart) AS blart,
  tsl,
  hsl,
  ksl,
  msl,
  sgtxt,
  budat,
  timestamp,
  awtyp,
  aworg,
  ktopl,
  racct,
  zuonr,
  rcntr,
  prctr,
  rfarea,
  kokrs,
  segment,
  scntr,
  pprctr,
  sfarea,
  rassc,
  psegment,
  aufnr,
  kunnr,
  cast('' as koart) AS koart,
  cast('' as umskz) AS umskz,
  cast('' as mwskz) AS mwskz,
  cast('' as xopvw) AS xopvw,
  cast('00000000' as augdt) AS augdt,
  cast('' as augbl) AS augbl,
  cast('' as auggj) AS auggj,
  lifnr,
  matnr,
  matkl_mm,
  werks,
  rmvct,
  ps_psp_pnr,
  ps_posid,
  ps_pspid,
  fkart,
  vkorg,
  vtweg,
  spart,
  matnr_copa,
  matkl,
  kdgrp,
  land1,
  brsch,
  bzirk,
  kunre,
  kunwe,
  konzs,
  cast('' as awref) AS awref,
  case when orndocnr <> '' then cast(orndocnr as awref_rev) else cast(rvsdocnr as awref_rev) end as AWREF_REV AS fieldnameRUNITrclnt,
  xreversing,
  xreversed,
  awref_rev
FROM acdocu
LEFT OUTER 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 */
LEFT OUTER JOIN fincs_bunit_atvd ON /* join condition not captured in parsed metadata */
INNER JOIN finsc_ledger_rep ON /* join condition not captured in parsed metadata */
INNER JOIN tf200 ON /* join condition not captured in parsed metadata */
INNER JOIN finsc_fisc_date ON /* join condition not captured in parsed metadata */
INNER JOIN fincs_bunit_atd ON /* join condition not captured in parsed metadata */
INNER JOIN fincs_fsitem ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): acdoca
;