C_MntrDocWthGRIRFlagNotSet

DDL: C_MNTRDOCWTHGRIRFLAGNOTSET SQL: CMNTRDOCWTHGRIR Type: view CONSUMPTION Package: ODATA_MM_ANALYTICS

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)

SourceAliasJoin Type
P_CanceledDocWthGRIRFlagNotSet P_CanceledDocWthGRIRFlagNotSet from

Parameters (3)

NameTypeDefault
P_StartDate vdm_validitystart
P_EndDate vdm_validityend
P_DateFunction datefunctionid

Annotations (17)

NameValueLevelField
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)

ServiceBindingVersionContractRelease
ASQL_F6096 ASQL_F6096 C2 NOT_RELEASED

Fields (23)

KeyFieldSource TableSource FieldDescription
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
;