MS Word as Editor in SAPscript and Smart Forms 0000742662

7
8/11/2019 MS Word as Editor in SAPscript and Smart Forms 0000742662 http://slidepdf.com/reader/full/ms-word-as-editor-in-sapscript-and-smart-forms-0000742662 1/7 SAP Note Header Data Symptom You want to use Microsoft Word as Editor for SAPscript or Smart Forms. Other Terms PC Editor, Line Editor, Word Processing in the SAPscript Editor, SAPscript, Smart Forms, Microsoft Word, creating Hebrew texts, Unicode system, non-Unicode system Reason and Prerequisites Release Status In Unicode systems the MS Word Editor is released for all customers. In non-Unicode systems the MS Word Editor is released for all customers using the BiDi functionality (language Hebrew). In non-Unicode single code page systems without BiDi functionality the MS Word Editor may also been enabled via report RSCPINST (see below under 'solution'). In MDMP systems the MS Word Editor is not supported. SAP assumes no responsibility or liability of any or all problems that may arise from a usage that has not been approved. You can apply the relevant support package. Note: The minimum support package levels including MS Word as SAPscript Editor implementation are: l SAP_BASIS 6.20 Support Package 42 or l SAP NetWeaver 2004 Support Package 05 Solution Please note: As of release SAP NW 7.0, enhancement package 1 and SAP NW 7.10 SP 05 the MS Word Editor is the only graphical editor available. You do not need to enable the editor and also cannot disable it. For prior releases have a look her: Before you can use the MS Word Editor you must enable this feature in system. Call transaction I18N and go to I18N Customizing -> MS Word as Editor. Choose the Help-Button and follow the instructions. If transaction I18N is not available in your system yet (see SAP Note 848036), you can also enable this feature via program RSCPINST. Call transaction SE38, enter program RSCPINST and press F8. On the next screen, select Goto -> Set MS Word as Editor. Note: l Support packages >= SAPKB62060 or SAPKB64018 or SAPKB70009: ¡ In 'Option', there is a 'Multi-Character Format Support' checkbox. It improves the point 7 of the restriction section of this note. If this is checked, the character formats are sent from ITF->RTF as hidden text, but there is no real DB data change since the hidden text is filtered from RTF->ITF. This approach just makes it possible to retrieve the multi character formats in ITF during ITF<->RTF. ¡ The hidden text can be shown or hidden depending on the user preference. In menu bar of MS Word, you can see a button looks like '¶(Icon of Paragraph)', it displays as 'Show/Hide ¶ (Icon of Paragraph)'. This flag can be also depending on your settings under Tools/Options/View/Formatting marks. ¡ Currently, this approach is in pilot phase, when you want to try this approach, please contact component BC-SRV-SCR . l Support packages lower than SAPKB62049 or SAPKB64011: 742662 - MS Word as Editor in SAPscript and Smart Forms Version 33 Validity:  25.02.2010 - active Language English (Master) Released On 25.02.2010 16:41:00 Release Status Released for Customer Component BC-SRV-SCR SAPscript Priority Recommendations / Additional Info Category Consulting

Transcript of MS Word as Editor in SAPscript and Smart Forms 0000742662

Page 1: MS Word as Editor in SAPscript and Smart Forms 0000742662

8/11/2019 MS Word as Editor in SAPscript and Smart Forms 0000742662

http://slidepdf.com/reader/full/ms-word-as-editor-in-sapscript-and-smart-forms-0000742662 1/7

SAP Note 

Header Data

Symptom 

You want to use Microsoft Word as Editor for SAPscript or Smart Forms.

Other Terms 

PC Editor, Line Editor, Word Processing in the SAPscript Editor, SAPscript, Smart Forms, MicrosoftWord, creating Hebrew texts, Unicode system, non-Unicode system

Reason and Prerequisites 

Release StatusIn Unicode systems the MS Word Editor is released for all customers.In non-Unicode systems the MS Word Editor is released for all customers using the BiDi functionality(language Hebrew).In non-Unicode single code page systems without BiDi functionality the MS Word Editor may also beenenabled via report RSCPINST (see below under 'solution').In MDMP systems the MS Word Editor is not supported.SAP assumes no responsibility or liability of any or all problems that may arise from a usage thathas not been approved.

You can apply the relevant support package.

Note: The minimum support package levels including MS Word as SAPscript Editor implementation are:

l SAP_BASIS 6.20 Support Package 42 or

l SAP NetWeaver 2004 Support Package 05

Solution 

Please note: As of release SAP NW 7.0, enhancement package 1 and SAP NW 7.10 SP 05 the MS WordEditor is the only graphical editor available.You do not need to enable the editor and also cannot disable it.

For prior releases have a look her:Before you can use the MS Word Editor you must enable this feature in system.

Call transaction I18N and go to I18N Customizing -> MS Word as Editor. Choose the Help-Button andfollow the instructions.

If transaction I18N is not available in your system yet (see SAP Note 848036), you can also enablethis feature via program RSCPINST. Call transaction SE38, enter program RSCPINST and press F8. Onthe next screen, select Goto -> Set MS Word as Editor.Note:

l Support packages >= SAPKB62060 or SAPKB64018 or SAPKB70009:

¡ In 'Option', there is a 'Multi-Character Format Support' checkbox. It improves the point 7of the restriction section of this note. If this is checked, the character formats are sentfrom ITF->RTF as hidden text, but there is no real DB data change since the hidden text isfiltered from RTF->ITF. This approach just makes it possible to retrieve the multi characterformats in ITF during ITF<->RTF.

¡ The hidden text can be shown or hidden depending on the user preference. In menu bar of MS

Word, you can see a button looks like '¶(Icon of Paragraph)', it displays as 'Show/Hide ¶(Icon of Paragraph)'. This flag can be also depending on your settings underTools/Options/View/Formatting marks.

¡ Currently, this approach is in pilot phase, when you want to try this approach, pleasecontact component BC-SRV-SCR .

l Support packages lower than SAPKB62049 or SAPKB64011:

742662 - MS Word as Editor in SAPscript and Smart Forms 

Version  33 Validity: 25.02.2010 - active Language  English (Master)

Released On  25.02.2010 16:41:00

Release Status Released for Customer

Component  BC-SRV-SCR SAPscript

Priority  Recommendations / Additional InfoCategory  Consulting

Page 2: MS Word as Editor in SAPscript and Smart Forms 0000742662

8/11/2019 MS Word as Editor in SAPscript and Smart Forms 0000742662

http://slidepdf.com/reader/full/ms-word-as-editor-in-sapscript-and-smart-forms-0000742662 2/7

  On the next screen, select Goto -> Set MS Word as SAPscript Editor. Select checkbox MSWord and press 'Activate'. This setting applies to SAPscript and Smart Forms transactions.

l Support packages SAPKB62049 or SAPKB64011 and higher:

On the next screen, select Goto -> Set MS Word as Editor. Select checkbox SAPscript/SmartForms and press 'Activate'. The setting for Smart Forms applies to transaction SMARTFORMS only; thesetting for SAPscript applies for SAPscript transactions.

MS Word as Editor works both in non-Unicode systems and Unicode systems.

l The minimum support packages to use new code page 8805 for MS Word as SAPscript editor to editVietnamese texts are:

¡ Web Application Server 6.20 Support Package 58 or

¡ Web Application Server 6.40 Support Package 16 or

¡ Web Application Server 7.00 Support Package 07

Note: Restrictions in non-Unicode Systems 

l With support package lower than SAPKB62049 or SAPKB64011, program RSCPINST limits the MS WordEditor to language Hebrew only. If you want to use the MS Word Editor for other languages,please execute program RSCPSETEDITOR. The steps are the same as the steps of program RSCPINST.

l With support packages lower than SAPKB62045 or SAPKB64010, function NLS_WORD_ENABLE also limitsthe MS Word Editor to language Hebrew only. If you want to use MS Word as editor for otherlanguages, please use nls_word_enable.txt which is attached to this Note to modify the functionin the system.

l For the language Hebrew in non-Unicode systems, MS Word as Editor works only if the code page1810 is used instead of 1800. However, 1810 is an SAP blended code page and is therefore onlysupported for existing installations and up to release 6.40 (see also note 73606). In release7.xx and higher and for new installations use a Unicode system.

Background: Code page 1810 includes the two BIDI control characters which are used in theimplementation. You can check the current system code page using report RSCP0013.

The MS Word Editor replaces the PC Editor; the Line Editor can still be used in SAPscript.Please note the restrictions of the MS Word Editor in section The Microsoft

 

Word Editor.In Unicode Systems the MS Word Editor is available for all languages which are installed in thesystem. Read SAP Note 42305 for information about how to install languages in SAP systems.

You can also disable the MS Word Editor: 

l With support packages lower than SAPKB62049 or SAPKB64011, deselect checkbox MS Word and presspushbutton 'Activate' again.

l With support packages SAPKB62049 or SAPKB64011 and higher deselect checkbox SAPscript/SmartForms and press pushbutton 'Activate' again.

For further information about how to use the MS Word Editor and the restrictions of the MS WordEditor, please read the following section.

The Microsoft 

Word Editor You use the Microsoft® Word Editor (MS Word Editor) to create and edit:

¡ SAPscript texts

¡ Smart Forms texts

Integration 

You can use the MS Word Editor for all languages which are installed in the system. This applies forboth Unicode and non-Unicode systems.Non-Unicode Systems Note that Microsoft® Word supports all Unicode characters. This means that Unicode text data can beentered in the MS Word Editor, but characters which are not supported by the system code page of theapplication server will be filtered when saving the text in the system.Example:You write an English text in a non-Unicode Latin-1 system (character setISO8859-1). All text datawill be converted to ISO8859-1. If you enter a character which is not included in ISO8859-1 (forexample a Japanese character) it will be replaced by '#' during the conversion and displayed '#'after the text has been saved to the database. So, make sure you use only characters which aresupported by your system code page! Save the text to the database to make sure that a character issupported.

Prerequisites 

You use MS Office 2000 or newer or MS Office XP. The MS Word Editor has been installed and activatedin the system (if not, contact your system administrator).Platform On your front-end, either Windows 200x or Windows XP is installed as operating system.Language Settings on the PC 

l Windows 200x: Choose Start -> Control Panel -> Regional Options -> tabstrip 'General'.In section"Language Settings for the System" select the languages you want to use. Select tabstrip 'InputLocales'. Select an input language and press 'Add'. Select the keyboard layout and press'Apply'. Proceed the same way with other languages you want to install and afterwards press OK.

Page 3: MS Word as Editor in SAPscript and Smart Forms 0000742662

8/11/2019 MS Word as Editor in SAPscript and Smart Forms 0000742662

http://slidepdf.com/reader/full/ms-word-as-editor-in-sapscript-and-smart-forms-0000742662 3/7

l Windows XP: Choose Start -> Control Panel -> Regional and Language Options -> tabstrip'Languages'. Select the checkboxes in section "supplemental language support". Press pushbutton'Details' in section "text services und input languages". Select an input language and thekeyboard layout and then press 'Apply'. Proceed the same way with other languages you want toinstall and afterwards press OK.

Language Settings in Microsoft Office When you use languages from non-Latin-1 code pages, the languages should be enabled in the MS Officelanguage settings. Choose Programs -> Microsoft Office XXXX -> Microsoft Office Tools -> MicrosoftOffice XXXX Language Settings. Check 'Enabled languages'. Add all missing languages which you wantto use (for example Arabic).Security The security level must be set to "Medium" and all installed add-ins and templates must be accepted.In the MS Word Editor menu go to Tools -> Macros -> Security.Functionality 

With the MS Word Editor the relevant functions of the text processing program Microsoft® Word areavailable:

l Copy, Cut and Paste

l Insert text from clipboard

l Find and Replace

l Repeat and Undo Actions

l Spelling, Grammar and Thesaurus

l Use of SAP Styles and SAP Formatting

l Translation

If Adobe® Acrobat is installed on your PC, you can convert SAPscript standard texts and Smart Formstext modules to Portable Document Format (PDF). If you use MS® Office 2003, you can convertSAPscript standard texts and Smart Forms text modules to Microsoft Document Imaging (MDI) and to XMLformat.Activities 

l If you use SAPscript, the system automatically opens the Line Editor in the correspondingapplication. To switch to the MS Word Editor choose Goto -> Change Editor in the Line Editormenu.

l If you use the Smart Forms, open the text module you want to create or change and then press thebutton for the text editor to open the MS Word Editor.

Differences and Restrictions 

Comparing to PC editor, there are some differences:

1. Some menu items are not available. Most of these items required the current cursor positionin the text or the current formatting information at the cursor position. E.g. it is notpossible to change the command at the current cursor position with menu item 'Edit' /'Command' / 'Change Command...' .

2. In MS Word it is possible to change symbols and commands which are displayed with a graybackground. Some changes in symbols and commands, especially when using ITF-syntax, specialcharacters, or entering text that is longer than one line, will cause problems in the conversionof the text back to the SAPscript format ITF as there is no syntax check for symbols in MS Word.A symbol in a command line in ITF will get corrupted by the conversion to RTF.

3. It is not possible to change to another text (menu item 'Text' / 'Other text...') or savetext (menu item 'Text' / 'Save As...') using a different language than the current textlanguage.

4. Unlike other editors in SAP systems, the MS Word integration does not provide a differentbackground color in display mode than in change mode.

The feature for MS Word here is SAPscript editor, so some standard MS Word functionalities arerestricted:

5. Pasting text from the clipboard or dropping objects into MS Word can include many objectslike graphics, hyperlinks, tables, number lists, etc. These objects are displayed in MS Word butare lost after saving the text because the SAPscript text format ITF does not support theseobjects. In some cases these objects can even occur in the resulting ITF text, which is notvalid anymore. Importing such objects (through clipboard or using drag&drop) should be avoided.

6. You can only use the paragraph and character formats that are defined in the style sheet orform of ITF that is used by the text. The built-in MS Word format or other user created formatcannot be used. For example, the style list in MS Word contains standard styles (like 'Heading1', 'Normal', etc.) that cannot be converted back to ITF correctly. Please use only theSAPscript styles that are listed in the MS Word style list.As of MS Word XP most of thesestandard styles are removed from the MS Word style list.

7. Opening an existing ITF text with MS Word in edit mode and leaving it without any changesmade to the text may lead to changes in ITF due to conversion to RTF and back. The user will beprompted to save the changes although no action in MS Word has been taken. Known reasons forthis are for example:

¡ Combined character formats in ITF, e.g. bold and italic, will be displayed correctly in MSWord but the conversion back to ITF will skip one of the formats.

Page 4: MS Word as Editor in SAPscript and Smart Forms 0000742662

8/11/2019 MS Word as Editor in SAPscript and Smart Forms 0000742662

http://slidepdf.com/reader/full/ms-word-as-editor-in-sapscript-and-smart-forms-0000742662 4/7

¡ A character sequence in ITF with leading '<' and trailing '>' not representing a format willbe marked with a ITF escape sequence, i.e. '<(>' and '<)>'.

8. The SAPscript text format (ITF) does not support underlined tabulator chars in general. Buttabulators in underlined paragraph/character formats are shown as underlined by MS Word. TheSAPscript ITF-text generated from MS Word however will be processed and printed with nounderlined tabulators regardless of what can be shown in the MS Word as SAPscript Editor.

9. Using MS Word to put formatted text into a comment/command line should be avoided as ITFcannot handle such formats and the conversion from RTF to ITF therefore will run into errors.

10. Bold, italic and underline are so called 'toggle' settings in MS Word. This means that e.g.if a paragraph is formatted using a paragraph format that has bold setting and you want toformat some selected text in this paragraph with a character format that also has bold setting,you would then see the text to be not bold! After saving and reloading the text it is displayed

as bold again as you would expect.

11. The conversion of numbered lists from SAPscript to the MS Word or to thePC editor andbackwards may not always work as SAPscript offers more functionality than the MS Word or the PCeditor. The use of SAPscript format conversions (transaction SE74) will help in some cases.

Related notes and corrections 

l Release 6.20:

¡ Support Package SAPKB62042:

Notes: 742662, 765450 

¡ Support Package SAPKB62043:

Notes: 742662 

¡ Support Package SAPKB62045:

Notes: 742662, 774916 

¡ Support Package SAPKB62047:

Notes: 791446 

¡ Support Package SAPKB62048:

Notes: 742662 

¡ Support Package SAPKB62049:

Notes: 742662, 809137, 811761 

¡ Support Package SAPKB62050:

Notes: 815687, 822738, 823474, 823727, 824125 

¡ Support Package SAPKB62051:

Notes: 825813, 826532 

¡ Support Package SAPKB62054:

Notes: 858241 

l Release 6.40:

¡ Support Package SAPKB64005:

Notes: 742662, 765450 

¡ Support Package SAPKB64010:

Notes: 742662, 774916 

¡ Support Package SAPKB64011:

Notes: 742662, 791446, 809137, 811761 

¡ Support Package SAPKB64012:

Notes: 815687, 822738, 823474, 823727, 824125, 825813, 826532 

¡ Support Package SAPKB64014:

Notes: 858241 

l Release 7.00:

¡ Support Package SAPKB70001:

Page 5: MS Word as Editor in SAPscript and Smart Forms 0000742662

8/11/2019 MS Word as Editor in SAPscript and Smart Forms 0000742662

http://slidepdf.com/reader/full/ms-word-as-editor-in-sapscript-and-smart-forms-0000742662 5/7

  Notes: 825813, 826532 

¡ Support Package SAPKB70004:

Notes: 858241 

Validity

Causes - Side Effects

Support Packages & Patches

Software Component From Rel. To Rel. And Subsequent

SAP_BASIS  620  640 

700  701  

710  710  

Notes / Patches corrected with this note

Note Reason From Version To Version Note Solution Version Support Package

The table does not contain any entries

The following SAP Notes correct this Note / Patch

Note Reason From Version To Version Note Solution Version Support Package

742662 0 0 877685 1

742662 0 0 859198 1

742662 0 0 859109 1

742662 0 0 855967 4

742662 0 0 840362 1

742662 0 0 832091 1

742662 0 0 826532 1

742662 0 0 825813 1

742662 0 0 824125 1

742662 0 0 823727 1

742662 0 0 823474 1

742662 0 0 822738 1

742662 0 0 818080 2

742662 0 0 815687 1

742662 0 0 811761 2

742662 0 0 791446 1

742662 0 0 776347 2

742662 0 0 774916 2

742662 0 0 765450 2

Support Packages

Software Component Release Support Package

SAP_BASIS  620  SAPKB62064

 620  SAPKB62062

 620  SAPKB62060

 620  SAPKB62058

 620  SAPKB62055

 620  SAPKB62053

 620  SAPKB62052

 620  SAPKB62049

 620  SAPKB62042

 620  SAPKB62043

 620  SAPKB62045

 620  SAPKB62048

 640  SAPKB64020

 640  SAPKB64005

 640  SAPKB64022

 640  SAPKB64018

 640  SAPKB64016

 640  SAPKB64015

Page 6: MS Word as Editor in SAPscript and Smart Forms 0000742662

8/11/2019 MS Word as Editor in SAPscript and Smart Forms 0000742662

http://slidepdf.com/reader/full/ms-word-as-editor-in-sapscript-and-smart-forms-0000742662 6/7

References

This document refers to:

SAP Notes 

This document is referenced by:

SAP Notes (29) 

640  SAPKB64013

 640  SAPKB64010

 640  SAPKB64014

 640  SAPKB64011

 700  SAPKB70015

 700  SAPKB70011

 700  SAPKB70002

 700  SAPKB70009

 700  SAPKB70005

 700  SAPKB70003

 701  SAPKB70101

 710  SAPKB71005

1459941 System error when you create new report bodies 

1319517 Unicode Collection Note 

964987 MS Word as SAPscript/Smart Forms editor: multi char formats 

895560 Support for languages only available in Unicode systems 

875968 MSWord as SAPScript editor: short dump in itf_newpara_new 861728 MS Word in SAPscript: Performance, paragraph format display 

859343 MSWord in SAPScript, space gets deleted in BIDI languages 

859341 MSWord in SAPScript,unnecessary chars are added in BIDI text 

859200 MSWord as SAPScript editor:para. format used as char format 

858241 MS Word in SAPscript: Application control instead of MS Word 

855967 Corrections of MSWord as SAPScript editor and performance 

827056 MS WORD as a long text editor for phrase items 

826532 MS Word in SAPscript: Saving in another language 

825813 MS Word in SAPscript: Missing confirmation after changes 

822738 MS Word in SAPScript: Toggle change/display mode 

818080 MS Word in SAPscript/Smart Forms: Template not found 

815687 Inserting SAP symbols and SAP icons in MS Word 

809137 Corrections of MSWord as SAPScript editor Implementation 

791446 Short dump CONVT_NO_NUMBER when you use MS Word 

789080 MSWord as SAPScript editor for RTL languages 

776347 Corrections: MS Word in SAPscript and Smart Forms 

685023 Material numbers must be left-to-right 

614550 Troubleshooting BC-I18 

587150 Support of Arabic-script languages 

548016 Conversion to Unicode 

42305 RSCPINST (I18N configuration tool) 

858241 MS Word in SAPscript: Application control instead of MS Word 

859200 MSWord as SAPScript editor:para. format used as char format 

859341 MSWord in SAPScript,unnecessary chars are added in BIDI text 

859343 MSWord in SAPScript, space gets deleted in BIDI languages 

861728 MS Word in SAPscript: Performance, paragraph format display 

776347 Corrections: MS Word in SAPscript and Smart Forms 

895560 Support for languages only available in Unicode systems 

587150 Support of Arabic-script languages 

1295543 Characters in long texts are not displayed correctly 

1021948 TR CA01: Incorrect long text and short text. 

964987 MS Word as SAPscript/Smart Forms editor: multi char formats 

614550 Troubleshooting BC-I18 

875968 MSWord as SAPScript editor: short dump in itf_newpara_new 789080 MSWord as SAPScript editor for RTL languages 

791446 Short dump CONVT_NO_NUMBER when you use MS Word 

548016 Conversion to Unicode 

855967 Corrections of MSWord as SAPScript editor and performance 

42305 RSCPINST (I18N configuration tool) 

809137 Corrections of MSWord as SAPScript editor Implementation 

1319517 Unicode Collection Note 

Page 7: MS Word as Editor in SAPscript and Smart Forms 0000742662

8/11/2019 MS Word as Editor in SAPscript and Smart Forms 0000742662

http://slidepdf.com/reader/full/ms-word-as-editor-in-sapscript-and-smart-forms-0000742662 7/7

 

Attachments

815687 Inserting SAP symbols and SAP icons in MS Word 

818080 MS Word in SAPscript/Smart Forms: Template not found 

1459941 System error when you create new report bodies 

822738 MS Word in SAPScript: Toggle change/display mode 

1066952 Working with legacy data files in LSMW (Unicode, BOM, FTP) 

825813 MS Word in SAPscript: Missing confirmation after changes 

826532 MS Word in SAPscript: Saving in another language 

827056 MS WORD as a long text editor for phrase items 

685023 Material numbers must be left-to-right 

File Name File Size (KB) Mime Type

nls_word_enable.TXT  1  text/plain