Skip to Content
-3

how to ignore message of minimum order quantity in va01

May 25, 2017 at 07:23 AM

160

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Shanthi Kumar Juluru May 25, 2017 at 08:25 AM
0

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.

Show 7 Share
10 |10000 characters needed characters left characters exceeded

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.

0

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.

0

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

0

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.

1

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.

0

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.

1

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.

0
G Lakshmipathi
May 25, 2017 at 11:50 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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.

0