Editing a Document – the Documentation Editor

You can use the SAPscript editor to edit a document. The functionality of the editor has been enhanced in the documentation maintenance transaction. You can find functions specifically meant for maintaining documentation under the menu options Document, Goto and Details.

In the following sections the most important steps for editing documents are explained. For further information on word processing in SAPscript, please refer to the documentation on SAPscript.

Enter Text

When you create a new document, the appropriate standard heading for the document class automatically appears. If you like, you can enter text for individual headings. Headings that are not used are suppressed from the help screen display.

To insert text between chapter headings or existing text, select the Insert function or press the F5 function key. This takes you into a separate editing area where you can then enter a text. When you have finished entering your text, select the function End insertion or press the F5 key again. This returns you to the original screen. The text you entered is now integrated into the existing text.

If you simply want to insert short passages into gaps or add text to the end of your document, you can do this directly. Use theENTER key to start a new paragraph.

You can select passages of text by double-clicking with the mouse on the first and last characters. The first and last characters of the selected text string are displayed in round brackets in the status line of the editor. On selected text you can perform the following functions:

  • Delete

  • Cut and Paste

  • Copy and Paste.

  • You can place selected text in three user clipboards (Display with Start of the navigation pathGoto Next navigation step User clipboardEnd of the navigation path ) and include the stored text elsewhere in your document, or in another document ( Start of the navigation pathInclude Next navigation step ClipboardEnd of the navigation path ).

The user clipboard

If you want to copy longer pieces of text into other documents , you can use the user clipboard 1, 2 or 3. Proceed as follows:

  1. Select the text section which you want to copy, by double-clicking on the first, and then on the last line. The selected lines are highlighted and the first and the last character is displayed at the bottom of the screen in brackets.

  2. Choose Start of the navigation pathEdit Next navigation step Selected area Next navigation step User clipboard Next navigation step Clipboard_1 Next navigation step  (orEnd of the navigation path Clipboard_2 or Clipboard_3 ). The selected text is copied onto the specified clipboard and is kept there until another text is copied to the same clipboard.

  3. Position the cursor in the destination document at the position at which the text is to be inserted, and choose Start of the navigation pathInclude Next navigation step Clipboard Next navigation step User clipboard Next navigation step Clipboard_1 Next navigation step  (orEnd of the navigation path Clipboard_2 or Clipboard_3 ). The text is inserted.

Formatting

When you create a document, it is linked automatically to a standard style sheet. Formats for paragraphs and characters are defined here. The style sheets are managed by a separate maintenance transaction ( Start of the navigation pathTools Next navigation step Word processing Next navigation step Styles Next navigation step ).End of the navigation path

To see which formats are available in the standard style, select Start of the navigation pathFormat Next navigation step Character Next navigation step ... Next navigation step  or  Next navigation step Paragraphs Next navigation step .... To find out how a particular format is defined, position your cursor on the format you are interested in and select the functionEnd of the navigation path Attribute.

Use character formats to highlight areas of text through use of a particular font. To format an area of text, proceed as follows:

  1. Select the block of text by double-clicking with the mouse on the first and last characters.

  2. Select Start of the navigation pathFormat Next navigation step Character Next navigation step  to obtain a selection list of available fontsEnd of the navigation path

  3. Position the cursor on the format you require and activate Select .

If you know which format you require, you can of course make the necessary entries by hand. Note that the representation on the screen is different to the printout.

The standard use of fonts at SAP is shown below:

  • < ZH> Emphasis

  • < LS> Menu options/functions (emboldened for F1-help))

  • < LB> User entries

Paragraph formats format a complete section of text right up until the beginning of the next paragraph format. The procedure is as follows:

  1. Select the paragraph you require by double-clicking with the mouse (anywhere within the paragraph).

  2. Select Start of the navigation pathFormat Next navigation step ParagraphsEnd of the navigation path to obtain a list of available paragraph formats that can be selected.

  3. Position the cursor on the paragraph you require and activate Select .

If you know the paragraph tag you require, you can simply overwrite the existing tag in the field to the left of the text input area. To start a new paragraph, pressENTER . A new paragraph with the same format as the previous paragraph is created.

The standard use of paragraph formats at SAP is shown below:

AS Standard paragraph

  • B1 First level list of equal elements with indentation of following lines

AL Paragraph following B1 and N1

  • B2 Second level list of equal elements with indentation of following lines

BL Paragraph following B2 and N2

  1. N1 Ordered list at the first level and indentation of following lines

  1. N2 Ordered list at the second level with indentation of following lines

When you use the paragraph format N1 or N2, you have to initialize the counter after completing the list (e.g. when printing several documents or if there are several lists within a single document), otherwise the counter is continually incremented.

  1. Enter /: in the paragraph column.

  2. Enter RESET N1 or RESET N2 in the adjoining text area.

Checking format and layout

To check the format and layout of the document, choose function Start of the navigation pathDocument Next navigation step Screen output. Next navigation step  You can do this without saving the document first.End of the navigation path

Save

When you save, you can select the editing status in which the document will be stored.

  • Raw Version

To save, either select the Save pushbutton in the standard toolbar or Start of the navigation pathDocument Next navigation step Save Next navigation step Raw version Next navigation step  in the menu bar.End of the navigation path

  • Active Version

To save, either select the pushbutton Save active in the application toolbar or Start of the navigation pathDocument Next navigation step Save Next navigation step Active version Next navigation step  in the menu bar.End of the navigation path

If the edited object is not yet contained in a change request, you are prompted in a dialog box to enter a change request, or to select one from a list (F4 possible entries, or pushbutton User requests ).