SAPscript: The New PC Editor

Description

1. Technical requirements

To use the new PC editor, the operating system running on your frontend must meet the following technical requirements:

Platform: Either Windows NT 4.0 or Windows 95 must be installed on your frontend. Other platforms are currently not supported.

Control data: You need several .DLL and OCX files. The SAPgui automatically installs these components (it uploads the .DLL and OCX files). However, in a dialog box you can decide if you want to automatically update the necessary components.

1. Technical implementation

RTF Control: The external OCX component makes the WYSIWYG functions of the new PC editor technically possible. This RTF control (the format displayed is RTF) is embedded in the previous screen of the SAPscript line editor. All menu options for handling text are therefore still available.

Layout: The user can still use the character and paragraph formats provided by the application in the style or form. This gurantees that there is a uniform layout for particular types of text (purchase orders, dunning notices and so on) and means that the user does not have to worry about the different formatting guidelines for these types of text.

1. Formatting conversion

Compatibility: The new PC editor is entirely backwards compatible. You can easily use any texts, styles or forms created using the line editor. You can load any SAPscript text created with the line editor into the PC editor and edit it there. The system automatically adapts the allocated forms, which you can continue to use. Section 6 describes the restrictions of the PC editor.

As ever, you can allocate any form defined in the system to a text in the PC editor. The same applies to any SAPscript style.

Data format: Up to now, the system displayed and stored all texts in SAPscript in ITF format (Interchange Text Format). If you use the new PC editor, the system converts this SAPscript internal format to RTF. When saving texts in the RTF control, the system reconverts them to ITF and stores them in the database as usual. This ensures that you can easily switch between both editors.

1. Functions in detail

You edit texts in the PC editor in the same way as when you use a traditional word-processing system.

The advantage of the PC editor is its WYSIWYG functionality:

a) You can see all applied paragraph and character formats (such as bold, left and right-alignment, different font sizes) directly on the screen.
b) Pushbuttons allow you to easily choose paragraph and character formats.
c) You can trigger all functions using the mouse or appropriate pushbutton (for example, cut & paste).
d) Special text structures (for example, control commands or comments) are highlighted in the text. Control commands, for example, are highlighted in gray and are no longer part of the changeable text body. The tag column in the line editor is no longer necessary and has therefore disappeared.
e) The integrated syntax check for SAPscript control commands helps you avoid the most common input errors.
1. Details
a) New paragraph

To create a new paragraph, choose ENTER. The new paragraph inherits the format characteristics of the previous paragraph.

a) New line within a paragraph

If you want to start a new line within a paragraph, choose SHIFT and ENTER (or F6) together.

a) Setting and resetting character formats

To format individual characters (for example, bold, italics and so on), select the character and choose the corresponding function. If you want to reset the character format to its original value, you should choose Edit -> Reset character format . If several character formats are assigned to a character string (for example, bold and italics), the system displays a dialog box from which you can choose which formats should be changed.

a) Displaying character formats and paragraph formats

To display the current character and paragraph formats at any position in the text, choose Edit -> Display formats .

a) Inserting commands

To insert commands, text elements or comments, choose Edit -> Insert command... . The system displays the read-only inserted structures in a different color.

a) Inserting program symbols

The new PC editor enables you to search for program symbols within the print program. To search for these symbols, choose Insert -> Symbols -> Program symbols..., or choose the corresponding pushbutton. The system displays the tables and table fields available, which you can then transfer to the editor.

a) Symbol definition

Choose the 'Symbol definition' pushbutton, or choose Goto -> Print program -> Symbol definition to access directly the print program which contains the data definition of a selected program symbol. The symbol must be selected and a print program must be assigned to the form used. By choosing Goto -> Print program -> Symbol definition with dialog, the system displays a dialog box from which you can select print programs. The system also displays this dialog box if you choose the 'Symbol definition' pushbutton and a print program has still not been assigned to the form.

a) Displaying paragraph marks

You can display the paragraph marks of each paragraph by choosing Format -> Paragraph on/off.

1. Problems with the PC editor

The PC editor is not loaded

There are particular instances where errors occur when uploading the PC editor and you have to use the old line editor instead. The reason for this is that one or more paragraph or character formats could not be converted. The old editor accepts formats that are incorrectly specified, whereas in the new PC editor, all formats that appear must be defined.

If this occurs, you should correct all incorrect paragraph and character formats and save the document. You can then switch to the new PC editor.

Restrictions

The current version of the PC editor does not yet have all of the functions of the line editor. The following problems occur:

There may be performance problems with a few of the editor functions (for example, switching the editor, or loading data).

Outline paragraphs can be edited, although they cannot currently be displayed as WYSIWYG.

When using SAPscript symbols, you cannot specify text before and after the symbol.

Not all of the editor user interfaces are supported (for example, documentation entry).

1. Other

Refer to the R/3 System online help for further information on the SAPscript editor. You can find information on the editor's navigational help for program symbols in the release notes for the SAPscript navigation help.

Software/hardware requirements

Windows NT 4.0 or Windows 95

Changes in procedure

User-dependent editor settings in the initial screen of the standard text editor (SO10) or in the editor itself under Goto -> Editor settings.