SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Debugging Stored Procedures

Leveraging SQLScript in stored procedures, user-defined functions, and user-defined libraries.

Overview

You will learn

  • How to debug a procedure using the SQLScript debugger
Rich Heilman R Rich Heilman August 21, 2026
Created on February 11, 2021
Contributors

More from Rich Heilman

See all 20 tutorials by Rich Heilman →

Prerequisites

Prerequisites

Steps

Intro

The debugging shown in this tutorial includes setting breakpoints, evaluating expressions and intermediate results.


Step 1 Start Debugger

  1. Go to the Database Explorer page and right-click on the procedure called get_po_header_data and choose Open for Debugging.

    DBX
    DBX

  2. Make sure the configuration is set as shown here and click OK.

    apply
    apply

Step 2 Set Breakpoints and Run
+
Step 3 Work with the Debugger
+
Step 4 Use Expression Editor
+
Step 5 Check Output
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Start Debugger 2. Set Breakpoints and Run 3. Work with the Debugger 4. Use Expression Editor 5. Check Output
Next