C_MntrDocWthGRIRFlagNotSet
Monitor Purchasing Documents with GR IR Flag Not Set
C_MntrDocWthGRIRFlagNotSet is a Consumption CDS View that provides data about "Monitor Purchasing Documents with GR IR Flag Not Set" in SAP S/4HANA. It reads from 1 data source (P_CanceledDocWthGRIRFlagNotSet) and exposes 23 fields with key field PurchasingDocumentItem. It is exposed through 1 OData service (ASQL_F6096). Part of development package ODATA_MM_ANALYTICS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_CanceledDocWthGRIRFlagNotSet | P_CanceledDocWthGRIRFlagNotSet | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_StartDate | vdm_validitystart | |
| P_EndDate | vdm_validityend | |
| P_DateFunction | datefunctionid |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMNTRDOCWTHGRIR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Monitor Purchasing Documents with GR IR Flag Not Set | view | |
| OData.publish | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.compositionRoot | true | view | |
| Search.searchable | true | view | |
| UI.headerInfo.typeName | Purchasing Document Items without GR based Invoicing set | view | |
| UI.headerInfo.typeNamePlural | Purchasing Document Items without GR based Invoicing set | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F6096 | ASQL_F6096 | C2 | NOT_RELEASED |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| resultElementDateFunctionStartDate | ||||
| resultElementDateFunctionEndDate | ||||
| P_StartDate | ||||
| PurchasingDocumentasPurchasingDocument | ||||
| KEY | PurchasingDocumentItem | PurchDoc | PurchasingDocumentItem | Purchasing Doc. Item |
| Supplier | Supplier | Supplier | ||
| SupplierName | ||||
| Material | Material | Vehicle Model | ||
| MaterialName | ||||
| MaterialGroup | MaterialGroup | Product Group | ||
| MaterialGroupName | ||||
| Plant | Plant | Valuation Area | ||
| PlantName | _Plant | PlantName | Plant Name | |
| NetPriceAmount | NetPriceAmount | Net Price Amount | ||
| DocumentCurrency | PurchDoc | DocumentCurrency | Document Currency | |
| PurchasingDocumentCategory | PurchDoc | PurchasingDocumentCategory | Purchasing Document Category | |
| PurchasingDocumentCategoryName | ||||
| PurchasingOrganization | Purchasing Organization | |||
| PurchasingOrganizationName | ||||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| PurchasingGroupName | ||||
| PurchasingDocumentItemUniqueID | PurchasingDocumentItemUniqueID | Document Item | ||
| FormattedDocumentKey |
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 C_MntrDocWthGRIRFlagNotSet.
-- 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: CMNTRDOCWTHGRIR
-- Parameters: P_StartDate : vdm_validitystart, P_EndDate : vdm_validityend, P_DateFunction : datefunctionid
CREATE VIEW C_MntrDocWthGRIRFlagNotSet AS
SELECT
resultElement: 'DateFunctionStartDate' AS resultElementDateFunctionStartDate,
resultElement: 'DateFunctionEndDate' AS resultElementDateFunctionEndDate,
binding: [ { targetParameter: 'P_DateFunction', type: #PARAMETER, value : 'P_DateFunction' AS P_StartDate,
PurchDoc.PurchasingDocumentItem AS PurchasingDocumentItem,
Supplier,
cast ( _Supplier.SupplierName as suppliername ) AS SupplierName,
Material,
_Material._Text[1: Language = $session.system_language].MaterialName AS MaterialName,
MaterialGroup,
_MaterialGroup._Text[1: Language = $session.system_language].MaterialGroupName AS MaterialGroupName,
Plant,
_Plant.PlantName AS PlantName,
NetPriceAmount,
PurchDoc.DocumentCurrency AS DocumentCurrency,
PurchDoc.PurchasingDocumentCategory AS PurchasingDocumentCategory,
_PurchasingDocumentCategory._Text[1: Language = $session.system_language].PurchasingDocumentCategoryName AS PurchasingDocumentCategoryName,
cast( PurchasingOrganization as mm_a_purchasing_organization preserving type ) AS PurchasingOrganization,
cast ( _PurchasingOrganization.PurchasingOrganizationName as mm_a_purg_org_name ) AS PurchasingOrganizationName,
PurchasingGroup,
cast ( _PurchasingGroup.PurchasingGroupName as mm_a_purg_grp_name ) AS PurchasingGroupName,
PurchasingDocumentItemUniqueID,
cast( concat( PurchDoc.PurchasingDocument, concat( '/' , PurchDoc.PurchasingDocumentItem) ) as formattedpurchasedocitem ) AS FormattedDocumentKey
FROM P_CanceledDocWthGRIRFlagNotSet
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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