Entering content frameProcedure documentationEditing Source Code (Frontend Editor) Locate the document in its SAP Library structure

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.
Choose Cut from the context menu (right-hand mouse button), or choose Ctrl + X. The selected text is placed in the buffer.

Copy

Select the relevant text.
Choose Copy from the context menu (right-hand mouse button), or choose Ctrl + C. The selected text is placed in the buffer.

Paste

Position the cursor where you want to insert the text.
Choose Paste from the context menu (right-hand mouse button), or choose Ctrl + V. The selected text is placed in the buffer.

Moving text using drag and drop (within the same editor)

Select the relevant text.
Press and hold the left-hand mouse button and drag the selected text to where you want to place it.
Release the mouse button.
The selected text is moved to the new position.

Copying text using drag and drop (within the same editor)

Select the relevant text.
Press and hold Ctrl + the left-hand mouse button and drag the selected text to where you want to place it.
Release the mouse button.
The selected text is copied to the new position.

Commenting out source code

Select the relevant code.
From the context menu, choose Comment, or press Ctrl + <.

Removing comments from source code

Select the relevant code.
From the context menu, choose Uncomment or press Ctrl + >.

 

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).

This graphic is explained in the accompanying text

 

 

 

 

Leaving content frame