C_GRIRClearingProcessChange
GRIR Clearing Process Change
C_GRIRClearingProcessChange is a Consumption CDS View that provides data about "GRIR Clearing Process Change" in SAP S/4HANA. It reads from 1 data source (P_GRIRClearingProcessChange) and exposes 40 fields with key fields CompanyCode, PurchasingDocument, PurchasingDocumentItem, LastChangeDateTime. It has 10 associations to related views. It is exposed through 2 OData services (ASQL_F5796, UI_GRIR_BPI). It is used in 1 Fiori application: GR/IR Process Insights. Part of development package FINS_FIS_FICO_APPS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_GRIRClearingProcessChange | P_GRIRClearingProcessChange | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UserContactCard | _GRIRClrgProcessResponsibleUsr | $projection.GRIRClrgProcessResponsibleUser = _GRIRClrgProcessResponsibleUsr.ContactCardID |
| [0..1] | I_UserContactCard | _GRIRClrgProcPrevRespUser | $projection.GRIRClrgProcPrevResponsibleUsr = _GRIRClrgProcPrevRespUser.ContactCardID |
| [0..*] | I_GRIRProcessStatusText | _GRIRProcessStatusText | $projection.GRIRClearingProcessStatus = _GRIRProcessStatusText.GRIRClearingProcessStatus |
| [0..*] | I_GRIRProcessStatusText | _PrevGRIRClrgProcessStatusText | $projection.PrevGRIRClearingProcessStatus = _PrevGRIRClrgProcessStatusText.GRIRClearingProcessStatus |
| [0..*] | I_GRIRProcessPriorityText | _GRIRProcessPriorityText | $projection.GRIRClearingProcessPriority = _GRIRProcessPriorityText.GRIRClearingProcessPriority |
| [0..*] | I_GRIRProcessPriorityText | _PrevGRIRClrgProcPriorityText | $projection.PrevGRIRClrgProcPriority = _PrevGRIRClrgProcPriorityText.GRIRClearingProcessPriority |
| [0..*] | I_GRIRProcessRootCauseText | _GRIRProcessRootCauseText | $projection.GRIRClearingProcessRootCause = _GRIRProcessRootCauseText.GRIRClearingProcessRootCause |
| [0..*] | I_GRIRProcessRootCauseText | _GRIRProcessPrevRootCauseText | $projection.GRIRClearingProcPrevRootCause = _GRIRProcessPrevRootCauseText.GRIRClearingProcessRootCause |
| [1..1] | C_GRIRClrgProcessedPurgDocItem | _GRIRProcessedItem | $projection.CompanyCode = _GRIRProcessedItem.CompanyCode and $projection.PurchasingDocument = _GRIRProcessedItem.PurchasingDocument and $projection.PurchasingDocumentItem = _GRIRProcessedItem.PurchasingDocumentItem |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CGRIRHISTCHG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| UI.textArrangement | #TEXT_LAST | view | |
| EndUserText.label | GRIR Clearing Process Change | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F5796 | ASQL_F5796 | C2 | NOT_RELEASED | |
| UI_GRIR_BPI | UI_GRIR_BPI | V2 | C1 | NOT_RELEASED |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F5796 | GR/IR Process Insights | Analytical | With this app, you can gain insights into the GR/IR (goods receipt/invoice receipt) account reconciliation process which is performed using the Reconcile GR/IR Accounts app. |
GR/IR Process Insights
Business Role: General Ledger Accountant
With this app, you can gain insights into the GR/IR (goods receipt/invoice receipt) account reconciliation process which is performed using the app. You can visualize the activities of the reconciliation process and thereby identify opportunities for process improvements, such as, by discovering bottlenecks, duplicate work or root causes for delays. You can also retrospectively review all activities on the level of a purchasing document item together with all relevant documents from the purchasing document history. Thus, this app enables you, as a process owner, to analyze the process efficiency of the GR/IR account reconciliation process and to define improvement activities.
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | P_GRIRClearingProcessChange | CompanyCode | Receiver Company Code |
| KEY | PurchasingDocument | P_GRIRClearingProcessChange | PurchasingDocument | Purchasing Document |
| KEY | PurchasingDocumentItem | P_GRIRClearingProcessChange | PurchasingDocumentItem | Purchasing Doc. Item |
| KEY | LastChangeDateTime | P_GRIRClearingProcessChange | LastChangeDateTime | Timestamp |
| GRIRClrgProcThroughputSeconds | ||||
| GRIRClrgProcessNumberOfChanges | P_GRIRClearingProcessChange | GRIRClrgProcessNumberOfChanges | ||
| GRIRClearingProcessStatus | P_GRIRClearingProcessChange | GRIRClearingProcessStatus | Status | |
| GRIRClearingProcessPriority | P_GRIRClearingProcessChange | GRIRClearingProcessPriority | Priority | |
| GRIRClrgProcessResponsibleUser | P_GRIRClearingProcessChange | GRIRClrgProcessResponsibleUser | ||
| ResponsibleDepartment | P_GRIRClearingProcessChange | ResponsibleDepartment | Processing Department | |
| GRIRClearingProcessRootCause | P_GRIRClearingProcessChange | GRIRClearingProcessRootCause | Root Cause | |
| PrevGRIRClearingProcessStatus | ||||
| PrevGRIRClrgProcPriority | ||||
| GRIRClrgProcPrevResponsibleUsr | ||||
| PrevResponsibleDepartment | ||||
| GRIRClearingProcPrevRootCause | ||||
| GRIRClrgProcessNrOfStatusChgs | ||||
| GRIRClrgProcessNrOfPrioChanges | ||||
| GRIRClrgProcNrOfRespUserChgs | ||||
| GRIRClrgProcNrOfRespDeptChgs | ||||
| GRIRClrgProcNrOfRootCauseChgs | ||||
| MaterialGroup | P_GRIRClearingProcessChange | MaterialGroup | Product Group | |
| Plant | P_GRIRClearingProcessChange | Plant | Valuation Area | |
| PurchasingGroup | P_GRIRClearingProcessChange | PurchasingGroup | Purchasing Group | |
| PurchasingOrganization | P_GRIRClearingProcessChange | PurchasingOrganization | Purchasing Organization | |
| Supplier | P_GRIRClearingProcessChange | Supplier | Supplier | |
| SupplierName | ||||
| _CompanyCode | P_GRIRClearingProcessChange | _CompanyCode | ||
| _PurchasingDocument | P_GRIRClearingProcessChange | _PurchasingDocument | ||
| _PurchasingDocumentItem | P_GRIRClearingProcessChange | _PurchasingDocumentItem | ||
| _GRIRClrgProcessResponsibleUsr | _GRIRClrgProcessResponsibleUsr | |||
| _GRIRClrgProcPrevRespUser | _GRIRClrgProcPrevRespUser | |||
| _GRIRProcessStatusText | _GRIRProcessStatusText | |||
| _GRIRProcessPriorityText | _GRIRProcessPriorityText | |||
| _GRIRProcessRootCauseText | _GRIRProcessRootCauseText | |||
| _PrevGRIRClrgProcessStatusText | _PrevGRIRClrgProcessStatusText | |||
| _PrevGRIRClrgProcPriorityText | _PrevGRIRClrgProcPriorityText | |||
| _GRIRProcessPrevRootCauseText | _GRIRProcessPrevRootCauseText | |||
| _GRIRProcessedItem | _GRIRProcessedItem | |||
| _Supplier | _Supplier |
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_GRIRClearingProcessChange.
-- 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: CGRIRHISTCHG
CREATE VIEW C_GRIRClearingProcessChange AS
SELECT
P_GRIRClearingProcessChange.CompanyCode AS CompanyCode,
P_GRIRClearingProcessChange.PurchasingDocument AS PurchasingDocument,
P_GRIRClearingProcessChange.PurchasingDocumentItem AS PurchasingDocumentItem,
P_GRIRClearingProcessChange.LastChangeDateTime AS LastChangeDateTime,
cast( P_GRIRClearingProcessChange.GRIRClrgProcThroughputSeconds as fis_grir_throughput_time ) AS GRIRClrgProcThroughputSeconds,
P_GRIRClearingProcessChange.GRIRClrgProcessNumberOfChanges AS GRIRClrgProcessNumberOfChanges,
P_GRIRClearingProcessChange.GRIRClearingProcessStatus AS GRIRClearingProcessStatus,
P_GRIRClearingProcessChange.GRIRClearingProcessPriority AS GRIRClearingProcessPriority,
P_GRIRClearingProcessChange.GRIRClrgProcessResponsibleUser AS GRIRClrgProcessResponsibleUser,
P_GRIRClearingProcessChange.ResponsibleDepartment AS ResponsibleDepartment,
P_GRIRClearingProcessChange.GRIRClearingProcessRootCause AS GRIRClearingProcessRootCause,
cast( P_GRIRClearingProcessChange.PrevGRIRClearingProcessStatus as fis_grir_pv_clearing_status) AS PrevGRIRClearingProcessStatus,
cast( P_GRIRClearingProcessChange.PrevGRIRClrgProcPriority as fis_grir_pv_priority) AS PrevGRIRClrgProcPriority,
cast( P_GRIRClearingProcessChange.GRIRClrgProcPrevResponsibleUsr as fis_grir_pv_responsible_user) AS GRIRClrgProcPrevResponsibleUsr,
cast( P_GRIRClearingProcessChange.PrevResponsibleDepartment as fis_grir_pv_responsible_dpmnt) AS PrevResponsibleDepartment,
cast( P_GRIRClearingProcessChange.GRIRClearingProcPrevRootCause as fis_grir_pv_clrg_root_cause) AS GRIRClearingProcPrevRootCause,
cast( P_GRIRClearingProcessChange.GRIRClrgProcessNrOfStatusChgs as fis_grir_no_status_changes) AS GRIRClrgProcessNrOfStatusChgs,
cast( P_GRIRClearingProcessChange.GRIRClrgProcessNrOfPrioChanges as fis_grir_no_prio_changes) AS GRIRClrgProcessNrOfPrioChanges,
cast( P_GRIRClearingProcessChange.GRIRClrgProcNrOfRespUserChgs as fis_grir_no_resp_user_changes) AS GRIRClrgProcNrOfRespUserChgs,
cast( P_GRIRClearingProcessChange.GRIRClrgProcNrOfRespDeptChgs as fis_grir_no_resp_dpmt_changes) AS GRIRClrgProcNrOfRespDeptChgs,
cast( P_GRIRClearingProcessChange.GRIRClrgProcNrOfRootCauseChgs as fis_grir_no_root_cause_changes) AS GRIRClrgProcNrOfRootCauseChgs,
P_GRIRClearingProcessChange.MaterialGroup AS MaterialGroup,
P_GRIRClearingProcessChange.Plant AS Plant,
P_GRIRClearingProcessChange.PurchasingGroup AS PurchasingGroup,
P_GRIRClearingProcessChange.PurchasingOrganization AS PurchasingOrganization,
P_GRIRClearingProcessChange.Supplier AS Supplier,
P_GRIRClearingProcessChange._PurchasingDocument._Supplier.SupplierName AS SupplierName,
P_GRIRClearingProcessChange._CompanyCode AS _CompanyCode,
P_GRIRClearingProcessChange._PurchasingDocument AS _PurchasingDocument,
P_GRIRClearingProcessChange._PurchasingDocumentItem AS _PurchasingDocumentItem
FROM P_GRIRClearingProcessChange
LEFT OUTER JOIN I_UserContactCard AS _GRIRClrgProcessResponsibleUsr ON GRIRClrgProcessResponsibleUser = _GRIRClrgProcessResponsibleUsr.ContactCardID -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _GRIRClrgProcPrevRespUser ON GRIRClrgProcPrevResponsibleUsr = _GRIRClrgProcPrevRespUser.ContactCardID -- association [0..1]
LEFT OUTER JOIN I_GRIRProcessStatusText AS _GRIRProcessStatusText ON GRIRClearingProcessStatus = _GRIRProcessStatusText.GRIRClearingProcessStatus -- association [0..*]
LEFT OUTER JOIN I_GRIRProcessStatusText AS _PrevGRIRClrgProcessStatusText ON PrevGRIRClearingProcessStatus = _PrevGRIRClrgProcessStatusText.GRIRClearingProcessStatus -- association [0..*]
LEFT OUTER JOIN I_GRIRProcessPriorityText AS _GRIRProcessPriorityText ON GRIRClearingProcessPriority = _GRIRProcessPriorityText.GRIRClearingProcessPriority -- association [0..*]
LEFT OUTER JOIN I_GRIRProcessPriorityText AS _PrevGRIRClrgProcPriorityText ON PrevGRIRClrgProcPriority = _PrevGRIRClrgProcPriorityText.GRIRClearingProcessPriority -- association [0..*]
LEFT OUTER JOIN I_GRIRProcessRootCauseText AS _GRIRProcessRootCauseText ON GRIRClearingProcessRootCause = _GRIRProcessRootCauseText.GRIRClearingProcessRootCause -- association [0..*]
LEFT OUTER JOIN I_GRIRProcessRootCauseText AS _GRIRProcessPrevRootCauseText ON GRIRClearingProcPrevRootCause = _GRIRProcessPrevRootCauseText.GRIRClearingProcessRootCause -- association [0..*]
LEFT OUTER JOIN C_GRIRClrgProcessedPurgDocItem AS _GRIRProcessedItem ON CompanyCode = _GRIRProcessedItem.CompanyCode AND PurchasingDocument = _GRIRProcessedItem.PurchasingDocument AND PurchasingDocumentItem = _GRIRProcessedItem.PurchasingDocumentItem -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
;
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
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- 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