Simple Command Helps You Debug Faster and More Accurately

  • by Sapna N. Modi, SAP Business Unit Automation Lead, L&T Infotech Ltd.
  • April 5, 2010
Using the /hs command can help you not only debug system programs, it can also help you clarify vague error messages and uncover the database tables and fields involved in reports. Find out two ways you can use the /hs command to quickly solve coding problems.
Key Concept
You switch the debugger on by using the /h command. However, this command does not debug the system programs unless the system debugging is also switched on. To ensure the debugging of system programs, you use the /hs command. To ensure a smooth assessment of errors, which may include system programs, you should always use the /hs command instead of /h.

When someone in your company demands a report with specific fields in the output, the developer must know the relevant database tables and fields combinations for the output fields. Debugging can help the developer determine the correct combination.

In another situation, the standard business transaction VA01 fails during execution, so the user raises an issue request. The debugging support team is responsible for analyzing the issue. An effective debugging technique involves knowing all the options available in a given situation and being able to decide which is best.

The following two tips explain what to do and when to do it. Although the features of the debugger tool are covered in existing material, I found that much of this coverage overlooks how to identify which specific debugger feature is best to quickly solve an issue requiring the debugger.

Sapna N. Modi

Sapna N. Modi has 13 years of experience in the software industry including SAP software in the areas of solution architecture, consulting, presales, and project management. Sapna has multiple SAP and non-SAP certifications. She is an integral part of the team in setting up the SAP Solution Manager practice at L&T Infotech (www.lntinfotech.com) and has participated in consulting and advisory roles for multiple projects. She has global exposure with experience in the US, Canada, Denmark, Sweden, Germany, the Netherlands, and Kuwait. She is instrumental in and is dedicated to an extreme automation initiative of the SAP business unit at L&T Infotech. Her goal is to accomplish automation-driven efficient operations and to formulate an automation platform for optimized TCO for customers as well as for her organization. Her focus is on innovation to leverage SAP products and non-SAP products involving Robotic Process Automation (RPA), Artificial Intelligence (AI), and Machine Learning (ML) to help customers standardize their portfolio so that it is simplified, automation ready, and able to easily migrate to the SAP HANA platform.

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.