06-19-2017 9:49 AM
Hello,
I m using FM: VIEW_MAINTENANCE_SINGLE_ENTRY to update records into my custom table, reason I m using the above function module is I have done some validations in TMG events, so when any insert or update takes place when updating tables from programs we have used to triggering the events.
Problem I m facing was, when I update the tables using above FM, everything goes fine if all the records updates successfully, but if there is error with any record(Ex. In 10 Records 2 are in error, 8 updates successfully and 2 will be in error, there is no problem with this), Problem was tables gets locked under the user who executed the program until and unless user get outs of program totally, I m using Enqueue and Dequeue function modules, please help me how I can handle above situation...