on 09-28-2011 10:20 PM
Hi,
In standard SAP when you create order more than quantity available on the contract it pop up warning message below:
Target qty of reference: XX STN (total referenced: XX STN)
Message no. V1501
After this SAP allow you to create the order with more quantity actually available on the contract.
I want this to warning message convert error message and it should not allow to create order further.
Any idea on this, please reply.
Thanks
Dev
Hi,
This can be achieved through Copy Control settings VTAA. At header Level , select the Check box Complete Reference.
Now while adding more quantity in the Sales Order , system will throw an error.
Best Regards,
Ankur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ankur,
Thanks for your reply.
Sorry but your suggestion did not work. When you check Complete reference in Copy control SAP will disable field quantity in item selection screen when you create order with reference to contract but when u go to sales order you can still increase quantity and create order without any error message.
I think this will require ABAP change.
Regards
Dev
Dear Dev_SD
For SD SAP has given customization of error to warning messages and vice versa in 2 ---T codes
OVAH all Sales related messages message type is V4
OVM1 all distribution related messages message type is VL
If your message is there in these two lists ( T codes ) then you can do whatever you want
Nothing will happen as they are meant for purely customization
If your message does not fall in these two lists ( T codes ) like message type V1
Then with the help of ABAPer thro SE91 T code can be changed
change the message to warning from error .
Go to SE91 and the following:-
u2022 input V1 in Message Class
u2022 input 061 in Number and execute.
u2022 select the message number and click on "Where-Used List" (press Cntrl + Shift + F3)
u2022 Deselect all boxes excepting "Programs"
u2022 List of programs will be displayed where this error message is used
u2022 Double click on the description in right side of the screen
u2022 You can see the coding written for the error message as E061 which may be changed to W061.
This is not recommended by SAP
and It requires an access key (generally Abider will not change this settings)
Regards
Raghu.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can't change it to error..only V3 or V4(don't remember which one) messages can be changed to error in tcode OVAH.
You can put an error message by your own logic using user exit in MV45AFZ* programs.
Regards,
Raghu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.