Application Development and Automation 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: 
Read only

TEXT OBJECT

Former Member
0 Likes
994

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.

1 ACCEPTED SOLUTION
Read only

athavanraja
Active Contributor
0 Likes
964

you need to use class

CL_GUI_TEXTEDIT

ref. demo program

SAPTEXTEDIT_DEMO_3

Raja

8 REPLIES 8
Read only

athavanraja
Active Contributor
0 Likes
965

you need to use class

CL_GUI_TEXTEDIT

ref. demo program

SAPTEXTEDIT_DEMO_3

Raja

Read only

0 Likes
964

hey,

i wana create tetxt obj like EKKO, EKPO in the table TTXOB.

Read only

0 Likes
964

Hi Santosh.

Try the tcode: FZW5

Regards,

Ravi

Read only

0 Likes
964

Thanks ravi.

but its throwing an error message

Table cannot be edited using the old standard maintenance

Read only

0 Likes
964

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

Read only

0 Likes
964

thanks a lot ravi.

Read only

anversha_s
Active Contributor
0 Likes
964

hi,

check this link,for more info

Rgds

Anver

Read only

Former Member
0 Likes
964

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