![]() Analyze and display data from complex data structures (internal tables with nested objects, for example)The revised Table tool in the New ABAP Debugger makes it a lot easier to look at data in a complex data structure (look for the upcoming weblog).Have your script run whenever the program in the debugger does an RFC (breakpoint at RFC), execute the RFC call, check the returned data in your script, write a trace or break execution when you find the bad data return. Some system in your landscape is returning trash in an RFC data structure? No problem. Implement your own breakpoints and watchpoints, should the extended set introduced in EHP2 not meet your needs.You can combine the powers of the new ABAP breakpoints and watchpoints with the intelligence of scripts.You can for example trace the value of a parameter that is passed up or down the call stack in your application to find out where it goes bad. Define your own traces with any trace message content that you can imagine.Trace the call stack in an ABAP application or in any part of an application – very useful if you want to find out what to include in a profile for ABAP Layer-Aware Debugging (See Layer-Aware Debugging in NW 7.0 EHP2.).Do the first automated absolutely complete trace of executed ABAP statements possible (SAT – the new ABAP Runtime Analysis – cannot capture every executed statement.).Perform any imaginable tracing that you might want to do.With scripts, you can.(This is still recorded in the System Log….) The classical example: You can skip over failed AUTHORITY-CHECK statements with a script by stopping at each AUTHORITY-CHECK, running it, and resetting SY-SUBRC to 0. Analyze and modify the contents of variables and objects in the program you are debugging.You can display or change the value of a variable by hand in the debugger, and you can do the same thing with a script.Debugger Scripts also make some things possible – like all kinds of tracing – that aren’t possible by hand. The new scripting capability lets you automate anything that you can do by hand in the New ABAP Debugger. Here is the video on ABAP Debugger Scripting Basics You’ll see how to do a complete trace of executed statements from the script overview, and how to see where particular statements occur in your (executed) code. In this weblog, we explain what this feature is for, what the script workplace looks like, and how to run a couple of first scripts to whet your appetite. One of the coolest of these new features for problem analysis is ABAP scripting in the New ABAP Debugger. ![]() Now that NetWeaver 7.0 EHP2 is available as a Mini-Basis System, we can tell you about some of its new features.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |