Skip to Content

Updating Info Parameters via BAPI_EH_POST

Hello Experts,

I would like to know whether I can directly update info parameter , after an event handler is posted. There are certain info parameters that were wrongly updated while event handler creation. And now we need to correct those info parameters.

What I understand is if I pass an new event message , I can update these parameters.Also the UPDATE PARAMETER NEW activity shall be present in the rule set.

I don't want to update an event message , just update the parameter somehow. Is there a solution to it?

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on Sep 05, 2017 at 02:23 PM

    Standard way is to pass in an event with the updated values set in the Parameters itab but you can write a small ABAP in EM that calls the following method to update it directly:

    * Add/Change/Delete Info Parameter

    CALL METHOD i_eai-eh_model->set_info_parameter
    i_eh_info = ls_bapi_info
    result = lv_result.

    Pass in your EH GUID (after looping through /SAPTRX/EH_HDR joined with /SAPTRX/EH_INFO to find all the affected records) and parameter detail in ls_bapi_info.

    Good luck



    Add comment
    10|10000 characters needed characters exceeded