on 08-02-2008 10:46 AM
Hi,
When we create Sales Order with reference to Contract and if Qty exceeded in Sales order against the Contract qty, system is giving warning message as under -
Target qty of reference: 1.000 TO (total referenced: 2.000 TO) Message no. V1501
We want to convert this warning message in error message.
Please inform how can we convert the message in error.
Regards,
Vinay
Hello,
Its very normal that you can enter order quantity more than the reference contract quantity flowing from the contract.
Additionally its not recommended that you change the standard SAP standard messages from warning to error etc.
Better you should go for an exit. Use following details:
Goto SE38 & enter include MV45AFZZ
Then goto user exit "USEREXIT_SAVE_DOCUMENT". In this you should tell your ABAPer to write code such that it compare the previuosly refered quantity & hence does not allow to enter quantity more that that in contract. You will get error message while saving the document & system will thus prevent extra entry of quantity in sales order.
Hope this solves your requirement
Regards,
Dhananjay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
V S
Hi
V S
Go to Tcode VTAA and select yr doc type and target doc and check the following in the item categoty of yr contract.
Copying requirements 301
DataT 151 General item data
DataT 102 Bus.data/item compl.
Pos./neg. quantity +
Copy quantity
Hope this can help you.
Thx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Dwarkesh,
As per your message i have mentained the setting now i am getting error as below
'+' or '-' only allowed in connection with completion rule for item cat.
Further, please advise what values to be maiintained in the following field -
3rd Tab of DATAT
FPLA
Whether active the check box for Copy schedule lines
User | Count |
---|---|
94 | |
11 | |
10 | |
6 | |
5 | |
5 | |
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.