P_ReqnAvgApprovalTime
Requisition Average Approval Time 1
P_ReqnAvgApprovalTime is a Consumption CDS View that provides data about "Requisition Average Approval Time 1" in SAP S/4HANA. It reads from 1 data source (P_PurReqnAvgApprvlCrcyConvrsn) and exposes 19 fields with key fields PurchaseRequisition, PurchaseRequisitionItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PurReqnAvgApprvlCrcyConvrsn | P_PurReqnAvgApprvlCrcyConvrsn | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_DisplayCurrency | displaycurrency | |
| P_StartDate | badat | |
| P_EndDate | badat |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PREQNAVGAPPTIME | view | |
| ClientDependent | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Requisition Average Approval Time 1 | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseRequisition | P_PurReqnCurrencyConvrsn | PurchaseRequisition | Requisition |
| KEY | PurchaseRequisitionItem | P_PurReqnCurrencyConvrsn | PurchaseRequisitionItem | Requisn. item |
| PurchasingGroup | P_PurReqnCurrencyConvrsn | PurchasingGroup | Purchasing Group | |
| PurchasingOrganization | P_PurReqnCurrencyConvrsn | PurchasingOrganization | Purchasing Organization | |
| Supplier | P_PurReqnCurrencyConvrsn | Supplier | Supplier | |
| SupplierCountry | P_PurReqnCurrencyConvrsn | SupplierCountry | ||
| Material | P_PurReqnCurrencyConvrsn | Material | Vehicle Model | |
| MaterialGroup | P_PurReqnCurrencyConvrsn | MaterialGroup | Product Group | |
| Plant | P_PurReqnCurrencyConvrsn | Plant | Valuation Area | |
| PurReqCreationDate | P_PurReqnCurrencyConvrsn | PurReqCreationDate | Requisn Date | |
| CreationDate | P_PurReqnCurrencyConvrsn | CreationDate | Time Stamp | |
| CostCenter | P_PurReqnCurrencyConvrsn | CostCenter | Cost Center | |
| CreatedByUser | P_PurReqnCurrencyConvrsn | CreatedByUser | User Name | |
| PurchaseRequisitionPrice | P_PurReqnCurrencyConvrsn | PurchaseRequisitionPrice | Valuation Price | |
| CalendarWeek | P_PurReqnCurrencyConvrsn | CalendarWeek | Calendar Week | |
| CalendarMonth | P_PurReqnCurrencyConvrsn | CalendarMonth | Calendar Month | |
| CalendarQuarter | P_PurReqnCurrencyConvrsn | CalendarQuarter | Calendar Quarter | |
| CalendarYear | P_PurReqnCurrencyConvrsn | CalendarYear | Year | |
| PurchaseRequisitionType | PurchaseRequisitionType | Order Type |
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_ReqnAvgApprovalTime.
-- 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: PREQNAVGAPPTIME
-- Parameters: P_DisplayCurrency : displaycurrency, P_StartDate : badat, P_EndDate : badat
CREATE VIEW P_ReqnAvgApprovalTime AS
SELECT
P_PurReqnCurrencyConvrsn.PurchaseRequisition AS PurchaseRequisition,
P_PurReqnCurrencyConvrsn.PurchaseRequisitionItem AS PurchaseRequisitionItem,
P_PurReqnCurrencyConvrsn.PurchasingGroup AS PurchasingGroup,
P_PurReqnCurrencyConvrsn.PurchasingOrganization AS PurchasingOrganization,
P_PurReqnCurrencyConvrsn.Supplier AS Supplier,
P_PurReqnCurrencyConvrsn.SupplierCountry AS SupplierCountry,
P_PurReqnCurrencyConvrsn.Material AS Material,
P_PurReqnCurrencyConvrsn.MaterialGroup AS MaterialGroup,
P_PurReqnCurrencyConvrsn.Plant AS Plant,
P_PurReqnCurrencyConvrsn.PurReqCreationDate AS PurReqCreationDate,
P_PurReqnCurrencyConvrsn.CreationDate AS CreationDate,
P_PurReqnCurrencyConvrsn.CostCenter AS CostCenter,
P_PurReqnCurrencyConvrsn.CreatedByUser AS CreatedByUser,
P_PurReqnCurrencyConvrsn.PurchaseRequisitionPrice AS PurchaseRequisitionPrice,
P_PurReqnCurrencyConvrsn.CalendarWeek AS CalendarWeek,
P_PurReqnCurrencyConvrsn.CalendarMonth AS CalendarMonth,
P_PurReqnCurrencyConvrsn.CalendarQuarter AS CalendarQuarter,
P_PurReqnCurrencyConvrsn.CalendarYear AS CalendarYear,
PurchaseRequisitionType
FROM P_PurReqnAvgApprvlCrcyConvrsn
;
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