Real-Time Checks for Invoices

Calendar Icon

Posted

March 25, 2025

Last Edited icon

Updated

March 25, 2025

Real-Time Checks for Invoices

Customers can request additional transport files that provide this functionality as described below. Please send us a message through the supportportal or other known communication channels.

Functionality:

Display a pop-up message and create alert in real-time when an invoice (PO based or Non-PO based) is created.

  • PO based invoice: Compare invoice payment terms and PO payment terms, display a pop-up message, and create an alert if invoice payment terms is in favor of vendor.
  • Non-PO Invoice (without PO): Compare invoice payment terms and Vendor master payment terms (LFB1-ZTERM), display a pop-up message and create an alert if invoice payment terms are in favor of vendor.

BTE Configuration:

Go to transaction FIBF > Settings > Products > …of a customer and create a new Product name: REMQREAL and activate it.

BTE, Function module and Product assignment:

Go to transaction FIBF > Settings > P/S Modules >…of a customer

Assign below function modules to BTEs and to the product REMQREAL as below:

00001025 /REM/REAL_TIME_INTERFACE_1025

00001030 /REM/REAL_TIME_INTERFACE_1030

00001050 /REM/REAL_TIME_INTERFACE_1050

BTE Technical Information:

  • BTE 1025: It is called for PO and non-PO invoices after standard checks are completed and before the document number is assigned. - It is used to validate payment terms during simulation.
  • BTE 1050: It is called for PO invoice after the document number is assigned. It is used to create an alert.
  • BTE 1030: It is called for Non-PO invoice after the document number is assigned. It is used to create an alert.

Logic for the BTE function modules ➡️ (/REM/REAL_TIME_INTERFACE_1025 / /REM/REAL_TIME_INTERFACE_1030 / /REM/REAL_TIME_INTERFACE_1050):

  • All 3 BTE function modules (FM) call the FM /REM/CHECK_PAYMENT_TERMS.
  • The logic for FM /REM/CHECK_PAYMENT_TERMS is as below.
    • Determine if the payment terms check is for PO invoice or Non-PO invoice based on BSEG-EBELN (purchase order).
      • If purchase order number is not blank, then PO invoice.
      • else Non-PO invoice.
    • If PO Invoice:
      • Refer check parameters of the check /REM/P2P_PAY_TERM_INV and create an alert if the invoice payment terms (compare to PO payment terms) is in favor of vendor.
    • If Non-PO Invoice:
      • Refer check parameters of the check /REM/P2P_PAY_TERM_INVVN and create an alert if the invoice payment terms (compare to Vendor master payment terms (LFB1-ZTERM)) is in favor of vendor.

New remQ package:

/REM/REALTIME - remQ real time check

How to activate/deactivate it?:

The configuration should be changed in the SAP Dev environment and can be moved to other SAP environments using customizing TR as below.

  • Go to SAP Dev environment > transaction FIBF > Settings > Products > …of a customer
  • Find product name: REMQREAL
    • Enable the highlighted box to Activate BTE 1025, 1030 and 1050.
    • Disable the highlighted box to De-activate BTE 1025, 1030 and 1050.
  • Save the change and it will prompt for customizing TR.
  • Create customizing TR and move it to required SAP environment.

How to use it? Example ➡️:

PO Invoice:

Login to the SAP system >> transaction MIRO >> Create a PO invoice with payment terms in favor of vendor compare to PO payment terms. A pop-up will be displayed (Simulation/ Post) and an alert will be created (on Post) if payment terms are in favor of vendor.

Non-PO Invoice:

Login to S2H-100 >> transaction FB60 >> Create an invoice with payment terms in favor of vendor compare to vendor master payment terms. A pop-up will be displayed (on Post) and an alert will be created (on Post) if payment terms are in favor of vendor.