ICA_GENJOURNALENTRIES_C2

DDL: ICA_GENJOURNALENTRIES_C2 SQL: ICAGENJESC2 Type: view

Match Universal Journal Entry Line Items

ICA_GENJOURNALENTRIES_C2 is a CDS View that provides data about "Match Universal Journal Entry Line Items" in SAP S/4HANA. It reads from 6 data sources and exposes 209 fields.

Data Sources (6)

SourceAliasJoin Type
acdoca a from
acdoca a union_all
t001 b inner
t001 b inner
finsc_fisc_date c inner
t009 c left_outer

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName ICAGENJESC2 view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Match Universal Journal Entry Line Items 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 (209)

KeyFieldSource TableSource FieldDescription
rclnt rclnt Client
method_id
DOCNR
DOCLN
GRREF
PSTAT
CSTAT
DUE_DATE
augdt augdt Clearing
augbl augbl Clrng doc.
auggj auggj Clrg Fiscal Yr
rldnr rldnr Ledger (Compat.)
rbukrs rbukrs Company Code
rcomp t001 rcomp Trading Partner
blart blart Rep. rec. doc. type
ref_belnr belnr SD Document
ref_docln docln Matching Document Line Item
docnr_ld docnr_ld Ledger spec. DocNo
rrcty rrcty Record Type
xreversing xreversing Reversal doc.
xreversed xreversed Reversed
xtruerev xtruerev Is true reversal
aworg_rev aworg_rev Reversal Org.
awref_rev awref_rev Reversal Ref.
aworg aworg Refer. Org.Unit
awref awref Reference Doc.
periv t009 fiscal_year_variant FYear Variant
gjahr gjahr Settlement Year
poper t009 fiscal_period Posting periods
fiscyearper Period/Year
ryear t009 fiscal_year Ref. Year1
budat budat Posting Date
bldat bldat Journal Entry Date
ktopl acdoca ktopl G/L Chart of Accounts
racct racct GL Account From
rcntr rcntr Cost Center
prctr prctr Profit Centers
segment segment Segment number
scntr scntr Sender Cost Ctr
pprctr pprctr Partner PC
rassc rassc Trading Partner
psegment psegment Partner Segment
rwcur rwcur Transaction Currency
rhcur rhcur Local Currency
rkcur rkcur Ledger curr.
runit runit Unit/Area
wsl wsl OrigTrnsCrcyAmt
hsl hsl Local Crcy Amt
ksl ksl GrpCurr
msl msl Stat. KeyFig. Qty
drcrk drcrk Debit/Credit
bschl bschl Posting Key
rmvct rmvct Transact. Type
bttype bttype Business Transaction Type
zuonr zuonr Finance Project
bstat bstat Document Status
linetype linetype Type of line
ktosl ktosl Transaction
slalittype slalittype SLALineItemType
usnam usnam User Name
timestamp timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
eprctr eprctr Elimination PrCtr
rebzg rebzg Invoice Ref.
rebzj rebzj Fiscal Year
rebzz rebzz Item
rbest PO Category
ebeln ebeln Source PurchDoc
ebelp ebelp Item pur. doc.
sgtxt sgtxt Text
kdauf kdauf SD Document
kdpos kdpos Sales Ord. Item
matnr matnr Vehicle Model
werks werks Receiving Plant
lifnr lifnr Vendor no.
kunnr kunnr Stock customer
koart koart Account type
umskz umskz Special G/L Ind
mwskz acdoca mwskz Tax Code
xopvw acdoca xopvw OI Management
afabe afabe Deprec. Area
anln1 anln1 Asset
anln2 anln2 Sub-number
anbwa anbwa Trans. type
anlkl anlkl Asset Class
panl1 panl1 Partner Asset
panl2 panl2 Partner Sub-No.
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 acdoca land1 Trip Ctry/Reg
brsch brsch Industry
bzirk bzirk Sales District
kunre kunre Bill-to Party
kunwe kunwe Ship-to Party
konzs konzs Group
gkont gkont Offsetting Acct
gkoar gkoar Offst.Acct Type
rfccur rfccur Functional Currency
fcsl fcsl Amount in FunctCrcy
rtcur rtcur Currency
mandtrclnt
method_id
DOCNR
DOCLN
GRREF
PSTAT
CSTAT
DUE_DATE
augdt augdt Clearing
augbl augbl Clrng doc.
auggj auggj Clrg Fiscal Yr
rldnr rldnr Ledger (Compat.)
rbukrs rbukrs Company Code
rcomp t001 rcomp Trading Partner
blart blart Rep. rec. doc. type
ref_belnr belnr SD Document
ref_docln docln Matching Document Line Item
docnr_ld docnr_ld Ledger spec. DocNo
rrcty rrcty Record Type
xreversing xreversing Reversal doc.
xreversed xreversed Reversed
xtruerev xtruerev Is true reversal
aworg_rev aworg_rev Reversal Org.
awref_rev awref_rev Reversal Ref.
aworg aworg Refer. Org.Unit
awref awref Reference Doc.
periv t009 periv FYear Variant
gjahr gjahr Settlement Year
poper poper Posting periods
fiscyearper fiscyearper Period/Year
ryear ryear Ref. Year1
budat budat Posting Date
bldat bldat Journal Entry Date
ktopl acdoca ktopl G/L Chart of Accounts
racct racct GL Account From
rcntr rcntr Cost Center
prctr prctr Profit Centers
segment segment Segment number
scntr scntr Sender Cost Ctr
pprctr pprctr Partner PC
rassc rassc Trading Partner
psegment psegment Partner Segment
rwcur rwcur Transaction Currency
rhcur rhcur Local Currency
rkcur rkcur Ledger curr.
runit runit Unit/Area
wsl wsl OrigTrnsCrcyAmt
hsl hsl Local Crcy Amt
ksl ksl GrpCurr
msl msl Stat. KeyFig. Qty
drcrk drcrk Debit/Credit
bschl bschl Posting Key
rmvct rmvct Transact. Type
bttype bttype Business Transaction Type
zuonr zuonr Finance Project
bstat bstat Document Status
linetype linetype Type of line
ktosl ktosl Transaction
slalittype slalittype SLALineItemType
usnam usnam User Name
timestamp timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
eprctr eprctr Elimination PrCtr
rebzg rebzg Invoice Ref.
rebzj rebzj Fiscal Year
rebzz rebzz Item
rbest PO Category
ebeln ebeln Source PurchDoc
ebelp ebelp Item pur. doc.
sgtxt sgtxt Text
kdauf kdauf SD Document
kdpos kdpos Sales Ord. Item
matnr matnr Vehicle Model
werks werks Receiving Plant
lifnr lifnr Vendor no.
kunnr kunnr Stock customer
koart koart Account type
umskz umskz Special G/L Ind
mwskz acdoca mwskz Tax Code
xopvw acdoca xopvw OI Management
afabe afabe Deprec. Area
anln1 anln1 Asset
anln2 anln2 Sub-number
anbwa anbwa Trans. type
anlkl anlkl Asset Class
panl1 panl1 Partner Asset
panl2 panl2 Partner Sub-No.
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 acdoca land1 Trip Ctry/Reg
brsch brsch Industry
bzirk bzirk Sales District
kunre kunre Bill-to Party
kunwe kunwe Ship-to Party
konzs konzs Group
gkont gkont Offsetting Acct
gkoar gkoar Offst.Acct Type
rfccur rfccur Functional Currency
fcsl fcsl Amount in FunctCrcy
rtcur rtcur Currency
tsl tsl Trans. 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 ICA_GENJOURNALENTRIES_C2.
-- 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: ICAGENJESC2

CREATE VIEW ICA_GENJOURNALENTRIES_C2 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,
  augdt,
  augbl,
  auggj,
  rldnr,
  rbukrs,
  b.rcomp AS rcomp,
  blart,
  belnr AS ref_belnr,
  docln AS ref_docln,
  docnr_ld,
  rrcty,
  xreversing,
  xreversed,
  xtruerev,
  aworg_rev,
  awref_rev,
  aworg,
  awref,
  c.fiscal_year_variant AS periv,
  gjahr,
  c.fiscal_period AS poper,
  cast (c.fiscal_year_period as fis_jahrper_conv preserving type) AS fiscyearper,
  c.fiscal_year AS ryear,
  budat,
  bldat,
  a.ktopl AS ktopl,
  racct,
  rcntr,
  prctr,
  segment,
  scntr,
  pprctr,
  rassc,
  psegment,
  rwcur,
  rhcur,
  rkcur,
  runit,
  wsl,
  hsl,
  ksl,
  msl,
  drcrk,
  bschl,
  rmvct,
  bttype,
  zuonr,
  bstat,
  linetype,
  ktosl,
  slalittype,
  usnam,
  timestamp,
  eprctr,
  rebzg,
  rebzj,
  rebzz,
  cast (rbest as abap.numc( 3 )) AS rbest,
  ebeln,
  ebelp,
  sgtxt,
  kdauf,
  kdpos,
  matnr,
  werks,
  lifnr,
  kunnr,
  koart,
  umskz,
  a.mwskz AS mwskz,
  a.xopvw AS xopvw,
  afabe,
  anln1,
  anln2,
  anbwa,
  anlkl,
  panl1,
  panl2,
  fkart,
  vkorg,
  vtweg,
  spart,
  matnr_copa,
  matkl,
  kdgrp,
  a.land1 AS land1,
  brsch,
  bzirk,
  kunre,
  kunwe,
  konzs,
  gkont,
  gkoar,
  rfccur,
  fcsl,
  rtcur,
  tsl AS mandtrclnt,
  tsl
FROM acdoca AS a
INNER JOIN t001 AS b ON /* join condition not captured in parsed metadata */
INNER JOIN finsc_fisc_date AS c ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t009 AS c ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): acdoca
;