P_FmavcOcoDataUserAggEnh
P_FmavcOcoDataUserAggEnh is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (P_FmavcOcoDataUserAgg) and exposes 20 fields with key fields rfikrs, rldnr, ceffyear_9, rcvrgrp_9, rgrant_nbr.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_FmavcOcoDataUserAgg | P_FmavcOcoDataUserAgg | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_uname | syuname | |
| P_BudgetUsageThldInPercent | buavc_budget_usage |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFMAVCOCOUSERENH | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | rfikrs | rfikrs | FM Area | |
| KEY | rldnr | rldnr | Ledger (Compat.) | |
| KEY | ceffyear_9 | ceffyear_9 | YCE | |
| KEY | rcvrgrp_9 | rcvrgrp_9 | Cover Group | |
| KEY | rgrant_nbr | rgrant_nbr | Grant | |
| KEY | rfund | rfund | Fund | |
| KEY | budget_pd_9 | budget_pd_9 | Budget Period | |
| KEY | rfundsctr | rfundsctr | Funds Center | |
| KEY | rcmmtitem | rcmmtitem | Commitment Item | |
| KEY | rfuncarea | rfuncarea | Functional Area | |
| KEY | rmeasure | rmeasure | Receiver FProg | |
| KEY | ruserdim | ruserdim | Rec.Cstr-Spc Fd | |
| KEY | rtcur | rtcur | Currency | |
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| CommitmentItemFiscalYear | CommitmentItemFiscalYear | Commit. Item FY | ||
| ConsumableAmountInFMACrcy | ||||
| ConsumedAmountInFMACrcy | ||||
| AvailableAmountInFMACrcy | ||||
| HundredTimesAvailableAmount | ||||
| NumberOfControlObjects |
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_FmavcOcoDataUserAggEnh.
-- 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: PFMAVCOCOUSERENH
-- Parameters: P_uname : syuname, P_BudgetUsageThldInPercent : buavc_budget_usage
CREATE VIEW P_FmavcOcoDataUserAggEnh AS
SELECT
rfikrs,
rldnr,
ceffyear_9,
rcvrgrp_9,
rgrant_nbr,
rfund,
budget_pd_9,
rfundsctr,
rcmmtitem,
rfuncarea,
rmeasure,
ruserdim,
rtcur,
ValidityEndDate,
CommitmentItemFiscalYear,
cast(ConsumableAmount as buavc_consumable_amount) AS ConsumableAmountInFMACrcy,
cast(ConsumedAmount as buavc_consumed_amount) AS ConsumedAmountInFMACrcy,
cast( (ConsumableAmount - ConsumedAmount) as buavc_available_amount) AS AvailableAmountInFMACrcy,
cast(100 * (ConsumableAmount - ConsumedAmount) as buavc_100_times_available) AS HundredTimesAvailableAmount,
cast(count( * ) as buavc_obj_count) AS NumberOfControlObjects
FROM P_FmavcOcoDataUserAgg
;
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