07-15-2005 11:27 AM
Hi all,
I have placed a custom container and placed a text editor in it. Now i need to place a push button beside it and if i press it i have to get SAP Standard Text editor, with what ever contents are there in my text editor. and what ever i have entered in SAP Standard text editor and press back it has to come and sit in my Text editor screen.
This i'm doing for Notification in IW51...so they are related with Text Objects that i have created for QMEL through SE75.
Please let me know if there is any function module that i can use..
07-15-2005 11:31 AM
07-15-2005 11:31 AM
07-15-2005 11:32 AM
Hi,
please have a look in the function group STXD.
There you find the function-modules
(eg: READ_TEXT,EDIT_TEXT,SAVE_TEXT) for solving your problem.
Greetings
Frank Brackmann
07-15-2005 11:56 AM
Hi,
try to use class CL_GUI_TEXTEDIT - it's simple !
samples:
SAPTEXTEDIT_DEMO_1 - SAPTEXTEDIT_DEMO_3
regards Andreas
07-15-2005 1:07 PM
Hi,
Thanks for your Response..
I have already used the class CL_GUI_TEXTEDIT and the other function modules READ_TEXT & CREATE_TEXT etc. to get the text entered and save it for particular Object number in QMEL Object.
Now i have a small Text Editor. I want to go to Standard SAP Text Editor (Which will come in full screen) if we click on a command button. Which will also take of the Object Number, and Object Like 'QMEL' so that what ever text i entered there have to come back into the mini Text Editor.
Thanks
Nishanth.
07-15-2005 1:27 PM
Check out this sample....
report zrich_0001 no standard page heading..
types: t_source(72).
data: isource type table of t_source,
xsource type t_source.
xsource = 'This is text line 1'. append xsource to isource.
xsource = 'This is text line 2'. append xsource to isource.
xsource = 'This is text line 3'. append xsource to isource.
xsource = 'This is text line 4'. append xsource to isource.
xsource = 'This is text line 5'. append xsource to isource.
editor-call for isource.
Loop at isource into xsource.
Write:/ xsource.
endloop.
Regards,
Rich Heilman
07-18-2005 7:32 AM
Hello,
you can use the Function module EDIT_TEXT.
With this function module you can open the fullscreen editor.
Greetings
Frank Brackmann
10-10-2009 9:47 PM
Hi Nishanth,
I have got similar object in QM01 transaction and I am stuck for 2 weeks on this. I have created the text editor using the container class. Also, I have created the pushbutton but I am not able to do to and fro data from the text editor to standard text editor and vice-versa.
Can you please post the way you have done it or if possible, the code on this thread.
Thanks,
Sangeeta.