cancel
Showing results for 
Search instead for 
Did you mean: 

Quantity should not be more than reference document

Former Member
0 Kudos

Hi gurus,,

My requirement is the order quantity should not be more than quotation quantity.

Ex : i create one quotation with 2 pc qty, and create order with reference to quotation . The same 2 pc was coped from reference document, if end user want to decrease the quantity 2 pc to 1 pc he can do it but he must not increase the order quantity 2 pc to 3 pc . if he enter system propose the warning massage but my client requirement is he want the error massage instead of Waring massage and stop the further process.

Please suggest me how can i fulfill this requirement.

Thank you.

Viswa.  

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Please go through the below thread, I hope this can be fixed through an USER EXIT

http://scn.sap.com/thread/1602334

PhaniKalvagunta
Contributor
0 Kudos

Hi,

You can achieve this in two ways.

1. Make the warning message V1494 as error message.

2.Write a piece of code in the user exit  USEREXIT_CHECK_VBAP in the include MV45AFZB.

Regards,

Phani Prasad

Former Member
0 Kudos

Hi phani.

As you suggest, how can i change warring message to error massage ...???

                     

Thank you,

VIswa

PhaniKalvagunta
Contributor
0 Kudos

Hi,

It can be done with ABAP.Please take the help of your ABAP consultant.

Phani Prasad

jignesh_mehta3
Active Contributor
0 Kudos

Hello,

Go to T-Code SE91 & Message Class as V1 & Number as 494. Select the Radio Button of Messgaes.

Now click on Display, you can see message. It is not advisable to change to message as Error as this is SAP Standard & not recommemded.

Instead I would advise to apply a User Exit as suggested by others here.

Thanks,

Lakshmipathi
Active Contributor
0 Kudos

What was the message number ?  If it starts with V4, check in OVAH.  If it starts with VL, check in OVM1.

G. Lakshmipathi

Former Member
0 Kudos

Dear lakshmipathi,,

Please look bellow screen shot .The massage no is V1494.

Thank you,

Viswa.

bsivasankarreddy_reddy
Active Contributor
0 Kudos
former_member211616
Active Contributor
0 Kudos

Hi Viswanadh,

Check this link it may help u out to do changes in warning msg to Error msg

http://scn.sap.com/thread/881970

former_member211616
Active Contributor
0 Kudos

Hi viswanadh,

Check ovm1

Hope it will help u out

Regards

Ramesh

0 Kudos

Viswa,

If you get uch eror message you can search in google. This can get you a quick fix.

Please go through the below SCN thread related to this error message.

http://scn.sap.com/thread/881970

It says we need to  MODIFY the standard Code to get an ERROR message.

Lakshmipathi
Active Contributor
0 Kudos

Maintain "C" in Completion Rule for your item category in VOV7

G. Lakshmipathi

Former Member
0 Kudos

Hi lakshmipathi,

I maintain the "C" In completion rule as you suggest, but still i am getting the Waring massage. i need error massage and stop the process.

Thank you,

Viswa.

bsivasankarreddy_reddy
Active Contributor
0 Kudos

hi

what is the error message number ,

it message class LB or VL

it is LB  go to t  code OCHS  It i VL  go to OVM1

i think it is for  LB020 Message number

you go to OCHS here you will change the warring to error