Enter Debug Mode at Any Time

  • by Clay Molinari, SAP HR Consultant, C&C Savant, Inc.
  • October 15, 2003
The debug mode is often underused considering its ability to speed up development efforts. Provided your ID has adequate authorization, you can enter debug mode at any time. The article also explains how to debug an Employee Self-Service transaction.

Although most technical readers are probably already aware of the debug mode, it is often underused considering its ability to speed up development efforts. Provided your ID has adequate authorization, you can enter debug mode at any time by typing /h<ENTER> in the command field of the SAP GUI. This allows you to step into the current R/3 program and learn how it works. This can be useful if a transaction is producing an error that has not been resolved through simple analysis. The debugger allows you to see which tables and values are being used in the SAP program. You can also use it to locate standard R/3 function modules that perform tasks required in a custom program.

Here is an example: You are required to write a program that displays annual salary information from infotype 0008. Partially through the development, you discover, by using the table browser, that the field ANSAL is blank on infotype 0008 for some employees. However, when you display infotype 0008 for these employees in PA20, the field has a value. How does R/3 display a value on the screen when the field is blank in the database?

Clay Molinari

Clay Molinari has 20 years of experience in the IT industry and has been working as an SAP HR consultant since 1997. He is currently president of C&C Savant, Inc., an SAP consulting firm that specializes in combining standard SAP configuration and custom ABAP programming to help its clients solve unique or complicated requirements.

See more by this author


Comments

No comments have been submitted on this article. 


Please log in to post a comment.

To learn more about subscription access to premium content, click here.