cancel
Showing results for 
Search instead for 
Did you mean: 

how to change warning to error message while creating contract, msg v1 501

Former Member
0 Kudos

hi experts,

my client requirement is to change warning msg to error msg while creating contract useing va01 wref to va41.

following is the enhancement, can we change directly from this include? how?

or any other procedure is there.

pls send stepwise procedure.

Thanks in advance

surya

Include FV45EF0V_VBEP_MENGE_PRUEFEN_VO.

-

-


FORM VBEP-MENGE_PRUEFEN_VORLAGE *

-

-


Prüfungen der Wunschmenge im Zusammenhang mit der Vorlage *

-

-


FORM VBEP-MENGE_PRUEFEN_VORLAGE USING US_ZMENG

US_RMENG

US_VRKME

US_FIELD.

DATA: DA_MENGC1(30) TYPE C,

DA_MENGC2(30) TYPE C.

Ist die insgesamt referierte Menge > als die Zielmenge der Vorlage

ENHANCEMENT-SECTION VBEP-MENGE_PRUEFEN_VORLAGE_10 SPOTS ES_SAPFV45E.

IF US_RMENG > US_ZMENG AND

US_ZMENG > 0.

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.

-

-


{+My requirement is to change W501 to E501}----

-


MESSAGE W501 WITH DA_MENGC1 US_VRKME

DA_MENGC2 US_VRKME.

ENDIF.

ENDIF.

END-ENHANCEMENT-SECTION.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

do like this go to the enhancement which you tell and click on the button enhancement on application toolbar .

then right click on the enhancement and goto enhancement menu item and click on change you will get the screen select on /sapht/sw_price_prot_aspfv5e this implimentation and check the check box below and press enter you will get the edit option and you can change *w to e * and activate it.

Regaurds,

Sree...