Start of Content Area

Procedure documentation RTF Export and RTF Import  Locate the document in its SAP Library structure

RTF Export

Use

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 Text ® Download.
The Download dialog box 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.

Note

This conversion was also developed for Word from 5.0. For RTF files created with WinWord 2.0 it is not possible to transfer character formats. This is only possible again from WinWord 6.0. However, if a text written with WinWord 2.0 is stored as an RTF file and imported to SAPscript, character formats cannot be converted. Character formats in WinWord 6.0 can only be specified with a format, never using Word buttons. Otherwise, you may encounter a loss of text in the text you import into SAPscript, up to and including Release 2.1K/2.2E. In later releases, these character formats themselves cannot be transferred.

For more information, see SAPscript Format Conversion.

Procedure

...

       1.      Choose Text ® Upload.
The Upload dialog box appears.

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

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

       4.      Choose Transfer.

 

 

End of Content Area