2009 Jul 21 2:29 PM
Hi all,
My requirement is to give two options. User can open Text Editor OR MS Word Editor from screen. Text/any data entered on this will then be saved.
Can anyone help me regarding this?
Thanks a lot in advance.
Best Regards,
Prasad
or design a screen with such addition.
2009 Jul 21 2:30 PM
Hi,
Where do you want data to be saved? In SAP or on a file server.
Regards;
Hartmut
2009 Jul 21 2:36 PM
Hi,
You can use the method execute in CL_FRONTEND_SERVICES, and just pass the file name to the parameter document.
call method cl_gui_frontend_services=>execute
exporting
document = 'c:\test.doc'.
Regards,
Vimal
2009 Jul 21 2:46 PM
Hi,
check SAPRDEMODOCUMENTCONTAINER and RSOLETT1 programs.
You can switch between word and text_editor in your code.
Frisoni
2009 Jul 22 7:10 AM
2009 Jul 22 7:16 AM
USE FM GUI_RUN. (this is obsolete though) 😛 😛
u can pass command = 'WINWORD' to this FM and this will trigger word.
u can use CL_GUI_frontend_services->execute as the same routine as above
2009 Jul 22 7:18 AM
2009 Jul 22 7:31 AM
Prasad,
Pls. go through below link.
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/204d1bb8-489d-2910-d0b5-cdddb3227820]
Regards,
2009 Dec 11 5:16 AM
Thanks a lot.
I am closing the thread now.
Best Regards,
Prasad
2009 Dec 11 5:36 AM
Thanks a lot.
I am closing the thread now.
Best Regards,
Prasad
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |