cancel
Showing results for 
Search instead for 
Did you mean: 

SRM auto approval stuck

refael1985
Discoverer
0 Kudos

hi,

srm purchase order automatic approval stuck on status "open (no decision made)" by system.

How can I kill the process?

When I trying to edit the order I get a message: "The document is still processing in the background, try again later".

moshenaveh
Community Manager
Community Manager
0 Kudos

Welcome to the SAP Community. Thank you for visiting us to get answers to your questions.

Since you're asking a question here for the first time, I'd like to offer some friendly advice on how to get the most out of your community membership and experience.

First, please see https://community.sap.com/resources/questions-and-answers, as this resource page provides tips for preparing questions that draw responses from our members. Second, feel free to take our Q&A tutorial at https://developers.sap.com/tutorials/community-qa.html, as that will help you when submitting questions to the community.

I also recommend that you include a profile picture. By personalizing your profile, you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html.

Now for some specific suggestions on how you might improve your question:

* Outline what steps you took to find answers (and why they weren't helpful) -- so members don't make suggestions that you've already tried.

* Share screenshots of what you've seen/done (if possible), as images always helps our members better understand your problem.

Should you wish, you can revise your question by selecting Actions, then Edit.

The more details you provide (in questions tagged correctly), the more likely it is that members will be able to respond.

I hope you find this advice useful, and we're happy to have you as part of SAP Community!

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hello!

If the workflow is not yet finished, then you can try the custom report from the note:

1458380-Restart process controlled workflow by ADMIN

If the workflow instance is indeed completed, then in a test case you can try to release it using the SWO1 - Set released method

(Some hints in the blog: https://blogs.sap.com/2017/02/18/srm-workflow-troubleshooting/)

This however many times will cause the document to became inconsistent. The best resolution for these kind of documents is to create a fresh one replacing it and delete the faulty one.

Hope this can help you in resolving the issue.

Best Regards

Zoltán

refael1985
Discoverer
0 Kudos

hello,

Thanks for the answer, but I don't have an error in the purchase order, so it doesn't appear in the workflow.

It's just stuck
0 Kudos

In this case if the workflow is in the completed status, then it is worth to place a breakpoint in the set release method in SWO1 and try to release the business object. Here you can see if there are any errors raised.

If this is the only occurrence of the problem then I would recommend to delete the PO and create a fresh one so any issues in the future can be avoided.

refael1985
Discoverer
0 Kudos

hello

thanks for the help,

i was able to cancel the process on SWO1 after I activated trace and opened the po to get the wi_id cancel the process with FM: SWW_WI_ADMIN_CANCEL.

Best Regards

Refael

moshenaveh
Community Manager
Community Manager
0 Kudos

refael1985 I'm glad to see you got an answer to your question! If it helps you, please make sure to accept (you'll see the "accept" option beneath the question) -- so members with similar issues will be able to find a solution to their problems too.

If it doesn't help, you can always leave a comment providing more details that can guide members who wish to assist you.

I hope that this guidance is useful -- and we look forward to your next question for the community!