12-13-2018 12:11 PM
Hi all,
Am using set UPDATE TASK LOCAL in my report program. After using it my programs taking long time(15 mins) for execution.
Before using that code it wouldnt take that much time. Please advice me in this case.
Regards,
Nagarajan S.
12-13-2018 12:42 PM
12-15-2018 6:40 AM
Hi,
I create a delivery through BAPI call. after this i used bapi_transaction_commit to commit my work. then i fetch the same delivery from LIPS table and do some process. After bapi call many times LIPS table does not have entry. so i used "SET UPDATE TASK LOCAL" to solve this issue.
But the problem is after add this code, execution time was increased to 15mins.before it was taken less than 1 min so i removed the code. Still its take 15mins. please help me in this case.
i have production issue because of this.
12-19-2018 2:11 PM
Hi
SET UPDATE TASK LOCAL can only increase the runtime of your report if you call COMMIT WORK w/o AND WAIT or FM BAPI_TRANSACTION_COMMIT with WAIT = abap_false.
And you also mentioned that you removed the local task and have the same runtime => so your coding and/or the data has changed!
Please check the data, your coding and the coding in the UPDATE FMs!
SET UPDATE TASK LOCAL will increase the overall system performance of the process, but NOT necessarily the current report/transaction!
regards
Domi
12-20-2018 3:46 AM
I will try to identify why it is lasting so long:
- SM50: refresh regularly and see if a program name is appearing more
- trace / log transactions like STAD and SAT
- debug in update task (F7 to go to the next function module)