cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic PO generation based on material stock types

Former Member
0 Kudos

Hi,

I want to automate PO's but the thing is PO needs to be generated only if the material is not under blocked stock. For eg some chemicals are blocked under quality inspection or restricted use stock. In these case PO should not generate. PO should generate only if there are no blocks of the particular product. How can we achieve this?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You mean to say with the hep of BADI implementation this can be achieved? PO's are placed automatically once the block is removed?

JL23
Active Contributor
0 Kudos

No. Nothing is created automatically if a block is removed. A human can then create purchase orders again without getting annoying error messages, can process requisitions which could not been converted. If you have auto PO setup then the next job may not run into this error again and is able to create PO which earlier went into error.

Former Member
0 Kudos

Thank you

JL23
Active Contributor
0 Kudos

This sounds a bit unrealistic to me.

If a material is out of spec then they become either the status "restricted use" in case of batch management or will be moved into blocked stock. But then it can take months until a decision is made whether this product will be reworked, sold with a cheaper price, returned to a vendor or even scrapped.

If a material is out of spec and you have sales orders or need this is a component then you actually do not want to wait until you have all restricted or blocked stock removed from your system, this even turns usually out into an emergency case where you have to make a rush order to get this material in a good quality again.

But okay, if you want to learn it the hard way then implement a BAdI, do your needed own coding to prevent order creation (this is not standard) and later remove your BAdI again after it turned out as a wrong decision.