ABAP Development Tools (ADT) in Eclipse offer extensive keyboard shortcuts that significantly increase your development speed. Those who know the most important key combinations navigate faster through code, find errors more efficiently, and save valuable time every day.
Overview: The Most Important Shortcut Categories
Category
Description
Most Important Shortcut
Navigation
Open objects, jump
Ctrl+Shift+A
Editing
Write code, format
Ctrl+1
Debugging
Breakpoints, step-through
F5, F6, F7, F8
Refactoring
Rename, extract
Alt+Shift+R
Search
Find text and objects
Ctrl+H
Navigation Shortcuts
Navigation is the key to productivity. With these shortcuts, you’ll quickly find any code:
Open and Find Objects
Shortcut
Action
Description
Ctrl+Shift+A
Open ABAP Development Object
Opens any ABAP object
Ctrl+Shift+T
Open Type
Opens class or interface
Ctrl+Shift+R
Open Resource
Opens any file
Ctrl+E
Show Open Editors
List of all open editors
Ctrl+F6
Next Editor
Switch between editors
Ctrl+Shift+F6
Previous Editor
Previous editor
Tip: Ctrl+Shift+A with wildcards
Input: ZCL_*HANDLER
Finds: ZCL_MY_HANDLER, ZCL_EVENT_HANDLER, etc.
Input: *BOOKING*
Finds: All objects with "BOOKING" in the name
Navigate in Code
Shortcut
Action
Description
F3
Open Declaration
Jump to definition
Ctrl+Click
Navigate to Declaration
Like F3, but with mouse
Alt+Left
Back
Back to previous position
Alt+Right
Forward
Forward to next position
Ctrl+Q
Last Edit Location
To last edit
Ctrl+L
Go to Line
Jump to specific line
Ctrl+Shift+P
Matching Bracket
To matching bracket
" Example: Navigation with F3
CLASS zcl_order_processor DEFINITION.
PUBLIC SECTION.
METHODS process_order
IMPORTING
io_order TYPE REF TO zif_order. " F3 on zif_order -> opens interface
ENDCLASS.
CLASS zcl_order_processor IMPLEMENTATION.
METHODprocess_order.
DATA(lv_status) = io_order->get_status( ). " F3 on get_status -> jumps to method
IF lv_status = zif_order=>co_status_new. " F3 on co_status_new -> to constant
io_order->validate( ).
ENDIF.
ENDMETHOD.
ENDCLASS.
Outline and Structure
Shortcut
Action
Description
Ctrl+O
Quick Outline
Quick overview of methods
Ctrl+F3
Open Structure
Structured view
Ctrl+Shift+Down
Next Member
Next method/attribute
Ctrl+Shift+Up
Previous Member
Previous method/attribute
Ctrl+O Workflow:
1. Press Ctrl+O -> Outline opens
2. Type method name -> Filter active
3. Enter -> Jump directly to method
Especially useful for large classes with many methods!
Editing Shortcuts
These shortcuts speed up writing and editing code:
Code Completion and Quick Fixes
Shortcut
Action
Description
Ctrl+Space
Content Assist
Code completion
Ctrl+1
Quick Fix
Quick error fix
Ctrl+Shift+Space
Parameter Hints
Show parameter info
Alt+/
Word Completion
Complete word from buffer
" Ctrl+Space examples:
" 1. Complete method names
DATA(lo_processor) =NEW zcl_order_processor( ).
lo_processor->pr " Ctrl+Space -> process_order, prepare_data, etc.
" 2. Variables and fields
DATA: lv_customer TYPE kunnr.
lv_cu " Ctrl+Space -> lv_customer
" 3. SQL fields
SELECT car " Ctrl+Space -> carrier_id, carrier_name from table
FROM /dmo/flight
INTO TABLE @DATA(lt_flights).
" Ctrl+1 Quick Fix examples:
" - Implement missing method
" - Declare variable
" - Add import parameter
" - Correct type
Edit Text
Shortcut
Action
Description
Ctrl+D
Delete Line
Delete line
Ctrl+Shift+Enter
Insert Line Above
New line above
Ctrl+Enter
Insert Line Below
New line below
Alt+Up
Move Line Up
Move line up
Alt+Down
Move Line Down
Move line down
Ctrl+Alt+Up
Duplicate Line Up
Copy line up
Ctrl+Alt+Down
Duplicate Line Down
Copy line down
Ctrl+Shift+Y
To Uppercase
Convert to uppercase
Ctrl+Shift+X
To Lowercase
Convert to lowercase
Move lines with Alt+Up/Down:
BEFORE:
lv_result = lv_a + lv_b.
lv_a = 10.
lv_b = 20.
Cursor on "lv_a = 10." -> Alt+Up twice
AFTER:
lv_a = 10.
lv_b = 20.
lv_result = lv_a + lv_b.
Selection and Formatting
Shortcut
Action
Description
Ctrl+A
Select All
Select all
Ctrl+Shift+End
Select to End
Select to end
Ctrl+Shift+Home
Select to Beginning
Select to beginning
Alt+Shift+A
Toggle Block Selection
Block selection
Shift+F1
Pretty Print
Format ABAP code
Ctrl+Shift+F
Format Source
Format source
Ctrl+/
Toggle Comment
Comment on/off
Ctrl+Shift+/
Add Block Comment
Block comment
" Block selection (Alt+Shift+A) for multi-cursor editing:
" BEFORE:
DATA lv_field1 TYPE string.
DATA lv_field2 TYPE string.
DATA lv_field3 TYPE string.
" Alt+Shift+A -> Block mode
" Place cursor before 'string', extend down
" Replace all 'string' with 'i' simultaneously:
" AFTER:
DATA lv_field1 TYPE i.
DATA lv_field2 TYPE i.
DATA lv_field3 TYPE i.
Save and Activate
Shortcut
Action
Description
Ctrl+S
Save
Save
Ctrl+F3
Activate
Activate object
Ctrl+Shift+F3
Activate All
Activate all inactive
Ctrl+F2
Check (Syntax Check)
Check syntax
Search and Replace
Shortcut
Action
Description
Ctrl+F
Find
Search in editor
Ctrl+K
Find Next
Next occurrence
Ctrl+Shift+K
Find Previous
Previous occurrence
Ctrl+H
Search Dialog
Advanced search
Ctrl+Shift+G
Find References
Find usages
Ctrl+G
Find Declarations
Find declarations
Ctrl+H search options:
1. ABAP Search
- Object Name Search
- Where-Used List
- Full-Text Search in Sources
2. File Search
- Search in files in workspace
3. Select scope:
- Workspace
- Project
- Selected Package
Debugging Shortcuts
Efficient debugging is possible with these shortcuts: