This page describes how to install the QPPD APP ME for purchasing integration.

Create package

First, a new package ZQP_ME or similar must be created, which contains all QPPD extensions for the ME module.

image-20240606-093836.png

Confirm. Select transport.

BADI "ME_PROCESS_PO_CUST"

Background: The implementation is to synchronize the data from the order to the various events to the QPPD and from the QPPD to the order.

1. call transaction

Call transaction SE19 to create a BADI implementation for the standard SAP BADI "ME_PROCESS_PO_CUST":

image-20240606-093845.png

2. create implementation

Continue with the "Create impl." button. The following popup appears. Enter a name, short text, and optionally a composite extension implementation.

image-20240606-093855.png

3. creation of composite extension implementation

If the composite extension implementation does not exist, it can be created using the button to the right of it. A pop-up is then displayed where the name and short text must be entered:

image-20240606-093904.png

Confirm now. Select package and transport.

4. creation of BADI implementation

The following popup is now displayed. Name the Z-BADI implementation here, specify an implementation class, and select the BADI definition:

image-20240606-093913.png

5. Standard-QPPD Implementation

There is a standard QPPD implementation for this BADI. Select the line and click on "Inherit from example class".

image-20240606-093923.png

6. activate Implementation

image-20240606-093937.png

Now activate the implementation. Select transport.

Classic BADI "ME_GUI_PO_CUST"

1. call Transaction

Call transaction SE19 to create a classic BADI implementation for the standard SAP BADI "ME_GUI_PO_CUST":

image-20240606-093945.png

2. BADI-Builder

After confirmation, the BADI builder is displayed. Enter a short text and an ABAP class that implements the BADI:

image-20240606-093954.png

Activate, Select package and transportation

It will then look like this:

image-20240606-094005.png

Establish inheritance to QPPD standard

1. open the new Z-ABAP class ZQP_CL_ME_BADI_GUI_PO_POST in transaction SE24.

It will then look like this:

image-20240606-094015.png

2. an inheritance to the standard QPPD ABAP class must now be created.

To do this,

  1. enter a description

  2. Super ABAP class /SCT/QP_CL_ME_SYNC has to be added,

  3. the "Final" indicator must be removed

  4. the program status must be changed to "Productive customer program".

The coding of the class looks as follows:

CLASS zqp_cl_me_badi_gui_po_cust DEFINITION
PUBLIC
INHERITING FROM /sct/qp_cl_me_sync
CREATE PUBLIC .
 
PUBLIC SECTION.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
 
 
 
CLASS zqp_cl_me_badi_gui_po_cust IMPLEMENTATION.
 
ENDCLASS.