cancel
Showing results for 
Search instead for 
Did you mean: 

Material Determination ONLY in case of Stock Shortage

dvsagarvsp
Explorer
0 Kudos

Hi All,

I have tried looking up for solution for my problem if it was already answered but could not find any such solution. The requirement is to trigger material determination ONLY when the ATP check fails (in other words when there is a stock shortage to confirm the order) for the material entered in the order. Some suggest Substitution reason 0004 but does not help as it triggers the substitution even when stock is available completely for the main item. Also, it does not propose the pop up for the user to select the substitute materials.

Any idea how to handle this with a requirement routine or enhancement would be appreciated.

Thanks,

Vidya

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member183501
Active Contributor
0 Kudos

Hi

When you configure an access sequence/determination procedure there you can see a "Requirement" column, you can ask your ABAPer to write a code using a custom routine to trigger material determination only if ATP quantity is not confirmed and assign that either to access sequence level or procedure depending on your flexibility.

One more question here, how about partial stock availability for an item in an order? Anyway, you can get this included within the code.

RAF
Active Contributor
0 Kudos

HI,

in the material determination schema you can define with help of ABAPer a requirement routine (VOFM) to check the stock