cancel
Showing results for 
Search instead for 
Did you mean: 

Order quantity on Sales Order

Former Member
0 Kudos

Hi All....

When we create a sales order with reference to Quotation, then the quantity will be copied from quotation. Later on if user tries to change that quantity in sales order then it is giving a warning message......but what we need is a error message rather than a warning message....so that user will not be allowed to change quantites which are copied from quotation.

Thanks in advance....

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Biju...

On that screen, every thing we have is related to V4 and what i heard is V1 is related to sales...but there was nothing related to V1...

Thanks....

Former Member
0 Kudos

Hi Ravi,

Try this with the help of an ABAPer

SE91

message class v1 and message number 503

then you would be able to see the message and try to maintain the message.

hope this helps

reward points if it helps

regards

Biju

Former Member
0 Kudos

Ravi,

On further investigation I feel the V1 messages cannot be made into a hard error by config.

This can bbe done thru user exit if required...like in "UserExit_save document prepare" you culd add an additional check...other than that if you want to have config related hard errors you would have to change the error type to V4 and then you could control it.

hope this helps

reward points if it helped

regards

Biju

Answers (5)

Answers (5)

Former Member
0 Kudos

Thank you for all your replies.....

Former Member
0 Kudos

Hi,

Once the quantity is copied from quotation to sales order, may be as you said you can just use USEREXIT_SAVE_DOCUMENT_PREPARE for VA02 that any changes made to the quantity are not allowed.

Hope it helps.

Regards

Sadhu Kishore

Former Member
0 Kudos

Hi Rajesh and Vinay...

Thanks for your replies.....

I went in to that of message variables but how to proceed from there...every thing is greyed out....

Regarding that user exit they want me to do this in configuration.....

The message no which i am getting for warning is V1503

Thanks in advance......

Message was edited by:

ravi chimmili

Former Member
0 Kudos

Hi Ravi,

Under Sales DOcument> Define Variable message>

based on your authorisation set by BASIS you would be able to change the message from warning to error.

reward points f it helps

regards

Biju

Former Member
0 Kudos

Hi Ravi,

Use User-exit for VA01 for your requirement.

Thanks,

Vinay

Former Member
0 Kudos

In that case, Message control requires to be modified.

Menupath: SPRO --> Sales & Distribution --> Sales --> Sales Document --> Sales Document Header --> Message variable.

Here, the message control can be modified from Warning to Error.

Regards,

Rajesh Banka