Working with SAP Ariba Strategic Sourcing Transaction Data
Configuring Request for Quotation in the SAP System
Configuring Request for Quotation in the Managed Gateway Integration Project via the Managed Gateway Portal
Configuring Request for Quotation in the SAP Business Network Buyer Account
Configuring Quote Message Integration Between the SAP Ariba Strategic Sourcing Site and the SAP System

Configuring Implicit Enhancements for the Canceled Request for Quotation

Objective

After completing this lesson, you will be able to configure Implicit Enhancements for canceled Requests for Quotations.

Configuring Implicit Enhancements for the Canceled Requests for Quotation

Implementing Custom Logic

When an RFQ is canceled in the SAP system, the system must inform SAP Ariba Strategic Sourcing to cancel the event, suppliers, and related activities. However, standard SAP logic doesn’t automatically send a "cancel" message to SAP Ariba Strategic Sourcing.

To ensure alignment and prevent errors, configure implicit enhancements to send canceled RFQs to SAP Ariba Strategic Sourcing. This enhancement generates a cancellation message in SAP, triggers the correct outbound message through the Managed Gateway Add-On, updates SAP Ariba Strategic Sourcing’s status, notifies suppliers, and maintains data consistency between the two systems.

This enhancement typically identifies RFQ cancellations, populates the required structure for sending cancellations, calls the appropriate outbound interface, and ensures mandatory fields are included.

Without this enhancement, the SAP system cancels the RFQ locally, leaving it open or active in SAP Ariba Strategic Sourcing. Suppliers may continue responding, and sourcing teams face inconsistencies, confusion, or compliance issues.

You must configure this enhancement if you are a customer using one of the following Managed Gateway AddOn software components:

  • ARBCI1 100: SP 0001 to SP 0006
  • ARBCI1 10S: SP 0001 to SP 0006

Before configuring this enhancement, you need to implement SAP Note 2832573.

If you are on SAP S/4HANA 2020 FPS0 or later versions, you do not need to configure this implicit enhancement. You can apply the SAP Note 2991801 to use the standard BAdIs in SAP S/4HANA.

Steps to Configure Implicit Enhancement for the Canceled RFQ

  1. Run the transaction code SE38.
  2. On the ABAP Editor: Initial Screen, enter LEINMF0Q in the Program field, and select the Display button.The ABAP Editor: Initial Screen showing the Program field with LEINMF0Q entered and the Display button highlighted.
  3. On the Choose Main Program for LEINMF0Q pop-up, select SAPLEINM and then select the Choose button.The Choose Main Program for LEINMF0Q pop-up window with the SAPLEINM program selected and the Choose button highlighted.
  4. On the ABAP Editor: Display Include LEINMF0Q screen, in the application toolbar, select Program>Enhance.The ABAP Editor: Display Include LEINMF0Q screen with the Program menu expanded and the Enhance option selected in the application toolbar.
  5. The Choose Main Program for LEINMF0Q pop-up appears again. Select SAPLEINM and then select the Choose button.The Choose Main Program for LEINMF0Q pop-up window appearing again with SAPLEINM selected and the Choose button highlighted.
  6. On the ABAP Editor: Change Enhancements for LEINMF0Q screen, in the application toolbar, select Edit>Enhancement Operations>Show Implicit Enhancement Options.The ABAP Editor: Change Enhancements for LEINMF0Q screen with the Edit menu expanded, showing the path Enhancement Operations followed by the Show Implicit Enhancement Options selection.
  7. A line will be displayed after the lesen_beleg form. Right-click the line and select Enhancement Operations>Create Implementation.The ABAP Editor screen showing a line after the lesen_beleg form with the right-click context menu open, highlighting Enhancement Operations and the Create Implementation option.
  8. On the Choose Enhancement Mode pop-up, select Code.The Choose Enhancement Mode pop-up window with the Code option selected.
  9. On the Select or Create Enhancement Implementation pop-up, select the Create Enhancement Implementation button.The Select or Create Enhancement Implementation pop-up window with the Create Enhancement Implementation button highlighted.
  10. On the Create Enhancement Implementation pop-up, provide the Enhancement Implementation (Name) and Short Text (Description) of your choice, and select the Creation of Enhancement (Enter) button.The Create Enhancement Implementation pop-up window with fields for Enhancement Implementation name and Short Text description, and the Enter button highlighted.
  11. On the Create Object Directory Entry pop-up, specify your Z or Y package, select Enter, and then select the Save button to save the package to a transport request, or you can select Local Object.The Create Object Directory Entry pop-up window showing the Package field for Z or Y package entry and the Save button highlighted.
  12. On the Select or Create Enhancement Implementation pop-up, choose the entry for the enhancement implementation you just created and then choose the Select Specified Enhancement Implementation (Enter) button.The Select or Create Enhancement Implementation pop-up window with the newly created enhancement implementation entry selected and the Select Specified Enhancement Implementation (Enter) button highlighted.
  13. Add the include statement: INCLUDE ARBCIG_QUOTE_REQUEST_LEINMF0Q IF FOUND.
  14. Select the Activate Enhancements button.
  15. Select the Save button.The ABAP Editor screen showing the added INCLUDE statement, with the Activate Enhancements and Save buttons highlighted in the toolbar.

Summary

Canceling an RFQ in SAP does not automatically cancel the related event in SAP Ariba Strategic Sourcing. To keep both systems aligned, configure an implicit enhancement that detects RFQ cancellations, builds the required data, and calls the outbound interface in the Managed Gateway Add-On. The enhancement updates the RFQ in the SAP Ariba Strategic Sourcing, notifies suppliers, and prevents inconsistent RFQ states. You must use this enhancement if you run Managed Gateway Add-On ARBCI1 100 or ARBCI1 10S (SP 0001–0006) and have implemented SAP Note 2832573. If you are on SAP S/4HANA 2020 FPS0 or later, apply SAP Note 2991801 and use the standard BAdIs instead. The configuration uses the SE38 transaction to enhance the program LEINMF0Q. Create the implementation after form lesen_beleg, add INCLUDE ARBCIG_QUOTE_REQUEST_LEINMF0Q IF FOUND, and activate.