JV_JVSO1_ACDOCA

DDL: JV_JVSO1_ACDOCA SQL: CJVSO1_ACD Type: view

JVSO1-like view on ACDOCA

JV_JVSO1_ACDOCA is a CDS View that provides data about "JVSO1-like view on ACDOCA" in SAP S/4HANA. It reads from 2 data sources (acdoca, t001) and exposes 110 fields with key fields rclnt, gl_sirid, rldnr, rrcty, rvers. It has 5 associations to related views.

Data Sources (2)

SourceAliasJoin Type
acdoca acdoca from
t001 t001 inner

Associations (5)

CardinalityTargetAliasCondition
[0..1] jvaonacdocaactiv act act.id = 'START'
[0..1] t881 t881_4a t881_4a.rldnr = '4A'
[0..1] t882 t882_4a t882_4a.rldnr = '4A' and t882_4a.bukrs = acdoca.rbukrs
[0..1] t881 t881_4c t881_4c.rldnr = '4C'
[0..1] t882 t882_4c t882_4c.rldnr = '4C' and t882_4c.bukrs = acdoca.rbukrs

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CJVSO1_ACD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.dataMaintenance #DISPLAY_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label JVSO1-like view on ACDOCA view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #X view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (110)

KeyFieldSource TableSource FieldDescription
KEY rclnt acdoca rclnt Client
KEY gl_sirid
KEY rldnr
KEY rrcty acdoca rrcty Record Type
KEY rvers
KEY ryear acdoca gjahr Settlement Year
KEY rtcur
KEY runit acdoca runit Unit/Area
KEY drcrk acdoca drcrk Debit/Credit
KEY poper acdoca poper Posting periods
KEY docct
KEY docnr acdoca belnr SD Document
KEY docln_acd acdoca docln Matching Document Line Item
KEY rbukrs acdoca rbukrs Company Code
docln
rjvnam acdoca vname Volatility Name
regrou acdoca egrup Equity group
racct acdoca racct GL Account From
rbusa acdoca rbusa Business Area
rkokrs acdoca kokrs Org. Value
rprctr acdoca prctr Profit Centers
ranln1 acdoca anln1 Asset
ranln2 acdoca anln2 Sub-number
ranbwa acdoca anbwa Trans. type
rrecin acdoca recid Statistical Key Figure Item
rpartn acdoca vptnr Partner
rdpom
rdbillm
tsl acdoca wsl OrigTrnsCrcyAmt
hsl acdoca hsl Local Crcy Amt
msl acdoca msl Stat. KeyFig. Qty
aunit
sgtxt acdoca sgtxt Text
autom
docty acdoca blart Rep. rec. doc. type
budat acdoca budat Posting Date
wsdat acdoca wwert Translatn Date
valut acdoca valut Value date
usnam acdoca usnam User Name
bldat acdoca bldat Journal Entry Date
bilid acdoca btype ProcurementType
orecid
mwskz acdoca mwskz Tax Code
billm acdoca billm Billing Month
pom acdoca pom Proc.Oper.Month
cbperiod
ebeln acdoca ebeln Source PurchDoc
ebelp acdoca ebelp Item pur. doc.
ktosl acdoca ktosl Transaction
mmact
lstar acdoca lstar Activity Type
cycle
sdate
seqnr
seqname
refcyc
matnr acdoca matnr Vehicle Model
condi
awtyp acdoca awtyp Reference Document Type
aworg acdoca aworg Refer. Org.Unit
logsys
refawtyp
refawref
refaworg
reflogsys
prodper acdoca prodper Production Month
cbcustomer acdoca kunnr Stock customer
cbvendor acdoca lifnr Vendor no.
cbpayterm
xsbl
sbrefln
rldnr_gl acdoca rldnr Ledger (Compat.)
ryear_gl acdoca ryear Ref. Year1
belnr_gl acdoca belnr SD Document
buzei acdoca buzei Posting View Item
mig_source acdoca mig_source Migr. Source
mig_docln acdoca mig_docln Migr. Line Item ID
ps_pspid acdoca ps_pspid Project def.
rhcur acdoca rhcur Local Currency
hwaer acdoca rhcur Local Currency
rkcur acdoca rkcur Ledger curr.
ksl_acd acdoca ksl GrpCurr
rocur acdoca rocur Free Defined Crcy 1
tsl_acd acdoca tsl Trans. Currency
osl acdoca osl Other Crcy Amnt
rvcur acdoca rvcur Free Defined Crcy 4
vsl acdoca vsl Amount in Currency 2
rbcur acdoca rbcur Free Defined Crcy 3
bsl acdoca bsl Exchange Key
rccur acdoca rccur Third Currency
csl acdoca csl Amount in Currency 4
rdcur acdoca rdcur Free Defined Crcy 5
dsl acdoca dsl Amount in Currency 5
recur acdoca recur Free Defined Crcy 6
esl acdoca esl Amount in Currency 6
rfcur acdoca rfcur Free Defined Crcy 7
fsl acdoca fsl Amount in Currency 7
rgcur acdoca rgcur Free Defined Crcy 8
gsl acdoca gsl Amount in Currency 8
curtph finsc_ld_cmp curtph Field Name
curtpk finsc_ld_cmp curtpk Field Name
curtpo finsc_ld_cmp curtpo FreeDef Crcy 1
curtpv finsc_ld_cmp curtpv FreeDef Crcy 2
curtpb finsc_ld_cmp curtpb FreeDef Crcy 3
curtpc finsc_ld_cmp curtpc FreeDef Crcy 4
curtpd finsc_ld_cmp curtpd FreeDef Crcy 5
curtpe finsc_ld_cmp curtpe FreeDef Crcy 6
curtpf finsc_ld_cmp curtpf FreeDef Crcy 7
curtpg finsc_ld_cmp curtpg FreeDef Crcy 8
timestamp acdoca timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)

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_ACDOCA.
-- 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_ACD

CREATE VIEW JV_JVSO1_ACDOCA AS
SELECT
  acdoca.rclnt AS rclnt,
  cast( ' ' as gu_recid preserving type ) AS gl_sirid,
  cast( '4A' as rldnr preserving type ) AS rldnr,
  acdoca.rrcty AS rrcty,
  cast( '001' as rvers ) AS rvers,
  acdoca.gjahr AS ryear,
  cast( acdoca.rwcur as rtcur preserving type ) AS rtcur,
  acdoca.runit AS runit,
  acdoca.drcrk AS drcrk,
  acdoca.poper AS poper,
  cast( 'J' as docct preserving type ) AS docct,
  acdoca.belnr AS docnr,
  acdoca.docln AS docln_acd,
  acdoca.rbukrs AS rbukrs,
  cast( substring(acdoca.docln,4,3) as jv_docln ) AS docln,
  acdoca.vname AS rjvnam,
  acdoca.egrup AS regrou,
  acdoca.racct AS racct,
  acdoca.rbusa AS rbusa,
  acdoca.kokrs AS rkokrs,
  acdoca.prctr AS rprctr,
  acdoca.anln1 AS ranln1,
  acdoca.anln2 AS ranln2,
  acdoca.anbwa AS ranbwa,
  acdoca.recid AS rrecin,
  acdoca.vptnr AS rpartn,
  cast( ' ' as jv_dpom preserving type ) AS rdpom,
  cast( ' ' as jv_dbillm preserving type ) AS rdbillm,
  acdoca.wsl AS tsl,
  acdoca.hsl AS hsl,
  acdoca.msl AS msl,
  cast( acdoca.runit as aunit preserving type ) AS aunit,
  acdoca.sgtxt AS sgtxt,
  cast( ' ' as autom preserving type ) AS autom,
  acdoca.blart AS docty,
  acdoca.budat AS budat,
  acdoca.wwert AS wsdat,
  acdoca.valut AS valut,
  acdoca.usnam AS usnam,
  acdoca.bldat AS bldat,
  acdoca.btype AS bilid,
  cast( ' ' as jv_orecid preserving type ) AS orecid,
  acdoca.mwskz AS mwskz,
  acdoca.billm AS billm,
  acdoca.pom AS pom,
  cast( '000' as jv_cbperi preserving type ) AS cbperiod,
  acdoca.ebeln AS ebeln,
  acdoca.ebelp AS ebelp,
  acdoca.ktosl AS ktosl,
  cast( ' ' as jv_mm_act preserving type ) AS mmact,
  acdoca.lstar AS lstar,
  cast( ' ' as cycle preserving type ) AS cycle,
  cast( '00000000' as sdate ) AS sdate,
  cast( '0000' as sqnr preserving type ) AS seqnr,
  cast( ' ' as seqname preserving type ) AS seqname,
  cast( ' ' as jv_refcyc preserving type ) AS refcyc,
  acdoca.matnr AS matnr,
  cast( ' ' as jv_condcod preserving type ) AS condi,
  acdoca.awtyp AS awtyp,
  acdoca.aworg AS aworg,
  cast( acdoca.awsys as logsys preserving type ) AS logsys,
  cast( acdoca.prec_awtyp as awtyp preserving type ) AS refawtyp,
  cast( acdoca.prec_awref as awref preserving type ) AS refawref,
  cast( acdoca.prec_aworg as aworg preserving type ) AS refaworg,
  cast( acdoca.prec_awsys as logsys preserving type ) AS reflogsys,
  acdoca.prodper AS prodper,
  acdoca.kunnr AS cbcustomer,
  acdoca.lifnr AS cbvendor,
  cast( ' ' as dzterm preserving type ) AS cbpayterm,
  cast( ' ' as jv_xsbline preserving type ) AS xsbl,
  cast( '00000' as jv_sbrefln preserving type ) AS sbrefln,
  acdoca.rldnr AS rldnr_gl,
  acdoca.ryear AS ryear_gl,
  acdoca.belnr AS belnr_gl,
  acdoca.buzei AS buzei,
  acdoca.mig_source AS mig_source,
  acdoca.mig_docln AS mig_docln,
  acdoca.ps_pspid AS ps_pspid,
  acdoca.rhcur AS rhcur,
  acdoca.rhcur AS hwaer,
  acdoca.rkcur AS rkcur,
  acdoca.ksl AS ksl_acd,
  acdoca.rocur AS rocur,
  acdoca.tsl AS tsl_acd,
  acdoca.osl AS osl,
  acdoca.rvcur AS rvcur,
  acdoca.vsl AS vsl,
  acdoca.rbcur AS rbcur,
  acdoca.bsl AS bsl,
  acdoca.rccur AS rccur,
  acdoca.csl AS csl,
  acdoca.rdcur AS rdcur,
  acdoca.dsl AS dsl,
  acdoca.recur AS recur,
  acdoca.esl AS esl,
  acdoca.rfcur AS rfcur,
  acdoca.fsl AS fsl,
  acdoca.rgcur AS rgcur,
  acdoca.gsl AS gsl,
  finsc_ld_cmp.curtph AS curtph,
  finsc_ld_cmp.curtpk AS curtpk,
  finsc_ld_cmp.curtpo AS curtpo,
  finsc_ld_cmp.curtpv AS curtpv,
  finsc_ld_cmp.curtpb AS curtpb,
  finsc_ld_cmp.curtpc AS curtpc,
  finsc_ld_cmp.curtpd AS curtpd,
  finsc_ld_cmp.curtpe AS curtpe,
  finsc_ld_cmp.curtpf AS curtpf,
  finsc_ld_cmp.curtpg AS curtpg,
  acdoca.timestamp AS timestamp
FROM acdoca
INNER JOIN t001 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN jvaonacdocaactiv AS act ON act.id = 'START'  -- association [0..1]
LEFT OUTER JOIN t881 AS t881_4a ON t881_4a.rldnr = '4A'  -- association [0..1]
LEFT OUTER JOIN t882 AS t882_4a ON t882_4a.rldnr = '4A' AND t882_4a.bukrs = acdoca.rbukrs  -- association [0..1]
LEFT OUTER JOIN t881 AS t881_4c ON t881_4c.rldnr = '4C'  -- association [0..1]
LEFT OUTER JOIN t882 AS t882_4c ON t882_4c.rldnr = '4C' AND t882_4c.bukrs = acdoca.rbukrs  -- association [0..1]
;