Application Development 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: 

Updating the revision user status..............

Former Member
0 Kudos

Hi all,

i want to update the user status of the revision with some value.

i m using FM STATUS_CHANGE_EXTERN to do this.but the problem i m facing is that, this FM is being called in a loop so its only updating for the first iteration

and not for the later ones.

this problem can be solved by using commit work just after FM call, but i m coding in a BADI, so writing commit work is not preferrable.

please provide a solution, its urgent............

2 REPLIES 2

former_member181962
Active Contributor
0 Kudos

Can you show your code?

In general that FM doesn't need an explicit commit as such.

May be you are repeatedly updating the same object?

Regards,

Ravi

Former Member
0 Kudos

ya may be , actually today again i tried it worked properly..............

thanks for the answering.