Skip to Content
0
Jul 25, 2017 at 10:41 AM

How to debug SM62 / SM64 background events

822 Views

How to debug SM62 / SM64 background events ?

Those events are called from some of the standards transaction like va02 / cj20n but intern those events trigger the some report.

these events re triggered method cl_batch_event=>raise

w_evepara = vbak-vbeln.
CALL METHOD cl_batch_event=>raise
EXPORTING
i_eventid = 'ZMSP_UPD'
i_eventparm = w_evepara
* i_server =
* i_ignore_incorrect_server = 'X'
EXCEPTIONS
excpt_raise_failed = 1
excpt_server_accepts_no_events = 2
excpt_raise_forbidden = 3
excpt_unknown_event = 4
excpt_no_authority = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

when I make the some changes those events triggered and background and executed successfully.

I want o debug the those events , can any one help me to debug background events ?