cancel
Showing results for 
Search instead for 
Did you mean: 

warning message Number V1501

Former Member
0 Kudos

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!

Accepted Solutions (0)

Answers (5)

Answers (5)

SmileZhang
Product and Topic Expert
Product and Topic Expert

The warining message is hard-coded. It could not be changed to error by customizing.

former_member215694
Discoverer
0 Kudos

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.

Former Member
0 Kudos

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

former_member184555
Active Contributor
0 Kudos

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

former_member204513
Active Contributor
0 Kudos

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.