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

STATUS_UPDATE

Former Member
0 Likes
932

For some reason function STATUS_UPDATE is not updating the system status in my workflow method. When I run the method in test via SWO1, it works fine. Is STATUS_UPDATE not applicable to workflow methods? Is there a better way to update the object status in workflow?

3 REPLIES 3
Read only

Former Member
0 Likes
569

Hi Lamont,

Use FM STATUS_CHANGE_INTERN.

Regards,

Amitava

Read only

0 Likes
569

Thanks for the reply Amitava. However, this is still not working. It does work in test mode through SWO1, but again, during the workflow execution, it doesn't work. I added a commit work after the function call. Does it have anything to do with sy-oncom?

Read only

Former Member
0 Likes
569

The function did actually work. I made a mistake in my binding and the object number was not populating into the method appropriately. Thanks for the help.