Application Development 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: 

To call Sap Standard Text Editor

nishanthbhandar
Contributor
0 Kudos

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..

1 ACCEPTED SOLUTION

Vinod_Chandran
Active Contributor
0 Kudos

Try to use EDITOR_CALL or CALL_EDITOR (Not sure which one).

7 REPLIES 7

Vinod_Chandran
Active Contributor
0 Kudos

Try to use EDITOR_CALL or CALL_EDITOR (Not sure which one).

Former Member
0 Kudos

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

andreas_mann3
Active Contributor
0 Kudos

Hi,

try to use class CL_GUI_TEXTEDIT - it's simple !

samples:

SAPTEXTEDIT_DEMO_1 - SAPTEXTEDIT_DEMO_3

regards Andreas

nishanthbhandar
Contributor
0 Kudos

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.

0 Kudos

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

0 Kudos

Hello,

you can use the Function module EDIT_TEXT.

With this function module you can open the fullscreen editor.

Greetings

Frank Brackmann

0 Kudos

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.