cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with TEXTEDIT

sathish_perumal
Active Participant
0 Kudos

Hi,

I am using TextEdit control in module pool using CL_GUI_TEXTEDIT class. But when I try to retrieve the text using GET_TEXT_AS_STREAM, subrc value is 0, but it is not retrieving the text.

If any of you have a solution, please share it.

Regards,

Sathish

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi satish

u can use methods

GET_TEXT_AS_R3TABLE, with SET_TEXT_AS_R3TABLE

GET_TEXT_AS_STREAM, with SET_TEXT_AS_STREAM.

i hope it will help u out.

from

chetan vishnoi

sathish_perumal
Active Participant
0 Kudos

Hi,

I solved this problem using the same method. It is something todo with object creation.

Thanks a lot for response.

Regards,

Sathish

laxmanakumar_appana
Active Contributor
0 Kudos

Hi,

Use method : get_text_as_r3table to get the text.

Code :

DATA : text_table(255) TYPE C OCCURS 0.

CALL METHOD text_editor->get_text_as_r3table

IMPORTING

table = text_table.

Laxman

Manohar2u
Active Contributor
0 Kudos