P_Gmia_sum_view
P_Gmia_sum_view is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (P_Gmia_Tot_View) and exposes 72 fields with key fields rclnt, rldnr, rrcty, rvers, ryear.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_Gmia_Tot_View | P_Gmia_Tot_View | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | P_GMIA_SUM | view | |
| ClientDependent | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view |
Fields (72)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | rclnt | rclnt | Client | |
| KEY | rldnr | rldnr | Ledger (Compat.) | |
| KEY | rrcty | rrcty | Record Type | |
| KEY | rvers | rvers | Version: Tax rt | |
| KEY | ryear | ryear | Ref. Year1 | |
| KEY | robjnr | robjnr | Object number | |
| KEY | cobjnr | cobjnr | Trans.objct no. | |
| KEY | sobjnr | sobjnr | Trans.objct no. | |
| KEY | rtcur | rtcur | Currency | |
| KEY | runit | runit | Unit/Area | |
| KEY | rpmax | rpmax | Period | |
| KEY | rbukrs | rbukrs | Company Code | |
| KEY | rgrant_nbr | rgrant_nbr | Grant | |
| KEY | rfund | rfund | Fund | |
| KEY | rvaluetype_9 | rvaluetype_9 | GM Value Type | |
| KEY | rtrans | rtrans | Bus.transaction | |
| KEY | rstats_ind | rstats_ind | Stat. Indicator | |
| KEY | logsys | logsys | Source system | |
| KEY | bdgt_state | bdgt_state | Workflow State | |
| tslvt | ||||
| tsl01 | ||||
| tsl02 | ||||
| tsl03 | ||||
| tsl04 | ||||
| tsl05 | ||||
| tsl06 | ||||
| tsl07 | ||||
| tsl08 | ||||
| tsl09 | ||||
| tsl10 | ||||
| tsl11 | ||||
| tsl12 | ||||
| tsl13 | ||||
| tsl14 | ||||
| tsl15 | ||||
| tsl16 | ||||
| hslvt | ||||
| hsl01 | ||||
| hsl02 | ||||
| hsl03 | ||||
| hsl04 | ||||
| hsl05 | ||||
| hsl06 | ||||
| hsl07 | ||||
| hsl08 | ||||
| hsl09 | ||||
| hsl10 | ||||
| hsl11 | ||||
| hsl12 | ||||
| hsl13 | ||||
| hsl14 | ||||
| hsl15 | ||||
| hsl16 | ||||
| mslvt | ||||
| msl01 | ||||
| msl02 | ||||
| msl03 | ||||
| msl04 | ||||
| msl05 | ||||
| msl06 | ||||
| msl07 | ||||
| msl08 | ||||
| msl09 | ||||
| msl10 | ||||
| msl11 | ||||
| msl12 | ||||
| msl13 | ||||
| msl14 | ||||
| msl15 | ||||
| msl16 | ||||
| cspred | ||||
| qspred |
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_Gmia_sum_view.
-- 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: P_GMIA_SUM
CREATE VIEW P_Gmia_sum_view AS
SELECT
rclnt,
rldnr,
rrcty,
rvers,
ryear,
robjnr,
cobjnr,
sobjnr,
rtcur,
runit,
rpmax,
rbukrs,
rgrant_nbr,
rfund,
rvaluetype_9,
rtrans,
rstats_ind,
logsys,
bdgt_state,
sum(tslvt) AS tslvt,
sum(tsl01) AS tsl01,
sum(tsl02) AS tsl02,
sum(tsl03) AS tsl03,
sum(tsl04) AS tsl04,
sum(tsl05) AS tsl05,
sum(tsl06) AS tsl06,
sum(tsl07) AS tsl07,
sum(tsl08) AS tsl08,
sum(tsl09) AS tsl09,
sum(tsl10) AS tsl10,
sum(tsl11) AS tsl11,
sum(tsl12) AS tsl12,
sum(tsl13) AS tsl13,
sum(tsl14) AS tsl14,
sum(tsl15) AS tsl15,
sum(tsl16) AS tsl16,
sum(hslvt) AS hslvt,
sum(hsl01) AS hsl01,
sum(hsl02) AS hsl02,
sum(hsl03) AS hsl03,
sum(hsl04) AS hsl04,
sum(hsl05) AS hsl05,
sum(hsl06) AS hsl06,
sum(hsl07) AS hsl07,
sum(hsl08) AS hsl08,
sum(hsl09) AS hsl09,
sum(hsl10) AS hsl10,
sum(hsl11) AS hsl11,
sum(hsl12) AS hsl12,
sum(hsl13) AS hsl13,
sum(hsl14) AS hsl14,
sum(hsl15) AS hsl15,
sum(hsl16) AS hsl16,
sum(mslvt) AS mslvt,
sum(msl01) AS msl01,
sum(msl02) AS msl02,
sum(msl03) AS msl03,
sum(msl04) AS msl04,
sum(msl05) AS msl05,
sum(msl06) AS msl06,
sum(msl07) AS msl07,
sum(msl08) AS msl08,
sum(msl09) AS msl09,
sum(msl10) AS msl10,
sum(msl11) AS msl11,
sum(msl12) AS msl12,
sum(msl13) AS msl13,
sum(msl14) AS msl14,
sum(msl15) AS msl15,
sum(msl16) AS msl16,
' ' AS cspred,
' ' AS qspred
FROM P_Gmia_Tot_View
;
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