cancel
Showing results for 
Search instead for 
Did you mean: 

how to ignore message of minimum order quantity in va01

Former Member
0 Kudos

while creating sales order in case of minimum order quantity there is an ignore message appeared how can i debug the place of this message

Accepted Solutions (0)

Answers (2)

Answers (2)

Lakshmipathi
Active Contributor
0 Kudos

Adding to the suggestion already given for table, the related transaction is OVAH where the message can either be changed to Warning or Error but if you are not sure on the consequence, better consult with some seniors

Former Member
0 Kudos

recently we added vistex code which change standard of va01 so i want to determine the place of minimum order quantity check in sap standard because if user insert quantity of item and this item is bonus what expected is first check if this item is bonus or not what i need is to determine the place of minimum order quantity check in va01.

former_member194575
Active Participant
0 Kudos

Why do you want to debug it? It is a warning message and can be ignored. Click the message and see the message ID and number. Then put in a watch point, it will take you right at the message in the program.

Former Member
0 Kudos

special thank for your reply but when i insert quantity this error message appear not warning message because the quantity i inserted is less than allownece so i wnat to determine the correct place which i can ignore this message to appear.

former_member194575
Active Participant
0 Kudos

Check to see what is maintained in T160M table for message type V4 and message no: 82. I believe it should be 'E' (error message) in your case and that is the reason it is throwing an error message instead of warning.

You can change it from error to warning. Go and maintain the view V_160MVA. Find V4 082 message and change the message type to 'W'. It should solve your problem.

Former Member
0 Kudos

in va01 standard code if order quantity is less than minimum order quantity an message error appear so in my case this item is bonus which mean this message shouldn't be appear,so i want to determine where is the place in code to ignore this message or where i put my enhancement in this case i hope you understand me

former_member194575
Active Participant

For the bonus item remove the minimum order quantity value in material master. So that you will not get this error. Please check with your functional consultant once so that it can be resolved without any coding.

Please put in a break point in below FM and create the sale order. It will take you right to the issue of message.

ME_CHECK_T160M

Hope it helps.

Former Member
0 Kudos

thanks very much for your answer,

if i want to validate item for example after user entered item and minimum order quantity i want to check if this item has bonus or not if it has bonus ignore message and continue.

former_member194575
Active Participant

Minimum order quantity check would get triggered independently for each item. I think you can not handle with any code at the place where the message is issued. I would suggest you to leave minimum order quantity field blank in the material master and maintain this somewhere in custom table along with bonus item check.

Former Member
0 Kudos

recently we added vistex code which change standard of va01 so i want to determine the place of minimum order quantity check in sap standard because if user insert quantity of item and this item is bonus what expected is first check if this item is bonus or not what i need is to determine the place of minimum order quantity check in va01.