Skip to main content

Working with ABAP Development Tools (Quick Launch)








Hana ADT tools quick launch
https://www.sap.com/documents/2017/01/76757e66-a37c-0010-82c7-eda71af511fa.html - To get proper document for short cuts.

This Quick Launch page aims to provide you with the compact knowledge you may need when working with ABAP Development Tools for SAP NetWeaver during the introductory or training period. Find the complete version including cheat sheets in the IDE (Help > Help Contents > ABAP Development User Guide > Getting Started > Quick Launch)

Getting Started…

  • To start, create an ABAP project. An ABAP project always represents one system connection. TIP: To be able to work in multiple ABAP systems in parallel, you only need to create one additional ABAP project.
  • Open ABAP development objects in your project using Ctrl + Shift + A. or double-click the corresponding node in the ABAP project.
  • Browse the contents of an ABAP system in the Project Explorer. The root of an ABAP project contains a list of ABAP packages that are grouped either under the favorites list (Favorite Packages) or the System Library node. You can find the development objects simply by expanding the package node.
  • Add ABAP packages that are relevant for your work to the list of favorites.
  • Use Link with Editor /wp-content/uploads/2012/06/link_wih_editor_112001.png:  whenever you change an object in the editor, this object will be selected in the expanded Project Explorer tree.
  • Use the Outline view to display the structure of a development object.
  • Add a new ABAP development object (for example: a new class) to a package by selecting the package and using the context menu New > ABAP Class
    

Working with the Editor

  • You can open multiple development objects in multiple editor tabs.
  • Search for references to your development object using the Where-Used /wp-content/uploads/2012/06/where_used_list_112003.pngfunction (Ctrl + Shift + G) .
  • Open the Quick Outline in the editor using Ctrl + O.
  • Navigate the source code using F3 or Ctrl + Click.
  • To navigate between editors, click the back or forward arrow key on the toolbar.
  • To switch between the class, its local types or its ABAP Unit test classes, use the bottom tabs of the class editor.
  • Press F2 to display the signature of a class or method.
    

  Writing ABAP Source Code  

  • To change the source simply start typing directly in the editor.
  • Use code completion (Ctrl + Space) in the editor.
  • Insert source code templates using code completion and then Shift + Enter.
  • Start the ABAP language help with F1 in the source code editor.
  • Format the complete source code (Shift + F1) or a source code block (Ctrl + Shift + F1) within the editor.
  • Activate one or multiple development objects using the corresponding icons in the toolbar.
  • Compare source code objects, even across different ABAP systems, using the Compare withfunction in the context menu of the editor or Project Explorer.
    

Running ABAP Unit Tests

  • Run ABAP Unit tests for one or multiple development objects using the context menu Run As > ABAP Unit Test or  Ctrl+ Shift + F10 in the editor or Project Explorer
  • ABAP Unit test results are displayed automatically for you in the ABAP Unit Runner view.
    

Running ABAP Programs and Test Environments  

  • Run ABAP programs or test environment for classes or function modules using the context menu Run As > ABAP Application in the Project Explorer or by pressing F8.
    

Working with ABAP Runtime Errors (ABAP Short Dumps)

  • If a runtime error occurs in a program that you have started, the IDE will alert you to an ABAP feed with a small window. However, you can also subscribe to an ABAP feed from the ABAP repository. To subscribe to an additional ABAP feed, press Ctrl + 3 and select Feed Reader.
    

Getting User Assistance Support  

  • The Welcome page (Help > Welcome) provides a standardized set of pages that introduce the ABAP Development Tools to new users.
  • To access the complete reference user guide in the context of standard ABAP development, chooseHelp > Contents > ABAP Development User Guide.
  • Press F1 to request context-sensitive help for a given tool or UI component.
  • The cheat sheets provided will guide you interactively through some essential tasks.
  • The ABAP Samples Gallery (Help > Welcome > Samples) allows you to take a look at the source code of a variety of ABAP samples that are available in your development system.
    

Most Common Keyboard Shortcuts

Development Objects
Source Code Editing
Ctrl + Shift + A
Open development object
Shift + F1
Format source code (Pretty Printer)
Ctrl + Shift + N
New development object
Ctrl + Shift + F1
Format source block
Ctrl + S
Save development object
Ctrl + <
Add comment
Ctrl + F2
Check development object
Ctrl + Shift + <
Remove comment
Ctrl + F3
Activate development object
Ctrl + Space
Code completion
Navigation
Search and Help
F3
Open source code
Ctrl + Shift + G
Where-used list
Alt + Left
Backward navigation
F1
Show context-sensitive help
Alt + Right
Forward navigation
F2
Show tooltip description

Comments

Popular posts from this blog

ABAP7.40 New features

ABAP Language News for Release 7.40 For iteration expression ABAP 7.40 Quick Reference   Content 1. Inline Declarations 2. Table Expressions 3. Conversion Operator CONV      I.  Definition      II. Example 4. Value Operator VALUE      I.   Definition      II.  Example for structures      III. Examples  for  internal tables 5. FOR operator      I.   Definition      II.  Explanation      III. Example 1      IV. Example 2      V. FOR with THEN and UNTIL|WHILE 6.  Reduction  operator REDUCE      I.   Definition      II.  Note      III. Example 1      IV. Example 2     ...

2. Secondary Database Connections (HANA)-DBACOCKPIT/DBCON

Each Application Server ABAP is connected to a Database Management System (DBMS) that contains the ABAP Repository and the database tables and views defined in this system’s ABAP Dictionary. This DBMS is referred to as its Primary Database. Besides this primary database connection it is possible to establish connections to additional database management systems, so called Secondary Database Connections. In the scenario SAP HANA as Accelerator, where SAP HANA is used as a secondary DBMS, it is necessary to establish such a secondary database connection to SAP HANA. Maintain DB connection using below steps. Transaction : DBACOCKPIT  Use : Maintain. Monitor and test secondary db  connections. Tables : DBCON Secondary database connections, among other things, are created and maintained via transaction DBACOCKPIT. Each database connection is identified by name that has to be unique within the application server. Inside the connection, the DBM...

1. ABAP Programming on SAP HANA Syllabus

Introduction and Technical Concepts INTRODUCTION. HANA TECHNICAL CONCEPTS. INTRODUCTION TO HANA STUDIO. Taking ABAP to HANA Optimize Conventional Code   Access the SAP HANA data base using Open SQL and Secondary connection. Tables in HANA studio. Performance Rules and guidelines for SAP HANA. Implementing ABAP report on HANA using ADBC. Why we use native SQL? ABAP database connectivity ( ADBC) Native SQL syntax. Consuming HANA views and Procedures in ABAP Working with views in HANA studio Overview of different types of views in HANA. Consuming SAP HANA views in ABAP Calling SAP HANA procedures in ABAP