P_GMAVCSetLocCurr
P_GMAVCSetLocCurr is a Basic CDS View in SAP S/4HANA. It reads from 11 data sources and exposes 5 fields.
Data Sources (11)
| Source | Alias | Join Type |
|---|---|---|
| P_GMAVCLDGRACTMinMax | g1 | left_outer |
| P_GMAVCLDGRACTMinMax | g1 | union_all |
| fpb_persparm | p1 | union_all |
| fpb_persparm | p2 | left_outer |
| fpb_persparm | p2 | left_outer |
| t001 | t0 | inner |
| tcurc | t1 | from |
| tcurc | t1 | union_all |
| tcurc | t2 | left_outer |
| tcurc | t3 | left_outer |
| tcurc | t3 | left_outer |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_CompanyCodeCurrency | vdm_v_company_code_currency |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PGMAVCSETLCURR | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #ORGANIZATIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| UserID | ||||
| userasvdm_useridasUserID | ||||
| userasvdm_useridasUserID | ||||
| userasvdm_useridasUserID | ||||
| CompanyCodeCurrency |
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_GMAVCSetLocCurr.
-- 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: PGMAVCSETLCURR
-- Parameters: P_CompanyCodeCurrency : vdm_v_company_code_currency
CREATE VIEW P_GMAVCSetLocCurr AS
SELECT
cast($session.user as vdm_userid) AS UserID,
cast(t1.waers as vdm_v_company_code_currency) as CompanyCodeCurrency AS userasvdm_useridasUserID,
cast(t1.waers as vdm_v_company_code_currency) AS CompanyCodeCurrency
FROM tcurc AS t1
LEFT OUTER JOIN tcurc AS t2 ON /* join condition not captured in parsed metadata */
INNER JOIN t001 AS t0 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tcurc AS t3 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fpb_persparm AS p2 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_GMAVCLDGRACTMinMax AS g1 ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): fpb_persparm, P_GMAVCLDGRACTMinMax, tcurc
;
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