cancel
Showing results for 
Search instead for 
Did you mean: 

While Creating PM order If component stock is not available shld thr error

hanamanth_honyal
Participant
0 Kudos

Dear All,

At the time of PM order creation, If assign component stock is not available system should through error and order shold not save

Regards

Honyal

Accepted Solutions (0)

Answers (2)

Answers (2)

hanamanth_honyal
Participant
0 Kudos

Thank you

former_member187991
Active Contributor
0 Kudos

hi

i think if you make the settings for Availability check ,it will work but i think even if you make the Availability check during order creation ,it will still save the order .kindly check the scenario

regards

thyagarajan

Former Member
0 Kudos

Hi Mr Honyal,

This is not possible in Standard.

You need to configure it throught user exit.

You can use user exit - CNEX0009.

The exit is called from PS, PM, PP, so while coding please use a specific transaction code like IW31, IW32 etc.

The exit is called material by material. So if you have entered 5 material in components screen,

the exit will be called 5 times.

At run time you need to check the availabel stock of that material and give error if the stock doesnt exist.

Take help from your ABAPer & MM consultant for coding and finding tables of stock.

Thanks & Regards,

Mihir