ABAP Development Tools Features
ABAP Development Tools Features
features
Table of Contents
Table of Contents 2
Overview 3
2
20. Help 33
21. ABAP Perspectives views 34
22. Modeler perspective 35
23. Web 35
24. Web services 36
25. Mobile 37
26. Feed reader 38
27. Task managment 39
28. Debugger 40
29. Accessibility Features 42
30. Unit Testing 42
31. Relation Explorer 44
32. Eclipse extensions / add-ons 47
33. Outline View 47
Features Top 10 50
Conclusion 51
3
Overview
ABAP Development Tools (ADT) is the Eclipse-based development
environment for ABAP. They are characterized by the same look and feel and
the same navigation behavior that is typical for the Eclipse Workbench. Some
examples of such native Eclipse tools are different variants of ABAP Source
Code editors, editors for ABAP Dictionary objects, CDS editors, the
integration in Outline, and Tasks, Problems, Project Explorer, ABAP Unit
views.
4
Features of ABAP development tools
From the very first versions the ABAP Development Tools in Eclipse already
had a rich set of features for the efficient ABAP development but there was
still some room for improvement.
5
1. Perspectives
Just like any other perspectives in Eclipse, the ABAP perspectives define the
initial set and layout of tools (views and editors) in the Eclipse window and in
this way provide a set of functions aimed at accomplishing a specific type of
task. In particular, they work with ABAP development objects that are
managed by an ABAP backend system.
6
⬆️.
This is a dialog to open the ABAP perspective
To set a perspective and all views back to default, choose Window >
Perspective> Reset> Perspective from the menu bar.
➔ The result :
7
In the ABAP Perspective, the ABAP tools are ideally positioned in the IDE to
facilitate your development tasks. Nevertheless you are free to rearrange all
views and editors to your personal needs.
8
Example of the screen when editing an ABAP class with ADT:
9
3. Transporting
10
Only creation, selection and overview.
Transport Organizer:
Overview:
The key feature of the Transport Organizer view is the option to display the
assignment of objects to the tasks and transport requests in a folder
structure. Also, to perform some basic actions.
The display depends on the logged-on user. For example, you can display the
most important information relating to the transport of change requests of a
11
user without leaving the development environment. A request or task has an
editor to view and edit the properties and objects.
Display of a request that is selected in the Transport Organizer view and the
Request Editor is opened in ADT.
12
The Transport Organizer view displays for each ABAP project the following
columns:
Transport Organizer view allows you to perform few of the common actions
irrespective of the level using the context menu option:
● Copy
● Copy Request Number
● Refresh
● Run as..
13
as per when users perform customizing settings and a target system is
automatically assigned as per the transport layer (if defined).
4. Delivery Units
In SAP HANA system, Delivery Units are used to transport repository objects
between different HANA systems and is used by Lifecycle Manager LCM.
In SAP HANA, the Delivery unit (DU) is the vehicle that SAP HANA application
lifecycle management uses to ship one or more software components from
SAP (or a partner) to a customer.
14
Although a vendor might provide multiple versions of a delivery unit in
parallel, only one version of a delivery unit can be installed in a HANA system
at any one time. In addition, duplicate names are not allowed for delivery
units.
SAP HANA treats delivery units and their versions as software components
and software-component versions. Software components and
software-component versions are usually shipped as part of a product
(product version).
15
5. Working together
16
Description: Generate, for example, an ADT link to share a development with
another ABAP developer of your team. To do this, choose Share Link from
the context menu of a development object.
You can open an ADT link by choosing Navigate + Open ADT Link from the
menu bar or with Ctrl + Alt + O .
The ABAP Test Cockpit (ATC) is the main ABAP tool for quality assurance.
Using the ATC, you can check your ABAP development objects for many types
of problems, including syntax errors, potential problems in performance,
sub-optimal or potentially faulty programming, adherence to standards,
errors in ABAP Unit testing, and many others.
Here are the main features of the ATC for developers working in the ABAP
Development Tools (ADT):
17
● Local quality check of your ABAP development objects directly in your
development environment, starting from Project Explorer or the ABAP
source editor
● Display of ATC findings, finding-specific details, and help directly in the
ATC Problems view
● Notification of high-priority ATC findings from central ATC quality
checks through an ABAP feed
● Display of complete central ATC results originating from mass
regression check runs in your quality system in a specific ATC Result
Browser view
● Tool integration for handling exemptions for ATC findings.
The ATC reports problems as findings, messages that describe the problem.
Findings have a priority, where by errors and warnings usually indicate a
serious problem that needs to be corrected quickly. All findings offer
context-sensitive help, which includes details of each finding that may not
appear in the finding messages themselves.
In ADT, you can use the ATC to check your development objects as you work,
directly from the Project Explorer or the ABAP source editor. In this case,
the findings are for your own use.
Your quality manager can use the ATC to run central "official" quality checks,
usually in your integration or consolidation system. You can see your errors
and warnings from the active central ATC runs with an ABAP feed.
You usually need to clear central ATC findings by correcting your objects with
ADT in your development system, and then transporting the changes to the
integration and consolidation systems, or wherever central ATC testing takes
place. Should you not be able to clear an "official" ATC finding, you can
18
request an ATC exemption that has to be approved by the quality manager.
An exemption suppresses an ATC finding either temporarily or permanently.
The ATC Result Browser view is provided for requesting exemptions and for
working with the complete set of ATC findings in central ATC runs. Quality
managers can set up the ATC so that findings from central runs are
replicated to development systems. The ATC can also be set up to let you
request central exemptions from the ATC Result Browser in your
development system.
19
7. Pretty printer / Source code formatting
8. Version history
20
9. Templates
Definition:
● development object,
● subobject of a development object (for example, a method),
● subobject of a subobject (for example, methods in test classes),
● and so on.
Each element has a name and a type and may have further properties.
21
Each subelement has a parent element. Elements may be related to
other elements.
Overview:
The content that is displayed depends on the object type for which you
display it.
Examples:
22
23
11. Navigating source code
24
12. Searching development object
25
14. Shortcuts
26
15. Search and Where-Used
Example:
27
Sample for the structure of structure an Element Information popup
In this Element Information popup, you can find the following information:
● Element/subobject
● List with the subelements
● Short text with link to the long text
● List with the parameters
● Integrated toolbar
28
16. Refactoring
29
Example:
- Press CTRL + 1
- Wizard
ABAP Profiling
ABAP profiling lets you analyze the runtime behavior of an ABAP program.
ABAP Trace
The ABAP Trace has been integrated into ABAP Developer Tools (ADT).
The ABAP Trace shows you where runtime is being consumed, and where
effort for refactoring and optimization can best be applied. The ABAP Trace
also lets you analyze and understand program flow, which can be useful
30
when you are trying to understand a problem or learn about code you must
analyze or maintain.
The ABAP Cross Trace has been integrated into ABAP Developer Tools (ADT).
The ABAP Cross Trace differentiates between sensitive data (for example
financial data, personal data, or business data) and non-sensitive data. The
transferred data might contain sensitive data. Consequently, a user needs
specific authorizations to trace or view sensitive data.
Tracing Scope
31
Components are used to configure the framework layers to be traced, for
example, SAP Gateway. Components can have sub-components for more
detailed classification.
32
20. Help
33
21. ABAP Perspectives views
34
23. Web
35
36
25. Mobile
37
A feed reader enables you to automatically subscripe and display feeds.
Use:
In ABAP Development Tools (ADT), use the Feeds view to display and read
feeds from ABAP Repository or other native feeds. You can also add or delete
a feed.
By default, runtime errors and system messages are displayed in the Feeds
view. In addition, feeds from other components, such as SAP Gateway can be
displayed here.
Overview:
You can also subscribe to any native feed that is published in Atom or RSS
format. In this case however, you only have to specify the URL that you get
from the feed provider.
Once you have subscribed to a feed, ADT refreshs it periodically. You can
change the default refresh interval when you subscribe to the feed.
Feeds are updated automatically only if you have opened an ABAP project.
Otherwise, the feeds are dormant. Dormant feeds are shown in gray type in
the Feed Reader view.
38
- Syntax errors
- System messages
Task management:
• No separate to do lists
• Integration with code: click on task, all relevant screens (context) opens
• Bugzilla, Mantis,…
39
28. Debugger
● The Debug view also shows you the active call stack. You can click on
entries in the call stack to open the code at that level of the stack. You
can then inspect active variables, set breakpoints, or edit your code.
40
● Variables and Breakpoints on different tabs.
● Double-clicking a variable in the source code editor shows you the
value and attributes of the variable in the Variables view.
● In the Breakpoints view, you can see the list of active and inactive
breakpoints.
● Double-click on a breakpoint to jump to its locations in the source
code. Mark or unmark a breakpoint to activate or deactivate it. Any
such changes are effective immediately in the current debugging
session.
● The editor displays the code that you are debugging. You can follow
debugger execution in the code, show the values of variables by
hovering with the cursor over them, or open them in the Variables
view by clicking on them.
● You can correct mistakes in your coding directly in the editor; there's
no need to switch to the ABAP perspective to edit your code.
41
29. Accessibility Features
● By using Tools like screen readers that read text from the user
interface and transfer it into audible voice. So, you can hear the context
of the current position.
● By setting specific window configurations and Eclipse preferences to
adjust font size or contrast of text to the background. So, you can
improve readability.
30. Unit Testing
In unit testing, a developer ensures that the correct behavior of the smallest
testable units – such as the methods of classes – of his or her code is
verifiable. Unit testing makes it easier to verify quality, to refactor code, to
perform regression testing, and to write tests according to the test-driven
development model.
42
The most important features for writing ABAP unit tests are the following:
● ABAP Unit tests are written in ABAP. You do not have to learn an
additional scripting language for testing.
● You write tests with the standard ABAP Development Tools (ADT). You
do not have to use additional tools for developing tests.
● ABAP Unit tests are transported with the ABAP repository objects that
they test. They are therefore available in all of the systems of your
development and testing landscape.
The most important features of ABAP Unit for running and evaluating unit
tests are these:
● You can run ABAP Unit tests as you develop code. You can launch tests,
for example, directly from the ABAP editor in the ADT.
● Code coverage measurement is integrated into ABAP Unit testing, so
that you can verify the thoroughness of your unit testing and easily find
untested code.
● ABAP Unit testing can be automated and is part of mass quality testing.
● Test results are displayed in the ABAP Unit view for easy evaluation
and analysis.
● ABAP Unit test methods have no parameters. No special knowledge or
test framework is required to run ABAP tests; they can be run by
anyone, and not just by the developer.
● ABAP Unit tests cannot be executed in productively used ABAP
systems.
43
31. Relation Explorer
The Relation Explorer helps you to understand how the objects are related
to each other.
In general, ABAP repository objects are related to each other in many ways.
The objects, together with their relations, build networks. For any object, the
Relation Explorer determines related objects and displays them as a tree.
The object you start with is called entry object.
Depending on the kind of relations you're interested in, this might only be a
subset of the related objects. By selecting a certain context, you can
concentrate on one of those subsets.
44
Additionally, you might be interested in objects that use the entry object.
Therefore, switch to the Using Objects context.
45
Contexts:
46
32. Eclipse extensions / add-ons
• Easy integration
47
In a tree, structuring elements like attributes, data types, methods, and
so on are displayed in the order of their occurrence in the open source
code-based development object.
When you select one of the structural elements, the cursor navigates to
its relevant source code position. In addition, you can also filter the
display in order to hide:
48
Synchronized navigation from the Outline view to an element
49
Features Top 10
• Split view + View & edit more than one SAP object at the same time
(no multiple sessions)
• Code completion
• Feed reader
• Plugins
• Fully personalizable
• Templates
• Search functionality
• Task management
• Refactoring capabilities
50
• Full navigation historys
Conclusion
• All in one (ABAP, Web, HANA/Database/DDIC, Web services,…) & split
view working parallel
• Direct web browser integration (e.g. for web testing, SCN, object
registration,…)
• Integration on the way for a lot of SAP ABAP objects (now switch to
SAP GUI)
51