P_GLDaysPyblOutStdgIndrctOvw
GL DPO Indirect Ovw
P_GLDaysPyblOutStdgIndrctOvw is a Composite CDS View that provides data about "GL DPO Indirect Ovw" in SAP S/4HANA. It reads from 2 data sources (I_DaysPayablesOutstanding, I_DaysPayablesOutstanding) and exposes 30 fields with key field YearMonth. Part of development package ODATA_GL_OVP.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_DaysPayablesOutstanding | I_DaysPayablesOutstanding | from |
| I_DaysPayablesOutstanding | I_DaysPayablesOutstanding | union_all |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_DisplayCurrency | vdm_v_display_currency | |
| P_KeyDate | vdm_v_key_date | |
| P_StartDate | sydate |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PGLDPOIND | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | YearMonth | YearMonth | Year Month | |
| CreditAmtInDisplayCrcy | CreditAmtInDisplayCrcy | |||
| PurchaseAmtInDisplayCrcy | PurchaseAmtInDisplayCrcy | |||
| CreditAmtFromLastYearInDspCrcy | ||||
| PurAmtFrmLastYearInDisplayCrcy | ||||
| DurationUnit | DurationUnit | Unit | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Supplier | Supplier | Supplier | ||
| SupplierAccountGroup | SupplierAccountGroup | Account group | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| SupplierFinsAuthorizationGrp | SupplierFinsAuthorizationGrp | AuthorizGroup | ||
| CalendarMonthName | ||||
| P_KeyDate6FAIL | ||||
| 1 | 1 | |||
| P_PurRollingAverageMonths1 | ||||
| P_StartDate | ||||
| P_DisplayCurrency | ||||
| P_ExchangeRateTypeMkeyYearMonth | ||||
| CreditAmtInDisplayCrcy | ||||
| PurchaseAmtInDisplayCrcy | ||||
| CreditAmtFromLastYearInDspCrcy | CreditAmtInDisplayCrcy | |||
| PurAmtFrmLastYearInDisplayCrcy | PurchaseAmtInDisplayCrcy | |||
| DurationUnit | DurationUnit | Unit | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Supplier | Supplier | Supplier | ||
| SupplierAccountGroup | SupplierAccountGroup | Account group | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| SupplierFinsAuthorizationGrp | SupplierFinsAuthorizationGrp | AuthorizGroup | ||
| CalendarMonthName | ||||
| CalendarMonth |
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_GLDaysPyblOutStdgIndrctOvw.
-- 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: PGLDPOIND
-- Parameters: P_DisplayCurrency : vdm_v_display_currency, P_KeyDate : vdm_v_key_date, P_StartDate : sydate
CREATE VIEW P_GLDaysPyblOutStdgIndrctOvw AS
SELECT
YearMonth,
CreditAmtInDisplayCrcy,
PurchaseAmtInDisplayCrcy,
cast (0 as abap.curr( 27, 6 )) AS CreditAmtFromLastYearInDspCrcy,
cast (0 as abap.curr( 27, 6 )) AS PurAmtFrmLastYearInDisplayCrcy,
DurationUnit,
CompanyCode,
Supplier,
SupplierAccountGroup,
AuthorizationGroup,
SupplierFinsAuthorizationGrp,
_CalendarMonth._Text[1: Language = $session.system_language ].CalendarMonthName AS CalendarMonthName,
cast (_CalendarMonth.CalendarMonth as int1) as CalendarMonth AS P_KeyDate6FAIL,
1,
P_PurRollingAverageMonths: 1 AS P_PurRollingAverageMonths1,
P_TodayDate: $parameters.P_StartDate AS P_StartDate,
P_DisplayCurrency: $parameters.P_DisplayCurrency AS P_DisplayCurrency,
cast (_CalendarMonth.CalendarMonth as int1) AS CalendarMonth
FROM I_DaysPayablesOutstanding
-- UNION ALL with additional select branch(es): I_DaysPayablesOutstanding
;
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