Show TOC

Inspecting VariablesLocate this document in the navigation structure

Context

In ABAP Managed Database Procedures there are scalar and table variables available, but no structures.

Scalar variables can be inspected in the Variables view of the Debug perspective while table variables can be inspected in the Data Preview tool. Additionally there is the option to mouse hover over variables in the source editor.

Procedure

To view the variable values within the SQLScript...

Double-click the variable in the editor to open it in the Variables view of the Debug perspective.
Tip Another way to inspect the variable values is to hover with the mouse cursor over the variable name in the source editor in the Debug perspective.
Inspecting scalar variables (mouse over or Variables view) in the Debug perspective
Figure 1: Inspecting scalar variables (mouse over or Variables view) in the Debug perspective
Note

The types of the variables are native DB types like VARCHAR. If you want to see input/output parameters after the type mapping to ABAP data types, you can use the ABAP Debugger.