P_ACDOCD_COM

DDL: P_ACDOCD_COM SQL: PACDOCDCOM Type: view BASIC

P_ACDOCD_COM is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (acdocd, finsc_ledger_rep) and exposes 332 fields with key fields rldnr_pers, rbukrs, gjahr, belnr, docln.

Data Sources (2)

SourceAliasJoin Type
acdocd acdocd from
finsc_ledger_rep finsc_ledger_rep inner

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PACDOCDCOM view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view

Fields (332)

KeyFieldSource TableSource FieldDescription
KEY rldnr_pers
KEY rbukrs
KEY gjahr
KEY belnr
KEY docln
KEY rldnr
ryear
rrcty acdocd rrcty Record Type
rmvct Transact. Type
vorgn vorgn Transaction
vrgng vrgng Bus.Transaction
bttype bttype Business Transaction Type
awtyp Reference Document Type
awsys Logical System
aworg Refer. Org.Unit
awref awref Reference Doc.
awitem awitem Ref. Doc. Line Item
awitgrp awitgrp Ref. Item Group
subta subta Sub Transaction
xreversing xreversing Reversal doc.
xreversed xreversed Reversed
xtruerev xtruerev Is true reversal
awtyp_rev awtyp_rev ReversalRefTran
aworg_rev aworg_rev Reversal Org.
awref_rev awref_rev Reversal Ref.
subta_rev subta_rev Reversal Sub Trans
xsettling xsettling Is Settling
xsettled xsettled Is Settled
prec_awtyp prec_awtyp PrecRefTransact
prec_aworg prec_aworg PrecRefOrgUnit
prec_awref prec_awref PrecRefDocument
prec_awitem prec_awitem Prec. Ref. Doc. Item
prec_subta prec_subta Sub Transaction
src_awtyp src_awtyp Src Doc Type
src_awsys src_awsys Src Doc Sys
src_aworg src_aworg Source Org Unit
src_awref src_awref Source Doc. No.
src_awitem src_awitem Source Doc. LineItem
src_awsubit src_awsubit Source Doc. Subitem
xcommitment xcommitment Commitment
obs_reason obs_reason Obsolete Reason
racct GL Account From
rcntr Cost Center
prctr Profit Centers
rfarea R FuncArea
rbusa Business Area
kokrs Org. Value
segment segment Segment number
scntr Sender Cost Ctr
pprctr Partner PC
sfarea Sender FnArea
sbusa Trdg Part.BA
rassc Trading Partner
psegment psegment Partner Segment
rtcur Currency
tsl Trans. Currency
rwcur Transaction Currency
wsl OrigTrnsCrcyAmt
rhcur Local Currency
hsl Local Crcy Amt
hvkwrt hvkwrt Value SP LCrcy
rkcur Ledger curr.
ksl GrpCurr
rocur Free Defined Crcy 1
osl Other Crcy Amnt
rvcur Free Defined Crcy 4
vsl Amount in Currency 2
rbcur rbcur Free Defined Crcy 3
bsl Exchange Key
rccur rccur Third Currency
csl Amount in Currency 4
rdcur rdcur Free Defined Crcy 5
dsl Amount in Currency 5
recur recur Free Defined Crcy 6
esl Amount in Currency 6
rfcur Free Defined Crcy 7
fsl Amount in Currency 7
rgcur rgcur Free Defined Crcy 8
gsl Amount in Currency 8
kfsl Fixed Amnt in GC
kfsl2 kfsl2 GV Fixd Amt Glb Crcy
kfsl3 kfsl3 PCV FixdAmt Glb Crcy
psl Price Variance
psl2 psl2 GVal TPrice Varc GC
psl3 psl3 PCVal TPrice Varc GC
pfsl Price Var. Fxd
pfsl2 pfsl2 GVal FPrice Varc GC
pfsl3 pfsl3 PCVal FPrice Varc GC
rco_ocur rco_ocur Object Currency
co_osl co_osl Value/Obj. Crcy
hstprs hstprs StdPrice LCrcy
hpvprs hpvprs MAP LCrcy
runit runit Unit/Area
msl msl Stat. KeyFig. Qty
mfsl mfsl Fixed quantity
rvunit Valuation UoM
vmsl vmsl Val. quantity
vmfsl vmfsl Fixed val. qty
qunit1 qunit1 Add Unit Meas 1
quant1 quant1 Add. Quantity 1
qunit2 qunit2 Add Unit Meas 2
quant2 quant2 Add. Quantity 2
qunit3 qunit3 Add Unit Meas 3
quant3 quant3 Add. Quantity 3
drcrk Debit/Credit
poper Posting periods
periv
fiscyearper Period/Year
budat Posting Date
bldat Journal Entry Date
blart Rep. rec. doc. type
buzei Posting View Item
zuonr Finance Project
bschl Posting Key
bstat Document Status
linetype linetype Type of line
ktosl Transaction
slalittype slalittype SLALineItemType
xsplitmod xsplitmod Changed
usnam User Name
timestamp timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
eprctr eprctr Elimination PrCtr
rhoart Origin object
ktopl G/L Chart of Accounts
lokkt Local Acct No.
ktop2 Alternative COA
rebzg Invoice Ref.
rebzj Fiscal Year
rebzz Item
rebzt Follow-On Doc. Type
rbest PO Category
ebeln Source PurchDoc
ebelp Item pur. doc.
zekkn zekkn Account Assgmt No.
sgtxt Text
kdauf SD Document
kdpos Sales Ord. Item
matnr matnr Vehicle Model
werks werks Receiving Plant
lifnr Vendor no.
kunnr Stock customer
fbuda fbuda Services Rendered Date
coco_num coco_num Condition Contract
koart Account type
umskz Special G/L Ind
mwskz Tax Code
hbkid House Bank
hktid House Bank Account
xopvw OI Management
augdt Clearing
augbl Clrng doc.
auggj Clrg Fiscal Yr
afabe Deprec. Area
anln1 Asset
anln2 Sub-number
bzdat bzdat Reference date
anbwa anbwa Trans. type
movcat movcat Trans.Type Cat.
depr_period Posting Period
anlgr Group Asset
anlgr2 Subnumber
anlkl anlkl Asset Class
ktogr ktogr Account Determ.
panl1 panl1 Partner Asset
panl2 panl2 Partner Sub-No.
kalnr ProdCostEst.No.
vprsv vprsv Price control
mlast mlast Price Determ.
kzbws Valuation
xobew xobew Vendor stk val.
sobkz Special Stock
mat_kdauf mat_kdauf SD Doc of Inv.
mat_kdpos mat_kdpos SD Item of Inv.
mat_pspnr mat_pspnr WBSElem of Inv.
mat_ps_posid mat_ps_posid WBSElem of Inv.
mat_lifnr Vendor of Inv.
bwtar bwtar Valuation Type
bwkey bwkey Valuation Area
hpeinh hpeinh Price Unit LC
mlptyp mlptyp Orig. proc.cat.
mlcateg mlcateg Category
qsbvalt qsbvalt PrcrmntAlt/proc
qsprocess qsprocess Prod. Proc. No.
perart perart Period Type
racct_sender Sender GL Account
accas_sender accas_sender Sender Acct Assgmt
objnr objnr Val. Obj. No.
hrkft hrkft Origin group order
hkgrp hkgrp Origin Group
parob1 parob1 Partner Object
parobsrc parobsrc ParObj Source
uspob Source Object
co_belkz co_belkz Dr/Cr ind. CO
beltp beltp Debit Type
muvflg muvflg Qty Is Incomplete
gkont Offsetting Acct
gkoar Offst.Acct Type
erlkz Status
pernr pernr Personnel no.
paobjnr paobjnr Profit. segment
scope Visibility
logsyso logsyso Logical System
pbukrs pbukrs Partner CoCode
pscope PartnerObjClass
logsysp logsysp Logical system
bwstrat bwstrat Val.strategy
objnr_hk objnr_hk Origin object
aufnr_org aufnr_org Origin Order
ukostl ukostl OrigCCtr
ulstar OrigAct.
uprctr uprctr Origin Profit Center
accas accas Account Assignment
lstar lstar Activity Type
aufnr SettlementOrder
autyp autyp Order category
ps_psp_pnr WBS Element
ps_posid ps_posid WBS Element
ps_prj_pnr ps_prj_pnr Project def.
ps_pspid ps_pspid Project def.
nplnr nplnr Network
nplnr_vorgn nplnr_vorgn Netwk activity
prznr prznr Sender BProc
kstrg kstrg Cost Objects
bemot AcctIndicator
rsrce Resource
qmnum qmnum Notification
vtkey vtkey Contract
vtpos vtpos Item
erkrs erkrs Operating concern
paccas Part. Acct Assgmt
plstar ParActvy
paufnr Partner order
pautyp Prtnr Ord. Cat.
pps_posid Partner WBS Element
pps_pspid Part. Proj. Def
pkdauf Partner SalOrd
pkdpos Part. SlsOrd Item
ppaobjnr ppaobjnr PartnerPrf.Seg.
pnplnr pnplnr Part. Proj. Network
pnplnr_vorgn pnplnr_vorgn Part.Proj.Ntwk.Acty
pprznr pprznr Part. Bus. Process
pkstrg pkstrg Partner Cost Object
co_zlenr co_zlenr Item
co_belnr co_belnr Document Number
co_buzei co_buzei Posting Row
co_refbz co_refbz Posting Row
overtimecat overtimecat Overtime Category
work_item_id work_item_id Work Item ID
co_beknz co_beknz Dr/Cr (Origin)
uprznr uprznr Sce: BProc.
pps_psp_pnr pps_psp_pnr Partner WBS Element
pps_prj_pnr pps_prj_pnr Partner 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
re_bukrs re_bukrs Company Code
re_account re_account Ex/Rv A/c in CL
fikrs acdocd fikrs FM Area
rfund rfund Fund
rgrant_nbr rgrant_nbr Grant
rbudget_pd rbudget_pd Rec BudPer
sfund sfund Partner Fund
sgrant_nbr sgrant_nbr Partner Grant
sbudget_pd sbudget_pd Sender BudPer
fistl Funds Center
measure measure obsolete
vname vname Volatility Name
egrup egrup Equity group
recid recid Statistical Key Figure Item
vptnr vptnr Partner
btype btype ProcurementType
etype etype RDS Entity Type
prodper prodper Production Month
billm billm Billing Month
pom pom Proc.Oper.Month
cbrunid cbrunid Cutback Run ID (JVA)
jvactivity jvactivity JVA Activity
pvname pvname Variant
pegrup pegrup Partner EG (JVA)
s_recind s_recind Sender Rec. Ind
cbracct cbracct Cutback Account JVA
cbobjnr cbobjnr Cutback CO (JVA)
swenr swenr Business Entity
sgenr sgenr Building
sgrnr sgrnr Land
smenr smenr Rental Unit
recnnr recnnr Contract No.
snksl snksl Srv. Charge Key
sempsl sempsl Settlement Unit
dabrz Reference date
pswenr pswenr Ptnr. Bus. Entity
psgenr psgenr Ptnr. Building
psgrnr psgrnr Partner Land
psmenr psmenr Ptnr. Rent. Unit
precnnr precnnr Ptnr. Contract No.
psnksl psnksl Ptnr. Srv. Chrg. Key
psempsl psempsl Ptnr. Sett. Unit
pdabrz pdabrz Ptnr. Reference Date
acrobjtype acrobjtype Accrual Object Type
acrobj_id acrobj_id Accrual Object
acrsobj_id acrsobj_id Accrual Subobject
acritmtype acritmtype Accrual Item Type
acrvaldat acrvaldat Accrual Value Date
valobjtype valobjtype Type of Fin.Val.Obj.
valobj_id valobj_id Fin Valuation Object
valsobj_id valsobj_id Fin.Val.Sub.Object
netdt Due On
risk_class Risk Class
arbid arbid WorkCtrGp plan.
vornr vornr Operation
aufps aufps Order item no.
uvorn uvorn Suboperation
equnr equnr Equipment
tplnr tplnr Functional loc.
istru istru Assembly
ilart ilart MaintActivType
plknz plknz OrderPlanInd.
artpr artpr PriorityType
priok priok Priority
maufnr maufnr SuperiorOrder
matkl_mm matkl_mm Material Group
nbritm

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 P_ACDOCD_COM.
-- 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: PACDOCDCOM

CREATE VIEW P_ACDOCD_COM AS
SELECT
  cast(acdocd.rldnr as fins_ledger_pers preserving type) AS rldnr_pers,
  cast(acdocd.rbukrs as fis_bukrs preserving type) AS rbukrs,
  cast(acdocd.gjahr as fis_gjahr preserving type) AS gjahr,
  cast(acdocd.belnr as fis_belnr preserving type) AS belnr,
  cast(acdocd.docln as fis_docln preserving type) AS docln,
  cast(finsc_ledger_rep.rldnr as fis_rldnr preserving type) AS rldnr,
  cast(acdocd.ryear as fis_ryear preserving type) AS ryear,
  acdocd.rrcty AS rrcty,
  cast(rmvct as fis_rmvct preserving type) AS rmvct,
  vorgn,
  vrgng,
  bttype,
  cast(awtyp as fis_awtyp preserving type) AS awtyp,
  cast(awsys as logsystem preserving type) AS awsys,
  cast(aworg as fis_aworg preserving type) AS aworg,
  awref,
  awitem,
  awitgrp,
  subta,
  xreversing,
  xreversed,
  xtruerev,
  awtyp_rev,
  aworg_rev,
  awref_rev,
  subta_rev,
  xsettling,
  xsettled,
  prec_awtyp,
  prec_aworg,
  prec_awref,
  prec_awitem,
  prec_subta,
  src_awtyp,
  src_awsys,
  src_aworg,
  src_awref,
  src_awitem,
  src_awsubit,
  xcommitment,
  obs_reason,
  cast(racct as fis_racct preserving type) AS racct,
  cast(rcntr as fis_kostl preserving type) AS rcntr,
  cast(prctr as fis_prctr preserving type) AS prctr,
  cast(rfarea as fm_farea preserving type) AS rfarea,
  cast(rbusa as fis_rbusa preserving type) AS rbusa,
  cast(kokrs as fis_kokrs preserving type) AS kokrs,
  segment,
  cast(scntr as fis_skost preserving type) AS scntr,
  cast(pprctr as fis_pprctr preserving type) AS pprctr,
  cast(sfarea as fis_sfkber preserving type) AS sfarea,
  cast(sbusa as fis_pargb preserving type) AS sbusa,
  cast(rassc as fis_rassc preserving type) AS rassc,
  psegment,
  cast(rtcur as fis_rtcur preserving type) AS rtcur,
  cast(tsl as fis_tsl preserving type) AS tsl,
  cast(rwcur as fis_rwcur preserving type) AS rwcur,
  cast(wsl as fis_wsl preserving type) AS wsl,
  cast(rhcur as fis_hwaer preserving type) AS rhcur,
  cast(hsl as fis_hsl preserving type) AS hsl,
  hvkwrt,
  cast(rkcur as fis_rkcur preserving type) AS rkcur,
  cast(ksl as fis_ksl preserving type) AS ksl,
  cast(rocur as fis_rocur preserving type) AS rocur,
  cast(osl as fis_osl preserving type) AS osl,
  cast(rvcur as fis_rvcur preserving type) AS rvcur,
  cast(vsl as fis_vsl preserving type) AS vsl,
  rbcur,
  cast(bsl as fis_bsl preserving type) AS bsl,
  rccur,
  cast(csl as fis_csl preserving type) AS csl,
  rdcur,
  cast(dsl as fis_dsl preserving type) AS dsl,
  recur,
  cast(esl as fis_esl preserving type) AS esl,
  cast(rfcur as fis_rfcur preserving type) AS rfcur,
  cast(fsl as fis_fsl preserving type) AS fsl,
  rgcur,
  cast(gsl as fis_gsl preserving type) AS gsl,
  cast(kfsl as fis_kfsl preserving type) AS kfsl,
  kfsl2,
  kfsl3,
  cast(psl as fis_psl preserving type) AS psl,
  psl2,
  psl3,
  cast(pfsl as fis_pfsl preserving type) AS pfsl,
  pfsl2,
  pfsl3,
  rco_ocur,
  co_osl,
  hstprs,
  hpvprs,
  runit,
  msl,
  mfsl,
  cast(rvunit as fis_co_meinh preserving type) AS rvunit,
  vmsl,
  vmfsl,
  qunit1,
  quant1,
  qunit2,
  quant2,
  qunit3,
  quant3,
  cast(drcrk as fis_shkzg preserving type) AS drcrk,
  cast(poper as fins_fiscalperiod preserving type) AS poper,
  cast(acdocd.periv as fis_periv preserving type) AS periv,
  cast(fiscyearper as fis_jahrper_conv preserving type ) AS fiscyearper,
  cast(budat as fis_budat preserving type) AS budat,
  cast(bldat as fis_bldat preserving type) AS bldat,
  cast(blart as fis_blart preserving type) AS blart,
  cast(buzei as fis_buzei preserving type) AS buzei,
  cast(zuonr as fis_zuonr preserving type) AS zuonr,
  cast(bschl as fis_bschl preserving type) AS bschl,
  cast(bstat as fis_bstat preserving type) AS bstat,
  linetype,
  cast(ktosl as fac_ktosl preserving type) AS ktosl,
  slalittype,
  xsplitmod,
  cast(usnam as fis_usnam preserving type) AS usnam,
  timestamp,
  eprctr,
  cast(rhoart as fis_hoart preserving type) AS rhoart,
  cast(ktopl as fis_ktopl preserving type) AS ktopl,
  cast(lokkt as fis_altkt_skb1 preserving type) AS lokkt,
  cast(ktop2 as fis_ktop2 preserving type) AS ktop2,
  cast(rebzg as fis_rebzg preserving type) AS rebzg,
  cast(rebzj as fis_rebzj preserving type) AS rebzj,
  cast(rebzz as fis_rebzz preserving type) AS rebzz,
  cast(rebzt as farp_rebzt preserving type) AS rebzt,
  cast(rbest as fis_refbtyp preserving type) AS rbest,
  cast(ebeln as fis_ebeln preserving type) AS ebeln,
  cast(ebelp as fis_ebelp preserving type) AS ebelp,
  zekkn,
  cast(sgtxt as farp_sgtxt preserving type) AS sgtxt,
  cast(kdauf as vdm_sales_order preserving type) AS kdauf,
  cast(kdpos as sales_order_item preserving type) AS kdpos,
  matnr,
  werks,
  cast(lifnr as md_supplier preserving type) AS lifnr,
  cast(kunnr as kunnr preserving type) AS kunnr,
  fbuda,
  coco_num,
  cast(koart as farp_koart preserving type) AS koart,
  cast(umskz as fac_umskz preserving type) AS umskz,
  cast(mwskz as fis_mwskz preserving type) AS mwskz,
  cast(hbkid as farp_hbkid preserving type) AS hbkid,
  cast(hktid as fac_hktid preserving type) AS hktid,
  cast(xopvw as fis_xopvw preserving type) AS xopvw,
  cast(augdt as fis_augdt preserving type) AS augdt,
  cast(augbl as fis_augbl preserving type) AS augbl,
  cast(auggj as fis_auggj preserving type) AS auggj,
  cast(afabe as fis_afabe_d preserving type) AS afabe,
  cast(anln1 as fis_anln1 preserving type) AS anln1,
  cast(anln2 as fis_anln2 preserving type) AS anln2,
  bzdat,
  anbwa,
  movcat,
  cast(depr_period as fis_peraf preserving type) AS depr_period,
  cast(anlgr as fis_anlgr preserving type) AS anlgr,
  cast(anlgr2 as fis_anlgr2 preserving type) AS anlgr2,
  anlkl,
  ktogr,
  panl1,
  panl2,
  cast(kalnr as fis_kalnr preserving type) AS kalnr,
  vprsv,
  mlast,
  cast(kzbws as inventoryspecialstockvalntype preserving type) AS kzbws,
  xobew,
  cast(sobkz as inventoryspecialstocktype preserving type) AS sobkz,
  mat_kdauf,
  mat_kdpos,
  mat_pspnr,
  mat_ps_posid,
  cast(mat_lifnr as fis_mlmat_lifnr preserving type) AS mat_lifnr,
  bwtar,
  bwkey,
  hpeinh,
  mlptyp,
  mlcateg,
  qsbvalt,
  qsprocess,
  perart,
  cast(racct_sender as fis_racct_sender preserving type) AS racct_sender,
  accas_sender,
  objnr,
  hrkft,
  hkgrp,
  parob1,
  parobsrc,
  cast( uspob as fis_uspob preserving type) AS uspob,
  co_belkz,
  beltp,
  muvflg,
  cast(gkont as fis_gkont preserving type) AS gkont,
  cast(gkoar as farp_gkoar preserving type) AS gkoar,
  cast(erlkz as fis_kblerlkz preserving type) AS erlkz,
  pernr,
  paobjnr,
  cast(scope as fis_scope_cv_conv preserving type) AS scope,
  logsyso,
  pbukrs,
  cast(pscope as fis_pscope_cv_conv preserving type) AS pscope,
  logsysp,
  bwstrat,
  objnr_hk,
  aufnr_org,
  ukostl,
  cast(ulstar as fis_usp_lstar preserving type) AS ulstar,
  uprctr,
  accas,
  lstar,
  cast(aufnr as fis_aufnr preserving type) AS aufnr,
  autyp,
  cast(ps_psp_pnr as ps_posnr preserving type) AS ps_psp_pnr,
  ps_posid,
  ps_prj_pnr,
  ps_pspid,
  nplnr,
  nplnr_vorgn,
  prznr,
  kstrg,
  cast(bemot as fis_bemot preserving type) AS bemot,
  cast(rsrce as fis_co_resource preserving type) AS rsrce,
  qmnum,
  vtkey,
  vtpos,
  erkrs,
  cast(paccas as fis_paccas preserving type) AS paccas,
  cast(plstar as fis_par_lstar preserving type) AS plstar,
  cast(paufnr as fis_par_aufnr preserving type) AS paufnr,
  cast(pautyp as fis_par_auftyp preserving type) AS pautyp,
  cast(pps_posid as fis_par_posid preserving type) AS pps_posid,
  cast(pps_pspid as fis_par_pspid preserving type) AS pps_pspid,
  cast(pkdauf as fis_par_kdauf preserving type) AS pkdauf,
  cast(pkdpos as fis_par_kdpos preserving type) AS pkdpos,
  ppaobjnr,
  pnplnr,
  pnplnr_vorgn,
  pprznr,
  pkstrg,
  co_zlenr,
  co_belnr,
  co_buzei,
  co_refbz,
  overtimecat,
  work_item_id,
  co_beknz,
  uprznr,
  pps_psp_pnr,
  pps_prj_pnr,
  fkart,
  vkorg,
  vtweg,
  spart,
  matnr_copa,
  matkl,
  kdgrp,
  land1,
  brsch,
  bzirk,
  kunre,
  kunwe,
  konzs,
  re_bukrs,
  re_account,
  acdocd.fikrs AS fikrs,
  rfund,
  rgrant_nbr,
  rbudget_pd,
  sfund,
  sgrant_nbr,
  sbudget_pd,
  cast(fistl as farp_fistl preserving type) AS fistl,
  measure,
  vname,
  egrup,
  recid,
  vptnr,
  btype,
  etype,
  prodper,
  billm,
  pom,
  cbrunid,
  jvactivity,
  pvname,
  pegrup,
  s_recind,
  cbracct,
  cbobjnr,
  swenr,
  sgenr,
  sgrnr,
  smenr,
  recnnr,
  snksl,
  sempsl,
  cast(dabrz as farp_dabrbez preserving type) AS dabrz,
  pswenr,
  psgenr,
  psgrnr,
  psmenr,
  precnnr,
  psnksl,
  psempsl,
  pdabrz,
  acrobjtype,
  acrobj_id,
  acrsobj_id,
  acritmtype,
  acrvaldat,
  valobjtype,
  valobj_id,
  valsobj_id,
  cast(netdt as faedt_fpos preserving type) AS netdt,
  cast(risk_class as credit_risk_class preserving type) AS risk_class,
  arbid,
  vornr,
  aufps,
  uvorn,
  equnr,
  tplnr,
  istru,
  ilart,
  plknz,
  artpr,
  priok,
  maufnr,
  matkl_mm,
  cast( cast(1 as abap.dec( 12, 0 )) as fis_nbritm preserving type ) AS nbritm
FROM acdocd
INNER JOIN finsc_ledger_rep ON /* join condition not captured in parsed metadata */
;