Debug any background process

Here is a tip that will solve all your background debugging problems.

Have you ever been in a situation where you want to debug a program but the darn thing runs in background? Here...

is a tip that will solve all your background debugging problems. There's only one condition: You have to be able to edit the coding. Enter an endless loop at the point you want to start debugging and start the program. Go to SM50. Wait till your process will seem to be "hanging". In the menu goto Program -> debugging. You will get into your program at the code you just entered. Change variable w_flag = 'X'. Continue debugging. Good luck.

do.
 clear w_flag.
  If w_flag = 'X'.
   Exit.
  Endif.
Enddo.

Next Steps

Containerization supports a variety of functions, and can help with debugging Java apps.

This was last published in January 2003

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close