Show TOC

Using ClipboardsLocate this document in the navigation structure

Procedure

You can use four types of clipboards for cutting and copying text in SAPscript.

The SAPscript Clipboard

Use the SAPscript clipboard for copying text within one or between different SAPscript documents.

Prerequisites

You can use the SAPscript clipboard only within a single SAP system and client.

Procedure

  1. Choose Start of the navigation path Edit Next navigation step Select End of the navigation path to select the text.

  2. Choose Start of the navigation path Edit Next navigation step Selected Area Next navigation step Copy or Edit Next navigation step Selected Area Next navigation step Cut and Edit Next navigation step Paste to Copy End of the navigation path text to the clipboard and to reinsert it.

SAPscript User Clipboards

You use the SAPscript user clipboard when copying "permanent" text areas. The "permanent" text remains in the clipboard until you overwrite it, even if you log off or the SAP system is restarted.

Prerequisites

You can only use the SAPscript user clipboard within an SAP system and a client.

Procedure

  1. Choose Start of the navigation path Edit Next navigation step Select End of the navigation path to select the text.

  2. Choose Start of the navigation path Edit Next navigation step Selected Area Next navigation step Copy to User Clipboard End of the navigation path, and choose one of the three available clipboards.

  3. To insert the text in SAPscript, choose Start of the navigation path Include Next navigation step Clipboard Next navigation step User Clipboard End of the navigation path and choose the appropriate clipboard.

Note

You can also edit the contents of SAPscript user clipboards. Choose Start of the navigation path Goto Next navigation step User Clipboard End of the navigation path. This opens a normal SAPscript text input window, in which you can edit the content of the user clipboard.

ABAP Editor Clipboard

Use the ABAP editor clipboard for copying blocks of text from the ABAP editor to the line editor.

Prerequisites

You can use the ABAP editor clipboard only within a single SAP system and client.

Procedure

  1. To mark text in the ABAP editor, use the line commands XX, YY, or ZZ. Each command copies text to a different clipboard. It must be used in pairs, for example, XX <text to mark> XX.

  2. To insert the text into the line editor, choose Start of the navigation path Include Next navigation step Clipboard Next navigation step Line Editor End of the navigation path and choose the appropriate clipboard.

PC or Workstation Clipboard

Use the PC or workstation clipboard for copying text

  • Between SAPscript documents when you cannot use a SAPscript clipboard.

  • Between SAPscript and other programs running at your PC or workstation.

  • From SAPscript to the ABAP editor (small blocks of text only).

Prerequisites

You may have to copy text from external programs line by line, since text areas exceeding one line are not correctly pasted into SAPscript. However, from ASCII editors, such as Microsoft Notepad, these text areas are copied correctly.

If you paste a text area from an external program into SAPscript, the paragraph and character formats are not copied.

Procedure

  1. Mark the text by pulling the cursor. In a Microsoft Windows PC, press CTRL+Y first to switch to select mode.

  2. Choose CTRL+C (Copy) or CTRL+X (Cut) to copy from SAPscript to the clipboard.

  3. Choose Start of the navigation path Include Next navigation step Clipboard Next navigation step Clipboard End of the navigation path to paste the clipboard contents into SAPscript. The paragraph formatting in a SAPscript text is correctly copied into the new SAPscript window. Blocks of SAPscript text or editor text that extend beyond the end of the SAPscript screen are correctly inserted, too. You can also use the hot key CTRL+V (Paste).