on 2017 Sep 05 8:30 AM
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?
Request clarification before answering.
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
EXPORTING
i_eh_info = ls_bapi_info
RECEIVING
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
Thanks
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.