RTF Export and RTF Import

Procedure

RTF Export

When you use the RTF export function, an RTF file is created that retains most of the paragraph and character formatting of the original text.

Any variable symbols in the ITF text are replaced. INCLUDEs and control structures are resolved and comments ignored.

If a document template has been specified, the relevant SAPscript formats (form or style) are converted to this template.

For more information, see SAPscript Format Conversion.

Prerequisites

RTF files can be imported smoothly into modern word processing programs. However, some preliminary actions are required for older DOS programs.

For example, in Microsoft Word (from Version 5.0) on the operating systems MS-DOS or OS/2, the RTF file has to be converted to a Word text file together with a document template with the following command:

Importing RTF files to Microsoft Word

Operating System

Conversion Commands

MS-DOS

rtf_dos file1.rtf file2.txt file3.dfv /o/c

rtf_dos file1.rtf file2.txt file3.dfv /o/m

OS/2

rtf_os2 file1.rtf file2.txt file3.dfv /o/c

rtf_os2 file1.rtf file2.txt file3.dfv /o/m

/o

If file2.txt already exists, overwriting takes place without confirmation.

/c

The new document template file3.dfv is created.

/m

Document template file3.dfv already exists and may be modified.

Procedure

  1. Choose Start of the navigation pathText Next navigation step DownloadEnd of the navigation path. The dialog window Download appears.

  2. Select Rich Text Format (RTF) and choose Transfer.

  3. Enter the complete file path, the document template, and the form or style.

  4. Choose Transfer.

RTF Import

Prerequisites

You must have created the source text with a document template and saved it as an RTF file. A form or style whose paragraph and character formats match the document template must exist in the SAP system. If this is not the case or if it is not possible, perhaps because the descriptions in the document template are different, it is still possible to specify a format conversion.

For more information, see SAPscript Format Conversion.

Procedure

  1. Choose Start of the navigation pathText Next navigation step UploadEnd of the navigation path. The dialog window Upload appears.

  2. Select Rich Text Format (RTF) and choose Transfer.

  3. Enter the complete file path and the document template.

  4. Choose Transfer.