This section briefly shows the options that you have for displaying the values of variables in the debugger.
Double-click on any variable in the editor to open it for display in the Variables view. Internal tables are automatically also opened in the ABAP Internal Table view.
Alternatively, write the name of a variable in the Variables view or the name of an internal table in the ABAP Internal Table view to open the variable for display.
Are you confronted with unreadable hexadecimal data, or a string that contains HTML or XML tags?
Then choose Variables view.
to translate the data to text and to display the data using its HTML or XML formatting. You will find these functions in the context menu of unstructured variables in theYou may have noticed the folders Locals and Globals in the Variables view. These folders offer a fast way to find and display any active variable.
Analyzing a complex ABAP object and displaying its attributes becomes easier if you try the following:
Type the value that a variable should have in the Value field in the Variables view, or in any field of a structure or row of an internal table.
The variable immediately assumes the new value in the debugger context.
You can also use the Change Value entry in the context menu to set the value of a variable. The function has an added value: It is inactive if the cursor is on a variable whose value cannot be changed.
Internal tables open automatically in the ABAP Internal Table view. This view lets you work comfortably with the rows in an internal table. You can quickly scroll through long tables. You can rearrange table columns for better display with drag-and-drop.
By default, ABAP Development Tools displays the SY-SUBRC system variable as a favorite, a variable that is automatically displayed in the Variables view.
You can add your own favorites, or even get rid of SY-SUBRC.