on 06-10-2008 7:56 AM
Dear All,
I am creating an order with reference to a Quantity contract. When I can change the quantity in sales order greater then the Quantity contracts quantity, system issues the warning message Number V1501. Does any one know how we can change the warning message to an error message in R/3?
I have checked in the IMG but unable to find any customizing node. Please advice me in this regard.
thanks!
The warining message is hard-coded. It could not be changed to error by customizing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The note 1486547 - Order qty > contract qty said that no standard option was available so we kept it simple... just talked to an abaper and included at the end of the include FV45EF0V_VBEP_MENGE_PRUEFEN_VO (here's where the validation it's made) an enhancement with the same check and validations proper of our requirement (Doc. Type) and changed the warning for error message.
This gave us a simple solution with just doble message the first is the warning following with the error.
IF US_RMENG > US_ZMENG AND
US_ZMENG > 0
AND ( "Business checks
) .
WRITE US_ZMENG LEFT-JUSTIFIED UNIT US_VRKME TO DA_MENGC1.
WRITE US_RMENG LEFT-JUSTIFIED UNIT US_VRKME TO DA_MENGC2.
IF KOPIEREN EQ CHARX.
MESSAGE I501 WITH DA_MENGC1 US_VRKME
DA_MENGC2 US_VRKME.
ELSE.
SET CURSOR FIELD US_FIELD LINE SY-STEPL.
MESSAGE E501 WITH DA_MENGC1 US_VRKME
DA_MENGC2 US_VRKME.
ENDIF.
ENDIF.
Hope this helps someone in the future.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try with OVAH else
Purchasing, the path to maintain warning & error messages
Material Management->Purchasing->Environment Data->Define Attributes of System Messages
In case of Inventory Management
Material Management->Inventory Management and Physical Inventory->Define Attributes of System Messages
In case of External Service Management
Material Management->External Services Management->Define Attributes of System Messages
In case of Logistics Invoice verification
Material Management->Invoice Verification->Logistics Invoice Verification->Define Attributes of System Messages
In case of Material Master
Logistics - General->Material Master->Basic Settings->Define Attributes of System Messages
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The control is possible with config changes. In the item category(VOV7) of the Quantity contract - COMPLETION RULE field - select an appropriate value which then allows the referencing only upto the target quantity is achieved.
If your requirement is related to getting an Error message, then consult your ABAPer.
Thanks,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dandan,
To get the error message you can try with User Exits with help of ABAPer.
Try with these
The program MV45AFZZ
USEREXIT_SAVE_DOCUMENT
USEREXIT_SAVE_DOCUMENT_PREPARE
I hope it will help you,
Regards,
Murali.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.