14.01.2020 Views

ABAP_to_the_Future

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Script Tab Overview 5.1

Figure 5.1 Debugger Tab Strip

As might be expected, the Script tab is the one that lets you create debugger

scripts. Clicking on this tab brings you to a screen that looks like Figure 5.2.

Note

If you move to the Script tab in any system other than the development client where

you create your programs, you will get the message System Set to Not Changeable. This

is because debugger scripts are programs th emselves, and it is probably a bad idea to

write any sort of program directly in (say) Production. You can load existing scripts from

the database into the debugger in production, however, so this is not a problem in any

real sense.

Someone might say, “Hang on, I need to run the program in an environment with data,

so I never debug in Development.” The answer to that is that you are forgetting about

unit tests; they run in Development and by their very nature are supposed to cover

100% of the code.

Figure 5.2 Debugger Script Blank Template

205

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

Saved successfully!

Ooh no, something went wrong!