‎2008 Apr 01 10:02 AM
hi guyz,
i have a database table x with four fields and i have all the values in my internal table
when i inserting values
the database table is not populating ....
the statement im using is
Modify datatab from table itab
plz advise
‎2008 Apr 01 10:04 AM
Hi,
You can use Insert command to fill the data base.
First Loop at internal Table into work area
Then Insert into data base table By
INSERT INTO <DAtabse Table> VALUES <workarea> .
Thanks.
Edited by: Viji on Apr 1, 2008 11:05 AM
‎2008 Apr 01 10:04 AM
Hi,
You can use Insert command to fill the data base.
First Loop at internal Table into work area
Then Insert into data base table By
INSERT INTO <DAtabse Table> VALUES <workarea> .
Thanks.
Edited by: Viji on Apr 1, 2008 11:05 AM
‎2008 Apr 01 10:05 AM
Hi
Do:-
Loop at internal table into WA.
modify databasetable from wa.
endloop.
*Reward if help.*
‎2008 Apr 01 10:06 AM
Hi,
Use the code.
tables : ztable.
loop at itab.
move-corresponding itab to ztable.
insert ztable.
endloop.
Regards,
Sankar.
‎2008 Apr 01 10:06 AM
‎2008 Apr 01 10:08 AM
U'r statement is correct Just make sure u'r internal table structure is same as the table (in which u want to insert records).
don't forget to reward
S@meer