Need to Track OLD Purchase Requisitions
I need to send old SAP (ME52n) Purchase Requisitons to be tracked in Event Management,
The Purchase Requisitions are closed and cannot be changed.
My problem is: How to create the Event Handler?
I normally trigger the Event Handler when creating or changing the Ourchase Requsition.
I can’t make any changes to the old Purchase Requisition.
I was thinking of writing a program that will call /SAPTRX/BAPI_EH_ADDEVENTMSG_02 or similar.
i think its better to use BAPI /SAPTRX/BAPI_EH_POST to create them.
You could write a report and select the needed data from the Purchase Requistion tables and map them to the BAPI.
Depending on how much data you have you should think about packages and maybe parallize the processing.
Docu for the BADI is available in the Service Markeplace under Quick Link SCM -> Event Management and then Detailed Infos.