05-15-2006 11:57 AM
Hi
if anybody can give me link or any code giving how to transfer text from text control to table and vice versa, that will be of great help to me
THanks in advance
05-15-2006 11:58 AM
hi,
use method get_text_as_r3table / SET_TEXT_AS_R3TABLE
and look demo-program SAPTEXTEDIT_DEMO_3
Andreas
05-15-2006 11:59 AM
05-15-2006 12:02 PM
Hi Kishan
m not talking about table control
m using class cl_gui_textedit and talking about transfer of texts and not data
if u no the link for the same ..plz do le me know
THanks
05-15-2006 12:06 PM
Rashmi,
Use the methods GET_TEXT_AS_R3TABLE / SET_TEXT_AS_R3TABLE and then you will have to use the SAVE_TEXT to store in the database.
The GET_TEXT_AS_R3TABLE method will give you back a internal in which text, in which text on the screen is existing. Similarly once you fetch the data from database using READ_TEXT, use the method SET_TEXT_AS_R3TABLE to put the text on the screen.
These methods belong to class CL_GUI_TEXTEDIT class.
Regards,
Ravi
note : Please mark all the helpful answers