1. Add below code to enable infinite loop
* Temporary, for debugging.
DATA: lv_tmp
(1).
lv_tmp
= 'X'.
WHILE lv_tmp
EQ 'X'.
ENDWHILE.
2. Run the program.
3. GO to T-CODE SM50 amd check your program name and user WF-BATCH.
4. Select Administration --Program--Debugging to start the debug process