ICA_P_CONSJOURNALENTRIES

DDL: ICA_P_CONSJOURNALENTRIES SQL: ICAPCJES Type: view

ICA: Consolidation Journal Entry Line Items from ACDOCA

ICA_P_CONSJOURNALENTRIES is a CDS View that provides data about "ICA: Consolidation Journal Entry Line Items from ACDOCA" in SAP S/4HANA. It reads from 2 data sources (ICA_P_CONSJOURNALENTRIES_01, tf040) and exposes 97 fields.

Data Sources (2)

SourceAliasJoin Type
ICA_P_CONSJOURNALENTRIES_01 source from
tf040 tf040 left_outer

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName ICAPCJES view
AbapCatalog.compiler.compareFilter true view
EndUserText.label ICA: Consolidation Journal Entry Line Items from ACDOCA 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 (97)

KeyFieldSource TableSource FieldDescription
rclnt rclnt Client
method_id
DOCNR
DOCLN
GRREF
PSTAT
CSTAT
DUE_DATE
rldnr rldnr Ledger (Compat.)
rdimen rdimen Dimension
ryear ryear Ref. Year1
gjahr gjahr Settlement Year
fiscyearper fiscyearper Period/Year
ref_belnr ref_belnr Document Number
ref_docln ref_docln G/L Line Item
rrcty rrcty Record Type
bttype bttype Business Transaction Type
drcrk drcrk Debit/Credit
rvers rvers Version: Tax rt
iatvs iatvs FS Item Attributes Version
rwcur rwcur Transaction Currency
rtcur rtcur Currency
rhcur rhcur Local Currency
rkcur rkcur Ledger curr.
runit runit Unit/Area
poper poper Posting periods
docct docct Document Categ.
rcomp rcomp Trading Partner
rbunit rbunit Consolidation Unit
ritclg ritclg Consolidation COA
ritem ritem Reporting Item
rcongr
robukrs robukrs Orig. CC
sityp
subitendendasfc_sitemasSubIt
plevl plevl Posting Level
rtflg rtflg Currency Translation Indicator
docty docty Document Type
blart blart Rep. rec. doc. type
wsl wsl OrigTrnsCrcyAmt
tsl tsl Trans. Currency
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
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 koart Account type
umskz umskz Special G/L Ind
mwskz mwskz Tax Code
xopvw 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_P_CONSJOURNALENTRIES.
-- 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: ICAPCJES

CREATE VIEW ICA_P_CONSJOURNALENTRIES 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,
  rldnr,
  rdimen,
  ryear,
  gjahr,
  fiscyearper,
  ref_belnr,
  ref_docln,
  rrcty,
  bttype,
  drcrk,
  rvers,
  iatvs,
  rwcur,
  rtcur,
  rhcur,
  rkcur,
  runit,
  poper,
  docct,
  rcomp,
  rbunit,
  ritclg,
  ritem,
  cast('' as fc_congr) AS rcongr,
  robukrs,
  cast(source.sityp as fc_sityp) AS sityp,
  cast( case when tf103a_subit.breakdown = '0' or tf103a_subit.breakdown is null then '' when tf103a_subit.breakdown = '1' or tf103a_subit.breakdown = '4' then source.subit when tf103a_subit.breakdown = '2' or tf103a_subit.breakdown = '3' then case source.subit when '' then coalesce(cast(tf040_subit.defval as fincs_subassignment_value),'') else source.subit end end as fc_sitem) as SubIt AS subitendendasfc_sitemasSubIt,
  plevl,
  rtflg,
  docty,
  blart,
  wsl,
  tsl,
  hsl,
  ksl,
  msl,
  sgtxt,
  budat,
  timestamp,
  awtyp,
  aworg,
  ktopl,
  racct,
  zuonr,
  rcntr,
  prctr,
  rfarea,
  kokrs,
  segment,
  scntr,
  pprctr,
  sfarea,
  rassc,
  psegment,
  aufnr,
  kunnr,
  koart,
  umskz,
  mwskz,
  xopvw,
  augdt,
  augbl,
  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,
  xreversing,
  xreversed,
  awref,
  awref_rev
FROM ICA_P_CONSJOURNALENTRIES_01 AS source
LEFT OUTER JOIN tf040 ON /* join condition not captured in parsed metadata */
;