Application Development 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: 

how to transfer texts from text control to table and vice versa

Former Member
0 Kudos

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

4 REPLIES 4

andreas_mann3
Active Contributor
0 Kudos

hi,

use method get_text_as_r3table / SET_TEXT_AS_R3TABLE

and look demo-program SAPTEXTEDIT_DEMO_3

Andreas

0 Kudos

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

0 Kudos

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