14.01.2020 Views

ABAP_to_the_Future

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Testing and Troubleshooting 1.3

Figure 1.21 Debugging in Eclipse

You can see the error; the code exits with a value of 4, not 5. Change the statement

to say IF RD_HOW_MANY = 5. This has no effect on the current execution (that

would be black magic), but when you’re finished and you run the program again,

everything is OK; the fix has taken effect.

The results appear in what is called the “embedded SAP GUI,” which is a standard

SAP screen that appears in an Eclipse window (Figur e 1.22). You will see this

often when working with Eclipse; when ever Eclipse cannot display something

(such as the results of a WRITE statement) it will outsource the task to the SAP GUI.

Figure 1.22 Embedded SAP GUI

1.3.3 Runtime Analysis

Of all the great features discussed to thispoint, what really stands out about ABAP

in Eclipse is the graphical view of the runtime analysis of an ABAP program. The

famous saying notes that “a picture is worth a thousand words,” but traditionally

69

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!