ABAP Keyword Documentation → ABAP - Release-Specific Changes → Changes in Release 7.0 and its EhPs → Changes in Release 7.0, EhP2
Tools in Release 7.0, EhP2
1. ABAP Editor
2. Class Builder
3. ABAP Debugger
4. Coverage Analyzer
5. ABAP Unit
6. Runtime Analysis
7. ABAP Test Cockpit
8. Checkpoint groups
Other versions: 7.31 | 7.40 | 7.54
Modification 1
ABAP Editor
Code Completion has been added to the new ABAP front-end editor. This tool proposes appropriate ABAP words and operands for the current position in the code. By default, Code Completion is called using Ctrl+Space. The following units can be completed:
- Data objects including structures and components
- Data types and classes
- Components of classes
- Function modules
- Subroutines
- Formal parameters
- Database tables
-
ABAP words
The proposals can be accepted as they are or as patterns with prefilled parameters.
Modification 2
Class Builder
The Source Code-Based Editor setting is used to expand the internal include programs of a class pool. This displays the entire source code of a global class like a program in ABAP Editor and it can then be edited. When saved, the modified source code is then split among the associated include programs.
Modification 3
ABAP Debugger
The following functions have been added to the two-process debugger:
-
Variable display:
A new tab page, Auto, displays the last return codes of methods.
Long data objects can now be modified in the detail view. -
Table tool:
Support for secondary keys (the key used can be toggled in the debugger).
Tables can be filled with data that was previously downloaded onto the presentation server.
Substructures of structured row types can be expanded in a row.
Columns can be hidden and made visible again.
Display settings are retained for specific tables. -
Breakpoint tool:
Special breakpoints for Web Dynpro ABAP (specification of Web Dynpro component, Web Dynpro controller, or a Web Dynpro method).
Special breakpoints for simple transformations (debugging of simple transformations).
Special breakpoints for a stack change (breakpoint for a program or procedure change).
Special breakpoint for imprecise Decfloat calculation (stops if an imprecise statement or calculation with decimal floating point numbers takes place). -
Dynpro tool:
New tool for analyzing dynpros (control, properties, layout). -
ST debugging:
New tool for debugging simple transformations (step-by-step execution, variables display, breakpoints). -
Debugger scripting:
ABAP debugger scripting can be used to analyze the current ABAP context.
Called using a breakpoint or an automated single step.
The context of the debuggee can be stopped, traced, or changed within a script.
An integrated script tool scripts to be written, saved, loaded, and executed.
Transaction SAS allows the independent editing of debugger scripts. -
Statement debugging:
Multiple statements in one line can be debugged step by step.
Logical expressions can also be debugged step by step. -
Layer debugging:
The user can define the software layer (package, program, procedure, or interface) that he or she wants to debug.
A layer can be executed as a single step in debugging. -
Stack tool:
New setting for displaying the call stack of the internal session of a caller -
Exception tool:
New tool for displaying and analyzing the last and previous class-based exceptions. -
Console tool:
This new tool displays the growing data of serializations from ABAP to XML forCALL TRANSFORMATION
and for classic list output. -
Enhancement concept:
Visualization of enhancements in the stack.
Possibility of skipping or executing enhancement implementations. -
ABAP byte code:
In the ABAP byte code or ABAP byte code (debug macro) context menus, it is possible to select what a replacement for a proper macro debugging run can depict. -
Functions adopted from the old debugger:
Displays the classic list currently being created in the ABAP session of the debuggee.
Possibility of restarting the entire application.
Settings (block sending TRFC, ESI debugging, Shared Objects: Debug automatic area structure, always generate exception object, Control Framework: Automation controller Always processes requests synchronously, check sorting before READ BINARY SEARCH.
Modification 4
Coverage Analyzer
Coverage Analyzer has been modified to include the following:
- Code coverage is now measured on the statement level.
- The coverage of individual conditions of logical expressions is measured.
- The coverage of empty branches is measured.
-
The coverage of the executed and non-executed statement blocks in control structures is measured (branch coverage).
Code coverage is visualized in different colors in the new ABAP front-end editor. To measure the coverage of test runs, Coverage Analyzer has been integrated into ABAP Unit.
Modification 5
ABAP Unit
In Release 7.0, EhP2, the additions introduced for the statement
CLASS ... FOR TESTING
, namely RISK LEVEL
and
DURATION
, have replaced the pseudo comments introduced in Release 7.0, namely
"#AU Risk_Level ...
and "#AU Duration ...
, used for defining the test properties of
test classes.
An ABAP Unit Browser integrated into Object Navigator in ABAP Workbench allows:
- A structured overview of existing unit tests to be displayed.
- Multiple test runs to be started at the same time.
-
Unit tests to be organized in favorites.
For the latter item, test coverage can be measured and displayed using the Coverage Analyzer.
Class CL_ABAP_UNIT_ASSERT replaces class CL_AUNIT_ASSERT. New methods are now assigned to the new class only. Existing unit tests do not have to be switched to the new class. However, we recommend that the new class is used only in new tests.
Modification 6
Runtime Analysis
The runtime analysis tool has been switched to the new transaction SAT (the previous transactions were SE30 and ATRA). The new runtime analysis tool
- has a new user interface for analyzing measurements. Like ABAP Debugger, it consists of adjustable Desktops where various tools can be arranged.
- contains additional and more flexible analysis tools than the previous version.
- saves the measurement data to the database, which makes it independent of the operating system of the application server.
-
enables the cross-system comparison of measurement data.
Modification 7
ABAP Test Cockpit
ABAP Test Cockpit (ATC) is a framework that is integrated into ABAP Workbench to execute various tests for development objects and to show the results of these. The following are some of the tests that are currently integrated:
- Extended program checks
- Performance tests
- Unit tests
- Usability tests
-
Package checks
The external release takes place in Support Package 12.
Modification 8
Checkpoint Groups
A time limit now applies to activation settings for checkpoint groups. When an activation setting is saved in transaction SAAB, either a validity period (valid for the current day or week) or a validity end date must be specified. The default value (valid for the current day) is generally suitable for most applications.