‎2007 Oct 24 4:11 AM
Hi all
i using a textedit control. i able to read line by line in texteditcontrol. Now i gt problem in inserting each line to database. Any code for this situation.
below is my code to read each line.
CALL METHOD g_editor->set_text_as_r3table
EXPORTING table = g_mytable.
Thks
‎2007 Oct 24 4:15 AM
Hi,
Use the INSERT statement to insert the values to the database
LOOP AT g_mytable.
Move the values to the work area..of the structure of database table.
INSERT ZTABLE FROM WA.
ENDLOOP.
Thanks
naren
‎2007 Oct 24 4:18 AM
However my g_mytable declaration in in this format
CONSTANTS: line_length TYPE i VALUE 256.
g_mytable(line_length) TYPE c OCCURS 0
how can i resolve it
‎2007 Oct 24 4:20 AM
Hi,
Not able to understand your requirement..Please explain in detail..
Thanks
Naren