Editing Source Code (Frontend Editor)
Selecting Text
Using the mouse
To select |
Procedure |
A block of text |
Click and hold the left-hand mouse button, drag the cursor across the block |
A line |
Click the left-hand mouse button to the left of the line |
A set of lines |
Click the left-hand mouse button to the left of the first line then drag the cursor |
The entire source code |
Ctrl + left-hand mouse button to the left of a line. |
Using the keyboard
To select |
Press |
The entire source code |
Ctrl + A |
The next line up |
Shift + |
The next line down |
Shift + ¯ |
One character to the left of the cursor |
Shift + ¬ |
One character to the right of the cursor |
Shift + ® |
One page upwards from the cursor position |
Shift + PgUp |
One page downwards from the cursor position |
Shift + PgDn |
To the beginning of the current line |
Shift + Home |
To the end of the current line |
Shift + End |
To the beginning of the current paragraph |
Shift + Ctrl+ |
To the end of the current paragraph |
Shift + Ctrl + ¯ |
To the beginning of the current word |
Shift + Ctrl + ¬ |
To the end of the current word |
Shift + Ctrl + ® |
To the beginning of the visible area |
Shift + Ctrl + PgUp |
To the end of the visible area |
Shift + Ctrl + PgDn |
To the beginning of the entire source code |
Shift + Ctrl + Home |
To the end of the entire source code |
Shift + Ctrl + End |
Editing Text
Function |
Procedure |
Cut |
Select the relevant text. |
Copy |
Select the relevant text. |
Paste |
Position the cursor where you want to insert the text. |
Moving text using drag and drop (within the same editor) |
Select the relevant text. |
Copying text using drag and drop (within the same editor) |
Select the relevant text. |
Commenting out source code |
Select the relevant code. |
Removing comments from source code |
Select the relevant code. |
Inserting Code From Other Programs Using Drag and Drop
To insert code from one ABAP program in another, open both programs (each in its own session). Then, select the code that you want to copy and use drag and drop to place it in the other editor. The source code will either be moved or copied (if you press and hold the Ctrl key while dragging it, or if you opened the source program in display mode).