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 work and Rollback work in call functions in update task

ninhochin
Explorer
1,098

Hello guys, so i was looking on the internet about CALL FUNCTION...IN UPDATE TASK, and i have a question about it, when i write the command "IN UPDATE TASK", the function will only run if a commit work command is executed after the process, so what happens when a rollback work is executed instead of a commit work? the function will not run and for example will not update a standard table?

My problem is that i have to secure an update in a standard table and a Z table equally. If i'm right, a commit work will only be called if the Z table is succefully updated and then it will trigger the standard update function.

1 ACCEPTED SOLUTION
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
820

"i was looking on the internet"

Maybe it's a good idea to look in the documentation.

3 REPLIES 3
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
821

"i was looking on the internet"

Maybe it's a good idea to look in the documentation.

Read only

RaymondGiuseppi
Active Contributor
820

Or press F1 on statement ROLLBACK WORK?

Read only

ninhochin
Explorer
0 Likes
820

it will work as i thought, thanks everyone.