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.

Summary 5.4

script, you can tell the debugger to automatically change the value of SY-SUBRC

to zero just after every AUTHORITY-CHECK.

왘 Creating a watchpoint for a field symbol

This is another one from Brian O’Neill. In the standard debugger, you cannot

have such a watchpoint that stops the debugger when the value of a field symbol

changes. With debugger scripting, he found a way to make this possible.

The important point to note here is thatnot only can debugger scripting automate

manual steps in the debugger, but also it can make the debugger do things it was

not previously capable of.

That concludes the discussion of debugging. But don’t be sad! In the next chapter,

you’ll make a stop in the land of the strange life forms called new BAdIs, creatures

that are half man, half beast.

Recommended Reading

왘 ABAP Debugger Sc ripting: Basics: http://scn.sap.com/people/stephen.pfeiffer/blog/

2010/12/14/abap-debugger-scripting-basics (Stephen Pfeiffer)

왘 Skip the Authority Check with the ABAP Debugger Script: http://scn.sap.com/community/abap/blog/2013/03/22/skip-the-authority-check-with-the-abap-debuggerscript

(Brian O’Neill)

왘 How to Create a Watchpoint for a Field Symbol in the ABAP Debugger: http://

scn.sap.com/community/abap/blog/2013/03/08/how-to-create-a-watchpoint-for-afield-symbol-in-the-abap-debugger

(Brian O’Neill)

223

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

Saved successfully!

Ooh no, something went wrong!