Skip to Content
author's profile photo Former Member
Former Member

Purchasing document WF-BATCH blocked

Hi all,

My workflow will give Auto approval (auto release) based on some condition. I am using a method Release of BO- BUS2012. Depends on the amount, it will pick up the release strategy.

My problem is, workflow is giving auto approval (in background) for the first release code. I am looping the workflow, then the second release code comes (I am able to see in log) but the method "Release" gives error and in log it says "Purchasing document WF-BATCH blocked".

Please help what is the problem or I need to execute any other method before going for auto approval for the second release code.


V Kumar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Aug 17, 2009 at 06:25 AM

    If I understood correctly then you are trying to do some thing like this

    1. Getting all the release codes into the workflow container and then you have created a task by using the BUS2012 - SIngle Release Method. and passing the release code to this method. ?

    if this is the case then you can try to do some thing like this.

    1. Create a Z bor. and a method inside the BOR define a method which has one single statement COMMIT WORK and create a task by using the ZBOR method and incldue the task next to the relase activity step inside the loop. this makes all the locks which are set will be unlocked.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.