Skip to Content
0
Former Member
Jan 04, 2008 at 11:45 AM

Update database

16 Views

Hi Abapers,

there are 20 fields in a ztable 'ymassn'. I have 4 fields in my internal table 'itab' from ztable. I have populated the internal table. now i want to update the ztable with one of my internal table field 'A'. How can i achieve this without effecting performance much.

I can do this using below logic. but if there are 100records in my internal table then it will db for 100 times.

loop at itab into wa.

update ymassn

set A = wa-A.

endloop.

please help me.

thanks.