Please use more informative subject in future
IF NOT l_lock IS INITIAL.
UPDATE marc FROM TABLE lt_marc.
IF sy-subrc = 0.
* creation of change document - ZZACT
PERFORM cd_call_mat_full.
COMMIT WORK.
ELSE.
ROLLBACK WORK.
CLEAR gt_return.
gt_return-type = 'E'.
gt_return-message = 'Problem with update entries in MARC !'(011).
PERFORM log_message TABLES gt_mess_list
USING gt_return gt_todo_list.
ENDIF.
How can we improve the performance of program?? Any other better query which will replace UPDATE statement???
Edited by: Matt on Mar 26, 2009 9:54 AM