‎2007 May 04 9:30 AM
Can someone provide a function module to accept a long text input and it will display it in a pop up screen where it can edited further? And also with a capability to save, send to email the long text inputted?
‎2007 May 04 9:52 AM
Hi Ryan,
a little bit old is
FUNCTION 'TXW_TEXTNOTE_EDIT'
I remember it is easy to handle. For whatever reason today I use class cl_gui_textedit. If you feel comfortable with OO, go for it.
Regards,
Clemens
‎2007 May 04 9:36 AM
Hi Ryan,
you can use the SAVE_TEXT and READ_TEXT function modules. All long text in the system is stored this way. You can create custom Text Object/ids via transaction SE75.
text will be stored in STXH & STXL tables.
to identify any standard text , you need the below fields
1.TEXT NAME
2. ID
3. OBJECT
4. LANGUAGE
normally we use READ_TEXT to fetch the text & SAVE_TEXT to save the text.
for these function modules, we have to pass the above field values.
to create a standard text we use S010 transaction.
for further help, go thru the link
Thanks.
Reward If Helpful.
‎2007 May 04 9:42 AM
Hi Viji,
My long text will not be saved to any object in SAP (i.e. PO, Notification, Contract and the likes). We will save it as a BDS attachment. And also I can not use READ_TEXT since the long text must be populate by the program. Im saying it is a long text because it should accept text in a Letter Type form and it should be scrollable. Please help. If no possible FM to be reused. Maybe you can help me out on the screen element to be used to accept long text as an input and should be scrollable. Thanks.
‎2007 May 04 9:52 AM
Hi Ryan,
a little bit old is
FUNCTION 'TXW_TEXTNOTE_EDIT'
I remember it is easy to handle. For whatever reason today I use class cl_gui_textedit. If you feel comfortable with OO, go for it.
Regards,
Clemens
‎2007 May 04 10:39 AM
Hello Clemens,
Thanks a lot. I now have the options. I think I will use the OOP one. Thanks.