P_ACDOCP_COM
P_ACDOCP_COM is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (acdocp) and exposes 181 fields with key fields reqtsn, datapakid, record. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| acdocp | acdocp | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Product | _Product | $projection.matnr = _Product.Product |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFIACDOCPCOM | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (181)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | reqtsn | Request TSN | ||
| KEY | datapakid | Data packet number | ||
| KEY | record | Object GUID | ||
| rbukrs | Company Code | |||
| rldnr | Ledger (Compat.) | |||
| 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 | ||
| rwcur | Transaction Currency | |||
| wsl | OrigTrnsCrcyAmt | |||
| rhcur | Local Currency | |||
| hsl | Local Crcy Amt | |||
| 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 | |||
| rco_ocur | rco_ocur | Object Currency | ||
| co_osl | co_osl | Value/Obj. Crcy | ||
| kfsl | Fixed Amnt in GC | |||
| hfsl | Fixed Amnt in CC | |||
| wfsl | Fixed Amnt in TC | |||
| rvunit | Valuation UoM | |||
| vmsl | Val. quantity | |||
| scrap_qty | Scrap Quantity | |||
| vmfsl | Fixed val. qty | |||
| rrunit | Reference UoM | |||
| rmsl | rmsl | Ref. quantity | ||
| gjahr | Ref. Year1 | |||
| ryear | Ref. Year1 | |||
| poper | Posting periods | |||
| fiscyearper | Period/Year | |||
| budat | Posting Date | |||
| periv | FYear Variant | |||
| ktopl | G/L Chart of Accounts | |||
| zuonr | zuonr | Finance Project | ||
| slalittype | slalittype | SLALineItemType | ||
| bttype | bttype | Business Transaction Type | ||
| rmvct | rmvct | Transact. Type | ||
| awtyp | Reference Document Type | |||
| aworg | Refer. Org.Unit | |||
| awref | awref | Reference Doc. | ||
| usnam | usnam | User Name | ||
| kdauf | SD Document | |||
| kdpos | Sales Ord. Item | |||
| werks | werks | Receiving Plant | ||
| matnr | matnr | Vehicle Model | ||
| kunnr | kunnr | Stock customer | ||
| objnr | objnr | Val. Obj. No. | ||
| co_belkz | co_belkz | Dr/Cr ind. CO | ||
| ps_psp_pnr | WBS Element | |||
| ps_posid | ps_posid | WBS Element | ||
| ps_prj_pnr | Project def. | |||
| ps_pspid | ps_pspid | Project def. | ||
| pernr | pernr | Personnel no. | ||
| pbukrs | pbukrs | Partner CoCode | ||
| ukostl | OrigCCtr | |||
| ulstar | OrigAct. | |||
| lstar | lstar | Activity Type | ||
| aufnr | SettlementOrder | |||
| rsrce | Resource | |||
| plstar | ParActvy | |||
| paufnr | Partner order | |||
| pps_psp_pnr | Partner WBS Element | |||
| pps_posid | Partner WBS Element | |||
| pps_prj_pnr | Partner Project Def. | |||
| pps_pspid | Part. Proj. Def | |||
| work_item_id | work_item_id | Work Item ID | ||
| bemot | AcctIndicator | |||
| psknz | psknz | LotSzIndep.Ind. | ||
| nplnr | nplnr | Network | ||
| gkont | Offsetting Acct | |||
| gkoar | Offst.Acct Type | |||
| aufnr_org | Origin Order | |||
| losgr | losgr | Cstg Lot Size | ||
| lsunit | lsunit | Lot Size Unit | ||
| 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 | Trip Ctry/Reg | |||
| brsch | Industry | |||
| bzirk | bzirk | Sales District | ||
| kunre | kunre | Bill-to Party | ||
| kunwe | kunwe | Ship-to Party | ||
| konzs | Group | |||
| fikrs | fikrs | FM Area | ||
| rfund | rfund | Fund | ||
| rgrant_nbr | rgrant_nbr | Grant | ||
| rbudget_pd | rbudget_pd | Rec BudPer | ||
| 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 | |||
| afabe | afabe | Deprec. Area | ||
| anln1 | anln1 | Asset | ||
| anln2 | anln2 | Sub-number | ||
| movcat | movcat | Trans.Type Cat. | ||
| anlkl | anlkl | Asset Class | ||
| vname | vname | Volatility Name | ||
| egrup | egrup | Equity group | ||
| recid | recid | Statistical Key Figure Item | ||
| prodper | prodper | Production Month | ||
| rsnum | rsnum | Reservation | ||
| rspos | Item no. | |||
| rsart | Risk type | |||
| packno | Package number | |||
| introw | Service line | |||
| SWENR | Business Entity | |||
| SGENR | Building | |||
| SGRNR | Land | |||
| SMENR | Rental Unit | |||
| RECNNR | Contract No. | |||
| snksl | Srv. Charge Key | |||
| sempsl | Settlement Unit | |||
| dabrz | Reference date | |||
| pmatnr | Product | |||
| hkgrp | hkgrp | Origin Group | ||
| verid | Version ID | |||
| stnum | BOM | |||
| stlan | stlan | Usage | ||
| stalt | stalt | Alternative | ||
| plnty | plnty | Task List Type | ||
| plnnr | plnnr | Task List Group | ||
| plnal | plnal | Referenced BOO Variant | ||
| mkalk | mkalk | Mixed Costing | ||
| baltkz | baltkz | Cost Est for ProcAlt | ||
| bwtar | Valuation Type | |||
| prozess | prozess | Process | ||
| 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 | ||
| category | category | Violation Category | ||
| kprice | kprice | Price in Gl. Crcy | ||
| hprice | hprice | Price in CompCd Crcy | ||
| wprice | wprice | Price in Trans. Crcy | ||
| sgtxt | sgtxt | Text | ||
| _Product | _Product |
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_ACDOCP_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.
CREATE VIEW P_ACDOCP_COM AS
SELECT
cast( reqtsn as fis_fp_request_tsn preserving type) AS reqtsn,
cast( datapakid as fis_fp_data_packet preserving type) AS datapakid,
cast( record as fis_fp_entry_item_no_sign ) AS record,
cast(rbukrs as fis_bukrs preserving type) AS rbukrs,
cast(rldnr as fis_rldnr preserving type) AS rldnr,
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(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,
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,
rco_ocur,
co_osl,
cast(kfsl as fis_kfsl preserving type) AS kfsl,
cast(hfsl as fis_hfsl preserving type) AS hfsl,
cast(wfsl as fis_wfsl preserving type) AS wfsl,
cast(rvunit as co_meinh preserving type) AS rvunit,
cast( vmsl as fis_vquan1_12 preserving type ) AS vmsl,
cast( scrap_qty as ck_ausmg preserving type ) AS scrap_qty,
cast( vmfsl as fis_vquan1_12_fix preserving type ) AS vmfsl,
cast( rrunit as fis_ref_qty_uom preserving type ) AS rrunit,
rmsl,
cast(ryear as fis_gjahr_no_conv preserving type) AS gjahr,
cast(ryear as fis_ryear_no_conv preserving type) AS ryear,
cast(poper as fins_fiscalperiod preserving type) AS poper,
cast(fiscyearper as fis_jahrper_conv preserving type ) AS fiscyearper,
cast(budat as fis_budat preserving type) AS budat,
cast(periv as fis_periv preserving type) AS periv,
cast(ktopl as fis_ktopl preserving type) AS ktopl,
zuonr,
slalittype,
bttype,
rmvct,
cast(awtyp as fis_awtyp preserving type) AS awtyp,
cast(aworg as fis_aworg preserving type) AS aworg,
awref,
usnam,
cast(kdauf as vdm_sales_order preserving type) AS kdauf,
cast(kdpos as sales_order_item preserving type) AS kdpos,
werks,
matnr,
kunnr,
objnr,
co_belkz,
cast( ps_psp_pnr as fis_wbsint_no_conv preserving type ) AS ps_psp_pnr,
ps_posid,
cast( ps_prj_pnr as fis_projectint_no_conv preserving type ) AS ps_prj_pnr,
ps_pspid,
pernr,
pbukrs,
cast(ukostl as fis_usp_kostl preserving type) AS ukostl,
cast(ulstar as fis_usp_lstar preserving type) AS ulstar,
lstar,
cast(aufnr as fis_aufnr preserving type) AS aufnr,
cast(rsrce as fis_co_resource preserving type) AS rsrce,
cast(plstar as fis_par_lstar preserving type) AS plstar,
cast(paufnr as fis_par_aufnr preserving type) AS paufnr,
cast( pps_psp_pnr as fis_partner_wbsint_no_conv preserving type ) AS pps_psp_pnr,
cast( pps_posid as fis_par_posid preserving type) AS pps_posid,
cast( pps_prj_pnr as fis_part_projectint_no_conv preserving type) AS pps_prj_pnr,
cast( pps_pspid as fis_par_pspid preserving type) AS pps_pspid,
work_item_id,
cast(bemot as fis_bemot preserving type) AS bemot,
psknz,
nplnr,
cast(gkont as fis_gkont preserving type) AS gkont,
cast(gkoar as farp_gkoar preserving type) AS gkoar,
cast( aufnr_org as fco_aufnr_org preserving type) AS aufnr_org,
losgr,
lsunit,
fkart,
vkorg,
vtweg,
spart,
matnr_copa,
matkl,
kdgrp,
cast(land1 as fis_land1_copa preserving type) AS land1,
cast(brsch as fis_brsch_copa preserving type) AS brsch,
bzirk,
kunre,
kunwe,
cast(konzs as fis_konzs_copa preserving type) AS konzs,
fikrs,
rfund,
rgrant_nbr,
rbudget_pd,
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,
afabe,
anln1,
anln2,
movcat,
anlkl,
vname,
egrup,
recid,
prodper,
rsnum,
cast(rspos as eam_reservation_item preserving type ) AS rspos,
cast(rsart as eam_reservation_type preserving type ) AS rsart,
cast(packno as eam_service_package preserving type ) AS packno,
cast(introw as eam_service_line_item preserving type ) AS introw,
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(pmatnr as fis_produced_product preserving type ) AS pmatnr,
hkgrp,
cast(verid as fis_verid preserving type ) AS verid,
cast(stnum as ck_stnum preserving type ) AS stnum,
stlan,
stalt,
plnty,
plnnr,
plnal,
mkalk,
baltkz,
cast(bwtar as fis_inventory_valuation_type preserving type ) AS bwtar,
prozess,
acrobjtype,
acrlogsys,
acrobj_id,
acrsobj_id,
acritmtype,
cast( acrrefobj_id as fis_acr_refobj_id preserving type ) AS acrrefobj_id,
acrvaldat,
category,
kprice,
hprice,
wprice,
sgtxt
FROM acdocp
LEFT OUTER JOIN I_Product AS _Product ON matnr = _Product.Product -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA