cancel
Showing results for 
Search instead for 
Did you mean: 

How to automatically block a sales order once it is created?

Former Member
0 Kudos

Hi,

  We have a requirement to automatically block any sales order that is created and start a workflow for approval process and only after the approval is completed does this block go away.

We are planning to create the custom block for this. Also we have a product for the workflow process and approval.

We are looking to see if there is any configuration that we can set to automatically block the sales order. At the end of the workflow we can release the block programatically.

Any help in this regard will be highly appreciated.

Regards

Ravi

Accepted Solutions (0)

Answers (2)

Answers (2)

moazzam_ali
Active Contributor
0 Kudos

Hi

Automatically block can be done with two ways. One is with status profile and you can get a lot of threads or documents avaiable describing how to use status profile. Second is that you can MV45AFZZ program and USEREXIT_SAVE_DOCUMENT exit and write your code that whenever order is saved save Delivery block field with 01 or 02 etc.

After approval remove this block with coding.

Thank$

Former Member
0 Kudos

Great thanks. I will try both the approaches. Likely we will use approach of programming. I will let you know how it works out.

Regards

Ravi

Former Member
0 Kudos

Hi Ravi,

You can create a custom block and assign it to the sales order type using the transaction VOV8 (Maintain Sales Order Types) so that whenever the order is created a block will be assigned automatically. Please note that there are many documentations already available in this topic and so it should be quite easy for you to google the procedure.

In case of any specific requirement or issue in the process please revert back.

Regards,

Som