‎2007 Jan 29 7:25 AM
Hi all,
I have created a notepad and from this i wana save text text entered into this notepad through SAVE_TEXT but i need to create a Text Object for that. How do i do it?? Cn any 1plzz hint me abt tht.
Thanks n regards,
Santosh KOTRA.
‎2007 Jan 29 7:30 AM
you need to use class
CL_GUI_TEXTEDIT
ref. demo program
SAPTEXTEDIT_DEMO_3
Raja
‎2007 Jan 29 7:30 AM
you need to use class
CL_GUI_TEXTEDIT
ref. demo program
SAPTEXTEDIT_DEMO_3
Raja
‎2007 Jan 29 8:09 AM
hey,
i wana create tetxt obj like EKKO, EKPO in the table TTXOB.
‎2007 Jan 29 8:12 AM
‎2007 Jan 29 8:21 AM
Thanks ravi.
but its throwing an error message
Table cannot be edited using the old standard maintenance
‎2007 Jan 29 8:28 AM
Hi,
You can create the text objects through SM30 table maintenance V_TTXOBI for the table you mentioned and subsequently create texts through CREATE_TEXT or SAVE_TEXT as discussed.
Rgds,
Aditya
‎2007 Jan 29 9:25 AM
‎2007 Jan 29 7:32 AM
‎2007 Jan 29 7:38 AM
Hi Santosh,
I guess you are trying to save the text as a standard SO10 text. If so, the function module will create the text for you also when you call SAVE_TEXT. Here is the function module documentation fyi:
SAPscript: Save text
The function module writes a text module to the text file or text memory, depending on the specific text object.
The module can be used to change existing texts and to <b>create new texts</b>. <b>If it is clear that it is a new text, this can be specified via the parameter INSERT.</b> The result is better performance as a test read is not performed.
It will create a new text with the pre-defined text name you mention/pass to the FM in header import parameter.
Hope this helps.
Rgds,
Aditya