title: Commit work on table using UPDATE statement
body: <p>I have problem regarding the ABAP update statement. I am using the 'Commit work' on one update table statement but it is not working properly sometime it is work and sometime it is not work.  </p>
  
  <p>Check the statements :</p>
  
  <pre><code>UPDATE mara
  SET
        zzmanu     =  wa-sales_data2-zzmanu
        zzmatnr_sf =  wa-sales_data2-zzmatnr_sf
  WHERE  matnr = wa-basic_data1-matnr.
  
  if sy-subrc eq 0.
  commit work.
  wait up to 2 seconds.
  ENDIF.
  </code></pre>
  
  <p>Will that above Commit work causing any problem or  what is the reason it is not updating table.
  Please give some suggestion in this case.</p>