Need to Track OLD Purchase Requisitions

    EM friends.

    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.

    Any suggestions?

    Thanks,

    Zenon.

    EM friends.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.Any suggestions?Thanks,Zenon.

    Need to Track OLD Purchase Requisitions

    Very Helpfull

    User Rating: Be the first one !
    Train Asked on November 8, 2016 in event management.
    Add Comment
    1 Answer(s)

      Hello Zenon,

       

      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.

       

      Best regards,

      Steffen

      Add Comment

      Your Answer

      By posting your answer, you agree to the privacy policy and terms of service.