P_ACDOCD

DDL: P_ACDOCD Type: view_entity BASIC

Private view on ACDOCD without logic

P_ACDOCD is a Basic CDS View that provides data about "Private view on ACDOCD without logic" in SAP S/4HANA. It reads from 1 data source (acdocd) and exposes 376 fields with key fields rldnr, rbukrs, gjahr, belnr, docln.

Data Sources (1)

SourceAliasJoin Type
acdocd acdocd from

Annotations (4)

NameValueLevelField
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
EndUserText.label Private view on ACDOCD without logic view

Fields (376)

KeyFieldSource TableSource FieldDescription
KEY rldnr
KEY rbukrs
KEY gjahr
KEY belnr
KEY docln
ryear
rrcty acdocd rrcty Record Type
DOCNR_LD
rmvct Transact. Type
vorgn Transaction
vrgng vrgng Bus.Transaction
bttype Business Transaction Type
cbttype Bus. Trans. Type
closingstep Closing Step
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 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
prec_bukrs prec_bukrs PrecJE CoCode
prec_gjahr PrecJE Year
prec_belnr prec_belnr PrecJE DocNo
prec_docln prec_docln PrecJE LineItem
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 Obsolete Reason
XSECONDARY Secondary entry
orgl_change orgl_change Organizational Change
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
rfccur rfccur Functional Currency
fcsl Amount in FunctCrcy
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
rgm_ocur rgm_ocur Grant Currency
gm_osl gm_osl Amount in Grant 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
rrunit Reference UoM
rmsl rmsl Ref. quantity
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 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
rbunit Consolidation Unit
rbuptr Partner Unit
rcomp Trading Partner
ritclg Consolidation COA
ritem Reporting Item
sityp Trip Schedule Type
subit Subitem
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
perop_beg perop_beg PEROP Start
perop_end perop_end PEROP End
coco_num coco_num Condition Contract
wwert wwert Translatn Date
koart Account type
umskz Special G/L Ind
mwskz Tax Code
tax_country tax_country Tax Ctry/Rgn
hbkid House Bank
hktid House Bank Account
xopvw OI Management
augdt Clearing
augbl Clrng doc.
auggj Clrg Fiscal Yr
valut valut Value date
AGING Aging
AGING_INCRMNT Increment
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 Partner Asset
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
bukrs_sender bukrs_sender Sender CoCode
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 Origin Order
ukostl OrigCCtr
ulstar OrigAct.
UMATNR Origin Material
VARC_UACCT Varc. Origin Account
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 Netwk activity
prznr prznr Sender BProc
kstrg kstrg Cost Objects
bemot AcctIndicator
rsrce Resource
qmnum qmnum Notification
vtkey Contract
vtpos Item
ra_pob_id POB
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 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.
varc_hkgrp varc_hkgrp Varc. Origin Group
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 fikrs FM Area
fipex fipex obsolete
fistl Funds Center
measure measure obsolete
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
bdgt_account bdgt_account Budget Account
kblnr Earmarked funds
kblpos Document Item
FS_PRODUCT_GROUP Product Group (FS)
BRANCH_ID Branch (FS)
DATASOURCE_ID Data Source
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 Business Entity
SGENR Building
SGRNR Land
SMENR Rental Unit
RECNNR Contract No.
snksl Srv. Charge Key
sempsl Settlement Unit
dabrz Reference date
pswenr Ptnr. Bus. Entity
psgenr Ptnr. Building
psgrnr Partner Land
psmenr Ptnr. Rent. Unit
precnnr Ptnr. Contract No.
psnksl Ptnr. Srv. Chrg. Key
psempsl Ptnr. Sett. Unit
pdabrz Ptnr. Reference Date
acrobjtype acrobjtype Accrual Object Type
acrlogsys acrlogsys Logical Syst. AcrObj
acrobj_id acrobj_id Accrual Object
acrsobj_id acrsobj_id Accrual Subobject
acritmtype acritmtype Accrual Item Type
acrrefobj_id Acr. Reference ID
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 Operation
aufps aufps Order item no.
paufps paufps Partner Order item
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
vornr_org Origin Operation
mig_source Migr. Source

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

CREATE VIEW P_ACDOCD AS
SELECT
  cast(acdocd.rldnr as fins_ledger_pers preserving type) AS rldnr,
  cast(acdocd.rbukrs as fis_bukrs preserving type) AS rbukrs,
  cast(acdocd.gjahr as fis_gjahr_no_conv 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(acdocd.ryear as fis_ryear_no_conv preserving type) AS ryear,
  acdocd.rrcty AS rrcty,
  cast(acdocd.docnr_ld as fis_docnr_ld preserving type) AS DOCNR_LD,
  cast(rmvct as fis_rmvct preserving type) AS rmvct,
  cast(vorgn as fis_vorgn preserving type ) AS vorgn,
  vrgng,
  cast(bttype as fis_bttype preserving type) AS bttype,
  cast(cbttype as fis_custbttype preserving type) AS cbttype,
  cast(closingstep as fis_closingstep preserving type) AS closingstep,
  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,
  cast( subta_rev as fis_subta_rev preserving type ) AS subta_rev,
  xsettling,
  xsettled,
  prec_awtyp,
  prec_aworg,
  prec_awref,
  prec_awitem,
  prec_subta,
  prec_bukrs,
  cast( prec_gjahr as fins_prec_gjahr_gfc_no_conv preserving type ) AS prec_gjahr,
  prec_belnr,
  prec_docln,
  src_awtyp,
  src_awsys,
  src_aworg,
  src_awref,
  src_awitem,
  src_awsubit,
  xcommitment,
  cast( obs_reason as fis_obsolete_item_reason preserving type ) AS obs_reason,
  cast( xsecondary as journalentryissecondaryentry ) AS XSECONDARY,
  orgl_change,
  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,
  rfccur,
  cast(fcsl as fis_vfccur12 preserving type) AS fcsl,
  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,
  rgm_ocur,
  gm_osl,
  hstprs,
  hpvprs,
  runit,
  msl,
  mfsl,
  cast(rvunit as fis_co_meinh preserving type) AS rvunit,
  vmsl,
  vmfsl,
  cast( rrunit as fis_ref_qty_uom preserving type ) AS rrunit,
  rmsl,
  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,
  cast(linetype as fis_linetype preserving type ) AS 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( rbunit as fis_md_bunit preserving type ) AS rbunit,
  cast( rbuptr as fis_md_buptr preserving type ) AS rbuptr,
  cast( rcomp as fis_rcomp preserving type ) AS rcomp,
  cast( ritclg as fis_itclg preserving type ) AS ritclg,
  cast( ritem as fis_fsi_item preserving type ) AS ritem,
  cast( sityp as fis_fc_sityp preserving type ) AS sityp,
  cast( subit as fis_fc_sitem preserving type ) AS subit,
  cast(rebzg as fis_rebzg preserving type) AS rebzg,
  cast(rebzj as fis_rebzj_no_conv 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,
  perop_beg,
  perop_end,
  coco_num,
  wwert,
  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,
  tax_country,
  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_no_conv preserving type) AS auggj,
  valut,
  cast(aging as fis_aging preserving type) AS AGING,
  cast(aging_incrmnt as fis_incrmnt preserving type) AS AGING_INCRMNT,
  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,
  cast(panl1 as fis_panl1 preserving type ) AS panl1,
  cast(panl2 as fis_panl2 preserving type ) AS 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,
  bukrs_sender,
  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_co preserving type) AS scope,
  logsyso,
  pbukrs,
  cast(pscope as fis_pscope_cv_conv_co preserving type) AS pscope,
  logsysp,
  bwstrat,
  objnr_hk,
  cast( aufnr_org as fco_aufnr_org preserving type) AS aufnr_org,
  cast(ukostl as fis_usp_kostl preserving type) AS ukostl,
  cast(ulstar as fins_usp_lstar preserving type) AS ulstar,
  cast(umatnr as fis_origin_matnr preserving type) AS UMATNR,
  cast(varc_uacct as fis_varc_origin_acct preserving type) AS VARC_UACCT,
  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,
  cast( nplnr_vorgn as fis_npvrg_no_conv preserving type ) AS nplnr_vorgn,
  prznr,
  kstrg,
  cast(bemot as fis_bemot preserving type) AS bemot,
  cast(rsrce as fis_co_resource preserving type) AS rsrce,
  qmnum,
  cast( vtkey as fis_vtkey_kk preserving type ) AS vtkey,
  cast( vtpos as fis_vtpos_kk preserving type ) AS vtpos,
  cast( ra_pob_id as fis_pob_id preserving type ) AS ra_pob_id,
  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,
  cast( pnplnr_vorgn as fis_par_vornr_auf_no_conv preserving type ) AS 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,
  varc_hkgrp,
  fkart,
  vkorg,
  vtweg,
  spart,
  matnr_copa,
  matkl,
  kdgrp,
  land1,
  brsch,
  bzirk,
  kunre,
  kunwe,
  konzs,
  re_bukrs,
  re_account,
  fikrs,
  fipex,
  cast(fistl as farp_fistl preserving type) AS fistl,
  measure,
  rfund,
  rgrant_nbr,
  rbudget_pd,
  sfund,
  sgrant_nbr,
  sbudget_pd,
  bdgt_account,
  cast(kblnr as fis_kblnr_fi preserving type ) AS kblnr,
  cast(kblpos as fis_kblpos preserving type ) AS kblpos,
  cast(fs_product_group as fis_ffs_product_group preserving type ) AS FS_PRODUCT_GROUP,
  cast(branch_id as fis_ffs_branch_id preserving type ) AS BRANCH_ID,
  cast(datasource_id as fis_ffs_datasource_id preserving type ) AS DATASOURCE_ID,
  vname,
  egrup,
  recid,
  vptnr,
  btype,
  etype,
  prodper,
  billm,
  pom,
  cbrunid,
  jvactivity,
  pvname,
  pegrup,
  s_recind,
  cbracct,
  cbobjnr,
  cast(swenr as rebdvdmbeno preserving type ) AS SWENR,
  cast(sgenr as rebdvdmbuno preserving type ) AS SGENR,
  cast(sgrnr as rebdvdmprno preserving type ) AS SGRNR,
  cast(smenr as rebdvdmrono preserving type ) AS SMENR,
  cast(recnnr as recnvdmcnnr preserving type ) AS RECNNR,
  cast(snksl as rescvdmsckey preserving type ) AS snksl,
  cast(sempsl as rescvdmsuid preserving type ) AS sempsl,
  cast(dabrz as farp_dabrbez preserving type) AS dabrz,
  cast(pswenr as rebdvdmpbeno preserving type ) AS pswenr,
  cast(psgenr as rebdvdmpbuno preserving type ) AS psgenr,
  cast(psgrnr as rebdvdmpprno preserving type ) AS psgrnr,
  cast(psmenr as rebdvdmprono preserving type ) AS psmenr,
  cast(precnnr as recnvdmpcnnr preserving type ) AS precnnr,
  cast(psnksl as rescvdmpsckey preserving type ) AS psnksl,
  cast(psempsl as rescvdmpsuid preserving type ) AS psempsl,
  cast(pdabrz as fins_par_dabrbez preserving type ) AS pdabrz,
  acrobjtype,
  acrlogsys,
  acrobj_id,
  acrsobj_id,
  acritmtype,
  cast( acrrefobj_id as fis_acr_refobj_id preserving type ) AS acrrefobj_id,
  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,
  cast( vornr as fis_vornr_no_conv preserving type ) AS vornr,
  aufps,
  paufps,
  cast( uvorn as fis_uvorn_no_conv preserving type ) AS uvorn,
  equnr,
  tplnr,
  istru,
  ilart,
  plknz,
  artpr,
  priok,
  maufnr,
  matkl_mm,
  cast( vornr_org as fis_origin_order_operation preserving type) AS vornr_org,
  cast(mig_source as fis_acdoc_mig_source preserving type) AS mig_source
FROM acdocd
;