cancel
Showing results for 
Search instead for 
Did you mean: 

availability check control while creating sales order

Former Member
0 Kudos

There is one business requirement as follows, there are 3 sales documents types are available based one priority, stock has to be confirmed while raising the sales order, all stocks will be in one storage location. But order processing will happen based on pre-defined priorities and associated thresholds. Highest priority is given to Institutional sales document type (INST), next to MT document type and last to GT document. Two thresholds will be maintained: INST Threshold and MT Threshold. Only if the SOH is greater than INST Threshold, MT orders has to be confirmed and only if SOH is greater than MT Threshold, GT orders has to be confirmed. We are going to maintain one Y table to give the plant, material wise threshold quantities for INST, MT based on the above conditions orders will be confirmed.

Can we do something at availability check level, so that based on the order type we will reduce the quantity from the plant based on the above conditions,

How I can implement above requirement, please suggest any user exit or BADI or FM

Regards,

Nagesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear All,

I'm planning do the above requiremnet in MV45AFZZ-

  USEREXIT_SAVE_DOCUMENT_PREPARE by calling

  BAPI_MATERIAL_AVAILABILITY and modifing the confirmed quanities by checking the Y table in VBAP and VBEP tables,

is this right way to do the above requirement,

Please suggest

Regards,

Nagesh

Former Member
0 Kudos

Dear All,

Please give some inputs...

regards,

Nagesh N