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

commit keyword

Former Member
0 Likes
258

Hi,

Am having n number of records in internal tables and need to update this into SAP table. And for example, each 100 records i need to commit the database.

Is it possible with insert statement without loop?

1 REPLY 1
Read only

Former Member
0 Likes
240

Hi Karthik ,

If you dont want to loop then what you can do is append 100 lines from the internal table into another internal table and using this temp internal table insert the data into your table.

So in addition to your insert statement to data base you will be using

append lines of itab1 from index1 to index 2 to itab2.

Hope this helps.

Regards

Arun