Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding sapcscript editor / msmword-editor call

Former Member
0 Likes
734

Hello,

i got a smiple requirement, to edit a long text in my custom-report.

therefore i want to call the msword-editor.

1. Option i tried is to do this via FM EDIT_TEXT.

this opens the ms-word-editor.

The problem is, that via this call, i got no save-Button. as far as i know, this is due to the Customizing in  Transaction SE75 (RBKP is set to Background-processing that leads the editor not to let the user save the text manually)


2. Option i tried is to use the class cl_gui_sapscript_editor.

But this does not open the ms-word-editor. this just opens a normal SAP-Editor.


Now my question is how to get the ms-word-editor with save button (for the standard Object RBKP).

are there any FMs /classes that i can use. is there an option to call the msword editor from class cl_gui_sapscript_editor as well?


I searched here in SCN but didnt find any information about this.

regards

Stefan Seeburger

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
643

Hello,

looks like CL_GUI_SAPSCRIPT_EDITOR was the wrong class since it only calls a normal sap editor.

with class CL_WORD_SAPSCRIPT_EDITOR i get the msword editor.

issue is solved. save button can be used, since im ignoring the cu for Object RBKP

regards

Stefan Seeburger

Hello,

i got a smiple requirement, to edit a long text in my custom-report.

therefore i want to call the msword-editor.

1. Option i tried is to do this via FM EDIT_TEXT.

this opens the ms-word-editor.

The problem is, that via this call, i got no save-Button. as far as i know, this is due to the Customizing in  Transaction SE75 (RBKP is set to Background-processing that leads the editor not to let the user save the text manually)


2. Option i tried is to use the class cl_gui_sapscript_editor.

But this does not open the ms-word-editor. this just opens a normal SAP-Editor.


Now my question is how to get the ms-word-editor with save button (for the standard Object RBKP).

are there any FMs /classes that i can use. is there an option to call the msword editor from class cl_gui_sapscript_editor as well?


I searched here in SCN but didnt find any information about this.

regards

Stefan Seeburger

1 REPLY 1
Read only

Former Member
0 Likes
644

Hello,

looks like CL_GUI_SAPSCRIPT_EDITOR was the wrong class since it only calls a normal sap editor.

with class CL_WORD_SAPSCRIPT_EDITOR i get the msword editor.

issue is solved. save button can be used, since im ignoring the cu for Object RBKP

regards

Stefan Seeburger