Skip to Content
-1
May 15, 2018 at 02:33 PM

How to update specific fields of the database table from itab?

3539 Views Last edit May 15, 2018 at 02:36 PM 5 rev

I have an internal table and want to update specific fields of the DB table based on values of the internal table. I tried both UPDATE and MODIFY clauses but it doesn't work.

The issue is that UPDATE accepts itab as a data source but doesn't allow specifying wanted fields, while MODIFY allows doing that with TRANSPORTING, but accepts only work area.

How can I update specific fields of the database table from itab?

Thanks.