Show TOC

 Using BuffersLocate this document in the navigation structure

Use

All modes of the ABAP Editor contain a standard buffer and three other temporary storage areas. You can also use the clipboard of your local computer to copy source code between programs in different SAP Systems.

Features

The following table provides an overview of the various buffers:

Function Used together with Description

Copy to buffer

Insert buffer

Performs copy and paste within a single editor session in the same system (standard buffer). When you leave the editor, the system deletes the contents of the buffer.

Copy to X buffer, Copy to Y buffer, Copy to Z buffer

Insert X buffer, Insert Y buffer, Insert Z buffer

Performs copy and paste between sessions in the same system. The editor saves the contents of these buffers so they are available from all of the sessions in the current system.

Copy to clipboard

Insert clipboard

Performs copy and paste between different SAP systems. For example, you can use this to copy material from a production system into a development system. This option uses the clipboard on your local presentation server.

Tip

In the Front-End Editor, you can access the buffers by choosing Block/Buffer from the context menu.

Activities
  • Copy source code to a buffer

    To copy program code to a buffer, select the relevant lines in the ABAP Editor and choose Utilities → Block/Buffer → Copy to... and the required buffer. 

  • Insert source code from a buffer

    To copy the source code from a buffer, position the cursor where you want to insert the buffer contents and choose Utilities → Block/Buffer → Insert... and the required buffer. The system inserts the source code from the buffer before the current line.

  • Copy source code to the clipboard

    You can edit the contents of a buffer by choosing Utilities → Block/Buffer → Edit Buffer… and the required buffer.