FINS_REV_REC_COSACT_VIEW2_BAS
Actuals for data with CO objects
FINS_REV_REC_COSACT_VIEW2_BAS is a CDS View that provides data about "Actuals for data with CO objects" in SAP S/4HANA. It reads from 2 data sources (acdoca, finsc_ld_cmp) and exposes 52 fields. Part of development package FINS_REV_REC_UTIL.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| acdoca | a | from |
| finsc_ld_cmp | v | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| p_fiscyearper | jahrper |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Actuals for data with CO objects | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (52)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| rldnr | acdoca | rldnr | Ledger (Compat.) | |
| objnr | acdoca | objnr | Val. Obj. No. | |
| ps_posid | acdoca | ps_posid | WBS Element | |
| ps_psp_pnr | acdoca | ps_psp_pnr | WBS Element | |
| paobjnr | acdoca | paobjnr | Profit. segment | |
| aufnr | acdoca | aufnr | SettlementOrder | |
| kdauf | acdoca | kdauf | SD Document | |
| kdpos | acdoca | kdpos | Sales Ord. Item | |
| vtkey | acdoca | vtkey | Contract | |
| vtpos | acdoca | vtpos | Item | |
| hkont | acdoca | racct | GL Account From | |
| gkont | acdoca | gkont | Offsetting Acct | |
| slalittype | acdoca | slalittype | SLALineItemType | |
| bukrs | acdoca | rbukrs | Company Code | |
| werks | acdoca | werks | Receiving Plant | |
| gsber | acdoca | rbusa | Business Area | |
| prctr | acdoca | prctr | Profit Centers | |
| matnr | acdoca | matnr | Vehicle Model | |
| pernr | acdoca | pernr | Personnel no. | |
| rsrce | acdoca | rsrce | Resource | |
| uprctr | acdoca | uprctr | Origin Profit Center | |
| bttype | acdoca | bttype | Business Transaction Type | |
| bttype_tec | ||||
| beltp | acdoca | beltp | Debit Type | |
| rwcur | acdoca | rwcur | Transaction Currency | |
| rhcur | acdoca | rhcur | Local Currency | |
| rkcur | acdoca | rkcur | Ledger curr. | |
| rocur | acdoca | rocur | Free Defined Crcy 1 | |
| rvcur | acdoca | rvcur | Free Defined Crcy 4 | |
| rbcur | acdoca | rbcur | Free Defined Crcy 3 | |
| rccur | acdoca | rccur | Third Currency | |
| rdcur | acdoca | rdcur | Free Defined Crcy 5 | |
| recur | acdoca | recur | Free Defined Crcy 6 | |
| rfcur | acdoca | rfcur | Free Defined Crcy 7 | |
| rgcur | acdoca | rgcur | Free Defined Crcy 8 | |
| rco_ocur | acdoca | rco_ocur | Object Currency | |
| runit | acdoca | runit | Unit/Area | |
| max_budat | ||||
| wsl | ||||
| hsl | ||||
| ksl | ||||
| kfsl | ||||
| osl | ||||
| vsl | ||||
| bsl | ||||
| csl | ||||
| dsl | ||||
| esl | ||||
| fsl | ||||
| gsl | ||||
| co_osl | ||||
| msl |
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 FINS_REV_REC_COSACT_VIEW2_BAS.
-- 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.
-- Parameters: p_fiscyearper : jahrper
CREATE VIEW FINS_REV_REC_COSACT_VIEW2_BAS AS
SELECT
a.rldnr AS rldnr,
a.objnr AS objnr,
a.ps_posid AS ps_posid,
a.ps_psp_pnr AS ps_psp_pnr,
a.paobjnr AS paobjnr,
a.aufnr AS aufnr,
a.kdauf AS kdauf,
a.kdpos AS kdpos,
a.vtkey AS vtkey,
a.vtpos AS vtpos,
a.racct AS hkont,
a.gkont AS gkont,
a.slalittype AS slalittype,
a.rbukrs AS bukrs,
a.werks AS werks,
a.rbusa AS gsber,
a.prctr AS prctr,
a.matnr AS matnr,
a.pernr AS pernr,
a.rsrce AS rsrce,
a.uprctr AS uprctr,
a.bttype AS bttype,
cast( case a.bttype when 'RFCV' then a.bttype else ( case a.vrgng when '' then a.vorgn when 'COIE' then a.vorgn when 'COIN' then a.vorgn else a.vrgng end ) end as fins_trr_bttype ) AS bttype_tec,
a.beltp AS beltp,
a.rwcur AS rwcur,
a.rhcur AS rhcur,
a.rkcur AS rkcur,
a.rocur AS rocur,
a.rvcur AS rvcur,
a.rbcur AS rbcur,
a.rccur AS rccur,
a.rdcur AS rdcur,
a.recur AS recur,
a.rfcur AS rfcur,
a.rgcur AS rgcur,
a.rco_ocur AS rco_ocur,
a.runit AS runit,
max(a.budat) AS max_budat,
sum(a.wsl) AS wsl,
sum(a.hsl) AS hsl,
sum(a.ksl) AS ksl,
sum(a.kfsl) AS kfsl,
sum(a.osl) AS osl,
sum(a.vsl) AS vsl,
sum(a.bsl) AS bsl,
sum(a.csl) AS csl,
sum(a.dsl) AS dsl,
sum(a.esl) AS esl,
sum(a.fsl) AS fsl,
sum(a.gsl) AS gsl,
sum(a.co_osl) AS co_osl,
sum(a.msl) AS msl
FROM acdoca AS a
INNER JOIN finsc_ld_cmp AS v ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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