Using Clipboards

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

The SAPscript Clipboard

Use

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 pathEdit Next navigation step SelectEnd of the navigation path to select the text.

  2. Choose Start of the navigation pathEdit Next navigation step Selected Area Next navigation step CopyEnd of the navigation path or Start of the navigation pathEdit Next navigation step Selected Area Next navigation step CutEnd of the navigation path and Start of the navigation pathEdit Next navigation step PasteEnd of the navigation path to Copy text to the clipboard and to reinsert it.

SAPscript User Clipboards

Use

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 pathEdit Next navigation step SelectEnd of the navigation path to select the text.

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

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

ABAP Editor Clipboard

Use

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 pathInclude Next navigation step Clipboard Next navigation step Line EditorEnd of the navigation path and choose the appropriate clipboard.

PC or Workstation Clipboard

Use

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

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

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.

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 pathInclude Next navigation step Clipboard Next navigation step ClipboardEnd 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).