SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

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

🎓 intermediate 10 min. SAP HANAIntermediateSqlSAP HANA CloudSAP Business Application Studio

You will learn

  • โœ”How to debug a procedure using the SQLScript debugger
Rich Heilman R Rich Heilman November 1, 2022
Created by February 11, 2021
Contributors

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

Learn more →