Application Development and Automation 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: 
Read only

Modify

Former Member
0 Likes
636

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
617

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

5 REPLIES 5
Read only

Former Member
0 Likes
618

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

Read only

Former Member
0 Likes
617

Hi

Do:-

Loop at internal table into WA.

modify databasetable from wa.

endloop.

*Reward if help.*

Read only

Former Member
0 Likes
617

Hi,

Use the code.

tables : ztable.

loop at itab.

move-corresponding itab to ztable.

insert ztable.

endloop.

Regards,

Sankar.

Read only

Former Member
0 Likes
617

Hi friend,

Just Check the Primaryand Foregn keys.

Thanks,

Kumar

Read only

Former Member
0 Likes
617

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