cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Blocking the release of production order

0 Kudos
972

Hello,

I need to block the release of the production order when components are missing in storage location except for the storage location FU01. To do so I used the T-code OPJK and have chosen the relevant order type; then I assigned the value 3 for the field released material, that blocks the release of the production order in case of shortage of components (this parts only responds for the blocking the release of the ProdOrd in case of missing parts), and for the exception related to the storage location FU01, I suggested to implement the user exit PPCO0021 to allow the release of the production order in case of missing part. But the issue it is not working. Is there any other alternative in the standard to handle the exception for the storage location FU01.

Could anyone help me?

Thank you in advance.

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

gelilimota45
Discoverer
0 Kudos

Hello, 

You are on the right track with with what you have done already in opjk and setting to block release if Missing parts. 

In addition, you can try setting the availability check control for the ATP check for the components for the production order rule to do ATP at storage location level as opposed to plant level. 

You can do this in OPJJ in no storage location inspection and make sure that is blank/not checked. 

The check will only be made against components sitting in FU01 location. 

Make sure component is using such atp check in mrp3

Make sure that the issue storage location in the production order is set to FU01. 

You can drive that from the material master in Storage location field in MRP 2, can also do it from the master bom and set the Sloc in bom items for the components and can also do it manually on the production order before running MRP. 

Many ways to drive it for sure. 

What is going to happen now is that upon running the ATP check against the production order, it will check for availability in the FU01 location only.

If there is no sufficient stock in that storage location, because of the config you did for the order control (opjk) to prevent release if missing parts, then it will not allow release and you get what you need.

 

Please let me know if this helps. 

Thanks 

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Kudos

Hello omaima_bellagnech

You can't prevent release of a production order with missing components depending on a storage location from which the components are consumed. You have to implement such a logic as a custom enhancement.

I am really curious what the business rationale for such an unusual requirement is.

Best regards

Dominik Tylczynski