JV_JVSO1_COMB

DDL: JV_JVSO1_COMB SQL: CJVSO1 Type: view

Combined view of ledgers 4A/4C on JVSO1

JV_JVSO1_COMB is a CDS View that provides data about "Combined view of ledgers 4A/4C on JVSO1" in SAP S/4HANA. It reads from 3 data sources (jvso1, t881, t882) and exposes 103 fields. It has 1 association to related views.

Data Sources (3)

SourceAliasJoin Type
jvso1 jvso1_4a from
t881 t881_4a inner
t882 t882_4a inner

Associations (1)

CardinalityTargetAliasCondition
[0..1] jvso1 jvso1_4c jvso1_4c.rldnr = '4C' and jvso1_4c.ryear = jvso1_4a.ryear and jvso1_4c.rbukrs = jvso1_4a.rbukrs and jvso1_4c.docnr = jvso1_4a.docnr and jvso1_4c.docln = jvso1_4a.docln

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CJVSO1 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.dataMaintenance #DISPLAY_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Combined view of ledgers 4A/4C on JVSO1 view
ObjectModel.supportedCapabilities #SQL_DATA_SOURCE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #X view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (103)

KeyFieldSource TableSource FieldDescription
rclnt jvso1 rclnt Client
gl_sirid jvso1 gl_sirid Record number
rldnr
rbukrs jvso1 rbukrs Company Code
ryear jvso1 ryear Ref. Year1
docnr jvso1 docnr Well doc.no.
docln jvso1 docln Matching Document Line Item
rrcty jvso1 rrcty Record Type
rvers jvso1 rvers Version: Tax rt
rtcur jvso1 rtcur Currency
runit jvso1 runit Unit/Area
drcrk jvso1 drcrk Debit/Credit
poper jvso1 poper Posting periods
docct jvso1 docct Document Categ.
rjvnam jvso1 rjvnam Joint venture
regrou jvso1 regrou Equity group
rpartn jvso1 rpartn Partner
rrecin jvso1 rrecin Recovery Ind.
orecid jvso1 orecid Recovery Ind.
bilid jvso1 bilid Billing ind.
billm jvso1 billm Billing Month
pom jvso1 pom Proc.Oper.Month
rdpom jvso1 rdpom Po Per Diff-OM
rdbillm jvso1 rdbillm Delta InvM
docty jvso1 docty Document Type
activ jvso1 activ Transaction
budat jvso1 budat Posting Date
bldat jvso1 bldat Journal Entry Date
prodper jvso1 prodper Production Month
wsdat jvso1 wsdat Value Date
valut jvso1 valut Value date
sgtxt jvso1 sgtxt Text
autom jvso1 autom Automatic Call
racct jvso1 racct GL Account From
rbusa jvso1 rbusa Business Area
rkokrs jvso1 rkokrs CO Area
rprctr jvso1 rprctr Profit Center
rcntr jvso1 rcntr Cost Center
rordnr jvso1 rordnr Order
rprojk jvso1 rprojk WBS Element
nplnr jvso1 nplnr Network
aufpl jvso1 aufpl TaskList No.Ops
aplzl jvso1 aplzl Plan No.f.Oper.
vornr jvso1 vornr Operation
ranln1 jvso1 ranln1 Asset
ranln2 jvso1 ranln2 Sub-number
ranbwa jvso1 ranbwa Ast Transaction Type
msl jvso1 msl Stat. KeyFig. Qty
aunit jvso1 aunit Add.unit/meas.
refdocnr jvso1 refdocnr Reference
refryear jvso1 refryear Reference year
refdocln jvso1 refdocln Reference Item
refdocct jvso1 refdocct Ref. Doc. Cat.
refactiv jvso1 refactiv Ref. Transactn
reffidoc jvso1 reffidoc Document Number
reffidln jvso1 reffidln Item
cpudt jvso1 cpudt Imported On
cputm jvso1 cputm Time
usnam jvso1 usnam User Name
mwskz jvso1 mwskz Tax Code
cbperiod jvso1 cbperiod Cutback Period
ebeln jvso1 ebeln Source PurchDoc
ebelp jvso1 ebelp Item pur. doc.
ktosl jvso1 ktosl Transaction
mmact jvso1 mmact MM Activity Type
lstar jvso1 lstar Activity Type
cycle jvso1 cycle Single-Character Flag
sdate jvso1 sdate Valid From
seqnr jvso1 seqnr Tank ID
seqname jvso1 seqname Segment
refcyc jvso1 refcyc Reference
matnr jvso1 matnr Vehicle Model
condi jvso1 condi CondKey
awtyp jvso1 awtyp Reference Document Type
aworg jvso1 aworg Refer. Org.Unit
logsys jvso1 logsys Source system
refawtyp jvso1 refawtyp Ref. procedure
refawref jvso1 refawref Reference Doc.
refaworg jvso1 refaworg Refer. Org.Unit
reflogsys jvso1 reflogsys Logical system
cbcustomer jvso1 cbcustomer Customer
cbvendor jvso1 cbvendor Supplier
cbpayterm jvso1 cbpayterm Pyt Terms
xsbl jvso1 xsbl Split Basis Line
sbrefln jvso1 sbrefln Ref SB Line Nmbr
rwcur jvso1 rtcur Currency
tsl jvso1 tsl Trans. Currency
wsl jvso1 tsl Trans. Currency
curt1_4a t881 curt1 LC1 curr.type
curr1_4a t882 curr1 Currency 2
hwaer t882 curr1 Currency 2
rhcur t882 curr1 Currency 2
hsl jvso1 hsl Local Crcy Amt
hsl_4a jvso1 hsl Local Crcy Amt
curt2_4a t881 curt2 LC2 Crcy Type
curr2_4a t882 curr2 Currency 3
hwae2 t882 curr2 Currency 3
ksl jvso1 ksl GrpCurr
ksl_4a jvso1 ksl GrpCurr
curr1_4c
hwae3
curr2_4c
hwae4

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 JV_JVSO1_COMB.
-- 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: CJVSO1

CREATE VIEW JV_JVSO1_COMB AS
SELECT
  jvso1_4a.rclnt AS rclnt,
  jvso1_4a.gl_sirid AS gl_sirid,
  cast( '4A' as rldnr preserving type ) AS rldnr,
  jvso1_4a.rbukrs AS rbukrs,
  jvso1_4a.ryear AS ryear,
  jvso1_4a.docnr AS docnr,
  jvso1_4a.docln AS docln,
  jvso1_4a.rrcty AS rrcty,
  jvso1_4a.rvers AS rvers,
  jvso1_4a.rtcur AS rtcur,
  jvso1_4a.runit AS runit,
  jvso1_4a.drcrk AS drcrk,
  jvso1_4a.poper AS poper,
  jvso1_4a.docct AS docct,
  jvso1_4a.rjvnam AS rjvnam,
  jvso1_4a.regrou AS regrou,
  jvso1_4a.rpartn AS rpartn,
  jvso1_4a.rrecin AS rrecin,
  jvso1_4a.orecid AS orecid,
  jvso1_4a.bilid AS bilid,
  jvso1_4a.billm AS billm,
  jvso1_4a.pom AS pom,
  jvso1_4a.rdpom AS rdpom,
  jvso1_4a.rdbillm AS rdbillm,
  jvso1_4a.docty AS docty,
  jvso1_4a.activ AS activ,
  jvso1_4a.budat AS budat,
  jvso1_4a.bldat AS bldat,
  jvso1_4a.prodper AS prodper,
  jvso1_4a.wsdat AS wsdat,
  jvso1_4a.valut AS valut,
  jvso1_4a.sgtxt AS sgtxt,
  jvso1_4a.autom AS autom,
  jvso1_4a.racct AS racct,
  jvso1_4a.rbusa AS rbusa,
  jvso1_4a.rkokrs AS rkokrs,
  jvso1_4a.rprctr AS rprctr,
  jvso1_4a.rcntr AS rcntr,
  jvso1_4a.rordnr AS rordnr,
  jvso1_4a.rprojk AS rprojk,
  jvso1_4a.nplnr AS nplnr,
  jvso1_4a.aufpl AS aufpl,
  jvso1_4a.aplzl AS aplzl,
  jvso1_4a.vornr AS vornr,
  jvso1_4a.ranln1 AS ranln1,
  jvso1_4a.ranln2 AS ranln2,
  jvso1_4a.ranbwa AS ranbwa,
  jvso1_4a.msl AS msl,
  jvso1_4a.aunit AS aunit,
  jvso1_4a.refdocnr AS refdocnr,
  jvso1_4a.refryear AS refryear,
  jvso1_4a.refdocln AS refdocln,
  jvso1_4a.refdocct AS refdocct,
  jvso1_4a.refactiv AS refactiv,
  jvso1_4a.reffidoc AS reffidoc,
  jvso1_4a.reffidln AS reffidln,
  jvso1_4a.cpudt AS cpudt,
  jvso1_4a.cputm AS cputm,
  jvso1_4a.usnam AS usnam,
  jvso1_4a.mwskz AS mwskz,
  jvso1_4a.cbperiod AS cbperiod,
  jvso1_4a.ebeln AS ebeln,
  jvso1_4a.ebelp AS ebelp,
  jvso1_4a.ktosl AS ktosl,
  jvso1_4a.mmact AS mmact,
  jvso1_4a.lstar AS lstar,
  jvso1_4a.cycle AS cycle,
  jvso1_4a.sdate AS sdate,
  jvso1_4a.seqnr AS seqnr,
  jvso1_4a.seqname AS seqname,
  jvso1_4a.refcyc AS refcyc,
  jvso1_4a.matnr AS matnr,
  jvso1_4a.condi AS condi,
  jvso1_4a.awtyp AS awtyp,
  jvso1_4a.aworg AS aworg,
  jvso1_4a.logsys AS logsys,
  jvso1_4a.refawtyp AS refawtyp,
  jvso1_4a.refawref AS refawref,
  jvso1_4a.refaworg AS refaworg,
  jvso1_4a.reflogsys AS reflogsys,
  jvso1_4a.cbcustomer AS cbcustomer,
  jvso1_4a.cbvendor AS cbvendor,
  jvso1_4a.cbpayterm AS cbpayterm,
  jvso1_4a.xsbl AS xsbl,
  jvso1_4a.sbrefln AS sbrefln,
  jvso1_4a.rtcur AS rwcur,
  jvso1_4a.tsl AS tsl,
  jvso1_4a.tsl AS wsl,
  t881_4a.curt1 AS curt1_4a,
  t882_4a.curr1 AS curr1_4a,
  t882_4a.curr1 AS hwaer,
  t882_4a.curr1 AS rhcur,
  jvso1_4a.hsl AS hsl,
  jvso1_4a.hsl AS hsl_4a,
  t881_4a.curt2 AS curt2_4a,
  t882_4a.curr2 AS curr2_4a,
  t882_4a.curr2 AS hwae2,
  jvso1_4a.ksl AS ksl,
  jvso1_4a.ksl AS ksl_4a,
  coalesce( t882_4c.curr1, cast( '' as waers ) ) AS curr1_4c,
  coalesce( t882_4c.curr1, cast( '' as waers ) ) AS hwae3,
  coalesce( t882_4c.curr2, cast( '' as waers ) ) AS curr2_4c,
  coalesce( t882_4c.curr2, cast( '' as waers ) ) AS hwae4
FROM jvso1 AS jvso1_4a
INNER JOIN t881 AS t881_4a ON /* join condition not captured in parsed metadata */
INNER JOIN t882 AS t882_4a ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN jvso1 AS jvso1_4c ON jvso1_4c.rldnr = '4C' AND jvso1_4c.ryear = jvso1_4a.ryear AND jvso1_4c.rbukrs = jvso1_4a.rbukrs AND jvso1_4c.docnr = jvso1_4a.docnr AND jvso1_4c.docln = jvso1_4a.docln  -- association [0..1]
;