Skip to Content
0

Prevent STO creation when no stock available

Nov 24, 2016 at 05:10 PM

105

avatar image
Former Member

Hi,

Our process is as follow.

We have one plant and 2 stores, PROD and SERV. SERV is managed with a MRP area.

SERV is supplied from PROD with a special procurement rule.

The MRP triggers a PR (transfer request type UB) from PROD to SERV every 15 minutes.

Then a job uses ME59N to transform the PR(UB) into a stock transfer order STO (transfer order type YUB).

When the stock is not fully available at the PROD, the customizing is set so that only the available quantity is confirmed, once. It means that V_161VN-REVFE is set to A.

Up to this point it works perfect.

My issue is that I would like to prevent the creation of the STO when there is no stock available at all. I've seen that I can change the message 06 450 (this is the message you get when there is a shortage) setting to E instead of W, but it would be allways the case, not only when the quantity is 0.

We want that because at night all the PR not treated by this daily process, should be captured in another process. That's why I would like to keep them as a PRand not a STO.

Any help would be really appreciated.

Regards

Olivier

10 |10000 characters needed characters left characters exceeded

are you certain about this process or is this just leaving out some details: "Then a job uses ME59N to transform TR into TO (transfer order)"

TR and TO are terms used in Warehouse Management, while ME59N is auto PO creation in MM, which does not do anything to WM.

I would expect a sentence like "then a job uses ME59N to transform a purchase requisition (PR) into a stock transport order (STO)"

0
Former Member

Hi

We finally added a new check with error message based on the confirmed quantity at the schedule line level. In the BADI ME_PROCESS_PO_CUST/PROCESS_ITEM.

This is combined with the customizing in STO -->Materials Management --> Purchasing Purchase Order --> Set up Stock Transport Order --> Set Up Stock Transfer Between Storage Locations --> Assign Delivery Type and Checking Rule According to Storage Location. We use Availabilitycheck rule 'A/One time delivery'.

In the start screen we use the box 'Omit faulty items' to reject this new error.

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Nov 24, 2016 at 09:04 PM
0

You're right. Question adjusted.

Any idea for a solution?

Thanks

Share
10 |10000 characters needed characters left characters exceeded
Jürgen L Nov 24, 2016 at 11:03 PM
0

I am not aware of any IMG setting to restrict PO creation in case of non-availability, you have to code your reaction in a BAdI

Share
10 |10000 characters needed characters left characters exceeded