Ansicht
Dokumentation

FINS_GRIR_AUTOM_PROCESS - GR/IR Automatic Processing of Purchase Order Items

FINS_GRIR_AUTOM_PROCESS - GR/IR Automatic Processing of Purchase Order Items

BAL Application Log Documentation   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

If you are using the Reconcile GR/IR Accounts with machine learning app, you can use this report to determine purchase orders with open invoice receipts or open goods receipts that the system cannotclear automatically, because, for example, quantities or prices do not match. Those purchase orders are made available in a BAdI implementation, where you can define the status, the processor or processing department and a comment for a purchase order item. The report writes this information into a status table and a status history table where the Reconcile GR/IR Accounts with machine learning app also accesses this information.

Status, processor or processing department, and comment and further actions, such as sending an email to a processor of an open purchase order item, can be determined by implementing BAdI: GR/IR Clearing Process Status Deviation (FINS_GRIR_STATUS_RULE).

Additionally, this report allows you by implementing the BAdI: GR/IR Clearing Process Write-Off (FINS_GRIR_STATUS_WRITE_OFF) to automatically clear or write off differences for selected purchase orders with open items. When implementing the BAdI you determine whether items are cleared on the GR/IR account and which ones this should be. For this, the BAPI_GRIRDOC_CREATEMULTIPLE is called.

Integration

You are using the Reconcile GR/IR Accounts with machine learning app where status, processors and comments for purchasing documents with open items are displayed. The main purpose would be to assign status and processor and inform the processor. The processor will then use the Reconcile GR/IR Accounts with machine learning app to clarify the purchase order item.

Prerequisites

  • You have implemented the BAdIs:

Features

  • BAdI implementation for executing the clearing of differences on the GR/IR clearing account based on a purchase order item
You can set the following parameters for a purchase order item:
  • If the clearing account indicator is set, write off will be done for the GR/IR clearing accounts.

  • If the delivery cost indicator is set, write off will be done for delivery cost accounts.

If neither is set, no write off is done.
  • For the write off you can specify the posting date to be used. The posting date can be specified in the BAdI for a given purchase order item. If no posting date is defined in the BAdI, the input parameter posting date in the report is used, if specified. Otherwise the current date (sy-datum) will be used to post the write-off.

  • BAdI implementation for the SAP GR/IR Account Reconciliation with machine learning app

In the implementation you can set a processor (field responsible_user), a processing department (field responsible_department), GR/IR clearing status (field grirclearingstatus) and a note for processing (field grir_note) based on the difference in amount and quantity, the posting date of the oldest and the latest open item, the difference for the balance of the GR/IR clearing account and all differences for freight cost postings, that is all accounts that are not GR/IR clearing accounts.

The interface will provide also information on the write-off success and of message class, message number and the message of the write-off process in case the write-off was not successful.

The report inserts, updates or deletes in case this is specified in the BAdI entries in the status table (FINS_GRIRPROC) and inserts entries in the status history table (FINS_GRIROROCHIS) in case of any changes specified in the BAdI implementation.

Selection

You can enter the following data and select that the transaction MR11 should be processed. You can specify whether in addition to error and success messages also warning and information messages are written into the application log.

In addition, you can also choose, whether proposals above a certain threshold value should be picked up from machine learning.

  • Company Code
  • Purchasing Document Number
  • Status in the Reconcile GR/IR Accounts with machine learning app
  • Posting Date

Standard Variants

Output

The message log is not displayed automatically after you have executed the report. You call up transaction SLG1 to show the message log.

Activities

You can call up transaction FGRIR_POP to start the report, or you can start the report by calling up transaction SA38, or you can schedule this report to run regularly by calling up transaction SM36.

Example

You enter for example the company code F001 and the purchasing documents 4500000101 to 45000000110 and select the Process MR11 checkbox and the Log MR11 Warning and Info Msgcheckbox and execute the program.

On the Reconcile GR/IR Accounts with machine learning app, you can check whether the purchase orders have been processed and the expected values for comment, status and processor are displayed as maintained in the BAdIs. You can also check in the system by starting transaction SE16 whether the status table (FINS_GRIRPROC) and the status history table (FINS_GRIRPROCHIS) have been updated.

Further Information

For details on the Reconcile GR/IR Accounts app, using the app with machine learning and process automation, please read the documentation on SAP Help Portal under https://help.sap.com/s4hana -> Product Assistance -> -> Enterprise Business Applications -> Finance -> Accounting and Financial Close -> General Ledger Accounting -> Apps for General Ledger Accounting -> Closing Operations -> Reconcile GR/IR Accounts.






CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 7411 Date: 20240531 Time: 215531     sap01-206 ( 127 ms )