P_FMAVCP_Totals
P_FMAVCP_Totals is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (fmavcp, fmavct_recon_yr, fmavct_recon_yr, fmavct) and exposes 153 fields with key fields rclnt, rldnr, rrcty, rvers, ryear.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| fmavcp | itm | union_all |
| fmavct_recon_yr | mig | left_outer |
| fmavct_recon_yr | mig | inner |
| fmavct | tot | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFMAVCP_TOTALS | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view |
Fields (153)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | rclnt | fmavct | rclnt | Client |
| KEY | rldnr | fmavct | rldnr | Ledger (Compat.) |
| KEY | rrcty | fmavct | rrcty | Record Type |
| KEY | rvers | fmavct | rvers | Version: Tax rt |
| KEY | ryear | fmavct | ryear | Ref. Year1 |
| KEY | robjnr | fmavct | robjnr | Object number |
| KEY | cobjnr | fmavct | cobjnr | Trans.objct no. |
| KEY | sobjnr | fmavct | sobjnr | Trans.objct no. |
| KEY | rtcur | fmavct | rtcur | Currency |
| KEY | drcrk | fmavct | drcrk | Debit/Credit |
| KEY | rpmax | fmavct | rpmax | Period |
| KEY | rfikrs | fmavct | rfikrs | FM Area |
| KEY | rfund | fmavct | rfund | Fund |
| KEY | rfundsctr | fmavct | rfundsctr | Funds Center |
| KEY | rcmmtitem | fmavct | rcmmtitem | Commitment Item |
| KEY | rfuncarea | fmavct | rfuncarea | Functional Area |
| KEY | ruserdim | fmavct | ruserdim | Rec.Cstr-Spc Fd |
| KEY | rgrant_nbr | fmavct | rgrant_nbr | Grant |
| KEY | rmeasure | fmavct | rmeasure | Receiver FProg |
| KEY | rcvrgrp_9 | fmavct | rcvrgrp_9 | Cover Group |
| KEY | budget_pd_9 | fmavct | budget_pd_9 | Budget Period |
| KEY | ceffyear_9 | fmavct | ceffyear_9 | YCE |
| KEY | wfstate_9 | fmavct | wfstate_9 | Workflow Status |
| KEY | alloctype_9 | fmavct | alloctype_9 | Amount Type |
| KEY | logsys | fmavct | logsys | Source system |
| tslvt | fmavct | tslvt | Transactn curr. | |
| tsl01 | fmavct | tsl01 | Transactn curr. | |
| tsl02 | fmavct | tsl02 | Transactn curr. | |
| tsl03 | fmavct | tsl03 | Transactn curr. | |
| tsl04 | fmavct | tsl04 | Transactn curr. | |
| tsl05 | fmavct | tsl05 | Transactn curr. | |
| tsl06 | fmavct | tsl06 | Transactn curr. | |
| tsl07 | fmavct | tsl07 | Transactn curr. | |
| tsl08 | fmavct | tsl08 | Transactn curr. | |
| tsl09 | fmavct | tsl09 | Transactn curr. | |
| tsl10 | fmavct | tsl10 | Transactn curr. | |
| tsl11 | fmavct | tsl11 | Transactn curr. | |
| tsl12 | fmavct | tsl12 | Transactn curr. | |
| tsl13 | fmavct | tsl13 | Transactn curr. | |
| tsl14 | fmavct | tsl14 | Transactn curr. | |
| tsl15 | fmavct | tsl15 | Transactn curr. | |
| tsl16 | fmavct | tsl16 | Transactn curr. | |
| hslvt | fmavct | hslvt | Local Currency | |
| hsl01 | fmavct | hsl01 | Total transactions in the period in local currency (curr 2) | |
| hsl02 | fmavct | hsl02 | Total transactions in the period in local currency (curr 2) | |
| hsl03 | fmavct | hsl03 | Total transactions in the period in local currency (curr 2) | |
| hsl04 | fmavct | hsl04 | Total transactions in the period in local currency (curr 2) | |
| hsl05 | fmavct | hsl05 | Total transactions in the period in local currency (curr 2) | |
| hsl06 | fmavct | hsl06 | Total transactions in the period in local currency (curr 2) | |
| hsl07 | fmavct | hsl07 | Total transactions in the period in local currency (curr 2) | |
| hsl08 | fmavct | hsl08 | Total transactions in the period in local currency (curr 2) | |
| hsl09 | fmavct | hsl09 | Total transactions in the period in local currency (curr 2) | |
| hsl10 | fmavct | hsl10 | Total transactions in the period in local currency (curr 2) | |
| hsl11 | fmavct | hsl11 | Total transactions in the period in local currency (curr 2) | |
| hsl12 | fmavct | hsl12 | Total transactions in the period in local currency (curr 2) | |
| hsl13 | fmavct | hsl13 | Total transactions in the period in local currency (curr 2) | |
| hsl14 | fmavct | hsl14 | Total transactions in the period in local currency (curr 2) | |
| hsl15 | fmavct | hsl15 | Total transactions in the period in local currency (curr 2) | |
| hsl16 | fmavct | hsl16 | Total transactions in the period in local currency (curr 2) | |
| kslvt | ||||
| ksl01 | ||||
| ksl02 | ||||
| ksl03 | ||||
| ksl04 | ||||
| ksl05 | ||||
| ksl06 | ||||
| ksl07 | ||||
| ksl08 | ||||
| ksl09 | ||||
| ksl10 | ||||
| ksl11 | ||||
| ksl12 | ||||
| ksl13 | ||||
| ksl14 | ||||
| ksl15 | ||||
| ksl16 | ||||
| rclnt | Client | |||
| KEY | rldnr | fmavcp | rldnr | Ledger (Compat.) |
| KEY | rrcty | fmavcp | rrcty | Record Type |
| KEY | rvers | fmavcp | rvers | Version: Tax rt |
| KEY | ryear | fmavcp | ryear | Ref. Year1 |
| KEY | robjnr | Object number | ||
| KEY | cobjnr | Trans.objct no. | ||
| KEY | sobjnr | Trans.objct no. | ||
| KEY | rtcur | fmavcp | rtcur | Currency |
| KEY | drcrk | fmavcp | drcrk | Debit/Credit |
| KEY | rpmax | fmavcp | rpmax | Period |
| KEY | rfikrs | fmavcp | rfikrs | FM Area |
| KEY | rfund | fmavcp | rfund | Fund |
| KEY | rfundsctr | fmavcp | rfundsctr | Funds Center |
| KEY | rcmmtitem | fmavcp | rcmmtitem | Commitment Item |
| KEY | rfuncarea | fmavcp | rfuncarea | Functional Area |
| KEY | ruserdim | fmavcp | ruserdim | Rec.Cstr-Spc Fd |
| KEY | rgrant_nbr | fmavcp | rgrant_nbr | Grant |
| KEY | rmeasure | fmavcp | rmeasure | Receiver FProg |
| KEY | rcvrgrp_9 | fmavcp | rcvrgrp_9 | Cover Group |
| KEY | budget_pd_9 | fmavcp | budget_pd_9 | Budget Period |
| KEY | ceffyear_9 | fmavcp | ceffyear_9 | YCE |
| KEY | wfstate_9 | fmavcp | wfstate_9 | Workflow Status |
| KEY | alloctype_9 | fmavcp | alloctype_9 | Amount Type |
| KEY | logsys | fmavcp | logsys | Source system |
| tslvt | fmavcp | tslvt | Transactn curr. | |
| tsl01 | fmavcp | tsl01 | Transactn curr. | |
| tsl02 | fmavcp | tsl02 | Transactn curr. | |
| tsl03 | fmavcp | tsl03 | Transactn curr. | |
| tsl04 | fmavcp | tsl04 | Transactn curr. | |
| tsl05 | fmavcp | tsl05 | Transactn curr. | |
| tsl06 | fmavcp | tsl06 | Transactn curr. | |
| tsl07 | fmavcp | tsl07 | Transactn curr. | |
| tsl08 | fmavcp | tsl08 | Transactn curr. | |
| tsl09 | fmavcp | tsl09 | Transactn curr. | |
| tsl10 | fmavcp | tsl10 | Transactn curr. | |
| tsl11 | fmavcp | tsl11 | Transactn curr. | |
| tsl12 | fmavcp | tsl12 | Transactn curr. | |
| tsl13 | fmavcp | tsl13 | Transactn curr. | |
| tsl14 | fmavcp | tsl14 | Transactn curr. | |
| tsl15 | fmavcp | tsl15 | Transactn curr. | |
| tsl16 | fmavcp | tsl16 | Transactn curr. | |
| hslvt | fmavcp | hslvt | Local Currency | |
| hsl01 | fmavcp | hsl01 | Total transactions in the period in local currency (curr 2) | |
| hsl02 | fmavcp | hsl02 | Total transactions in the period in local currency (curr 2) | |
| hsl03 | fmavcp | hsl03 | Total transactions in the period in local currency (curr 2) | |
| hsl04 | fmavcp | hsl04 | Total transactions in the period in local currency (curr 2) | |
| hsl05 | fmavcp | hsl05 | Total transactions in the period in local currency (curr 2) | |
| hsl06 | fmavcp | hsl06 | Total transactions in the period in local currency (curr 2) | |
| hsl07 | fmavcp | hsl07 | Total transactions in the period in local currency (curr 2) | |
| hsl08 | fmavcp | hsl08 | Total transactions in the period in local currency (curr 2) | |
| hsl09 | fmavcp | hsl09 | Total transactions in the period in local currency (curr 2) | |
| hsl10 | fmavcp | hsl10 | Total transactions in the period in local currency (curr 2) | |
| hsl11 | fmavcp | hsl11 | Total transactions in the period in local currency (curr 2) | |
| hsl12 | fmavcp | hsl12 | Total transactions in the period in local currency (curr 2) | |
| hsl13 | fmavcp | hsl13 | Total transactions in the period in local currency (curr 2) | |
| hsl14 | fmavcp | hsl14 | Total transactions in the period in local currency (curr 2) | |
| hsl15 | fmavcp | hsl15 | Total transactions in the period in local currency (curr 2) | |
| hsl16 | fmavcp | hsl16 | Total transactions in the period in local currency (curr 2) | |
| kslvt | ||||
| ksl01 | ||||
| ksl02 | ||||
| ksl03 | ||||
| ksl04 | ||||
| ksl05 | ||||
| ksl06 | ||||
| ksl07 | ||||
| ksl08 | ||||
| ksl09 | ||||
| ksl10 | ||||
| ksl11 | ||||
| ksl12 | ||||
| ksl13 | ||||
| ksl14 | ||||
| ksl15 | ||||
| ksl16 | ||||
| cspred |
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_FMAVCP_Totals.
-- 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: PFMAVCP_TOTALS
CREATE VIEW P_FMAVCP_Totals AS
SELECT
tot.rclnt AS rclnt,
tot.rldnr AS rldnr,
tot.rrcty AS rrcty,
tot.rvers AS rvers,
tot.ryear AS ryear,
tot.robjnr AS robjnr,
tot.cobjnr AS cobjnr,
tot.sobjnr AS sobjnr,
tot.rtcur AS rtcur,
tot.drcrk AS drcrk,
tot.rpmax AS rpmax,
tot.rfikrs AS rfikrs,
tot.rfund AS rfund,
tot.rfundsctr AS rfundsctr,
tot.rcmmtitem AS rcmmtitem,
tot.rfuncarea AS rfuncarea,
tot.ruserdim AS ruserdim,
tot.rgrant_nbr AS rgrant_nbr,
tot.rmeasure AS rmeasure,
tot.rcvrgrp_9 AS rcvrgrp_9,
tot.budget_pd_9 AS budget_pd_9,
tot.ceffyear_9 AS ceffyear_9,
tot.wfstate_9 AS wfstate_9,
tot.alloctype_9 AS alloctype_9,
tot.logsys AS logsys,
tot.tslvt AS tslvt,
tot.tsl01 AS tsl01,
tot.tsl02 AS tsl02,
tot.tsl03 AS tsl03,
tot.tsl04 AS tsl04,
tot.tsl05 AS tsl05,
tot.tsl06 AS tsl06,
tot.tsl07 AS tsl07,
tot.tsl08 AS tsl08,
tot.tsl09 AS tsl09,
tot.tsl10 AS tsl10,
tot.tsl11 AS tsl11,
tot.tsl12 AS tsl12,
tot.tsl13 AS tsl13,
tot.tsl14 AS tsl14,
tot.tsl15 AS tsl15,
tot.tsl16 AS tsl16,
tot.hslvt AS hslvt,
tot.hsl01 AS hsl01,
tot.hsl02 AS hsl02,
tot.hsl03 AS hsl03,
tot.hsl04 AS hsl04,
tot.hsl05 AS hsl05,
tot.hsl06 AS hsl06,
tot.hsl07 AS hsl07,
tot.hsl08 AS hsl08,
tot.hsl09 AS hsl09,
tot.hsl10 AS hsl10,
tot.hsl11 AS hsl11,
tot.hsl12 AS hsl12,
tot.hsl13 AS hsl13,
tot.hsl14 AS hsl14,
tot.hsl15 AS hsl15,
tot.hsl16 AS hsl16,
cast(0 as kslvt9_cs) AS kslvt,
cast(0 as kslxx9_cs) AS ksl01,
cast(0 as kslxx9_cs) AS ksl02,
cast(0 as kslxx9_cs) AS ksl03,
cast(0 as kslxx9_cs) AS ksl04,
cast(0 as kslxx9_cs) AS ksl05,
cast(0 as kslxx9_cs) AS ksl06,
cast(0 as kslxx9_cs) AS ksl07,
cast(0 as kslxx9_cs) AS ksl08,
cast(0 as kslxx9_cs) AS ksl09,
cast(0 as kslxx9_cs) AS ksl10,
cast(0 as kslxx9_cs) AS ksl11,
cast(0 as kslxx9_cs) AS ksl12,
cast(0 as kslxx9_cs) AS ksl13,
cast(0 as kslxx9_cs) AS ksl14,
cast(0 as kslxx9_cs) AS ksl15,
cast(0 as kslxx9_cs) AS ksl16,
' ' AS cspred
FROM fmavct AS tot
LEFT OUTER JOIN fmavct_recon_yr AS mig ON /* join condition not captured in parsed metadata */
INNER JOIN fmavct_recon_yr AS mig ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): fmavcp
;
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