i had a scenario to update only one field in a db table for particular records so i am using the update syntax like below in loop.
loop at lt_ztable into ls_ztable
Update ztable set zfield 6 = abap_true
where zfield 1 = ls_ztable_fild1
where zfield 3 = ls_ztable_fild3.
endloop.
i think it is not the right way to update the table the table inside the loop because it face the performance issue.
so i am trying to update the table outside the loop but it cant update all particular record which i need.
if i use Update ztable from table lt_ztable it updates only one record.
is there any solution to update the table to meet the requirements without causing any performance issues ( like hamper the data base).
looking for the correct solution.