cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the error messages into warning messages in NWBC FPM Applications

sandeep_gvv2
Participant
0 Kudos

Hi,

I got a requirement like  when i enter due date it is throwing some error message i want to change that error message of type to warning message.

i am attaching screen shot below and i want due date message as of warning message.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sandeep,

Change the message severity as 'W' for required message in the respective feeder class.

sample code:

IF ls_data-due_date < sy-datum.

         ls_message-msgid      = "MESSAGE CLASS NAME".

         ls_message-severity   = 'W'.

         ls_message-msgno     = 'XXX'.

         ls_message-ref_name = 'DUE_DATE'

         APPEND ls_message TO ct_messages.


ENDIF.

Regards, Naga

sandeep_gvv2
Participant
0 Kudos

in which method i need to write this code in feeder class

Former Member

you need to right click on the screen and go to the technical help.

click on component configuration of required screen and which will opens the configuration page.

In General Settings tab, you can find the Feeder Class option and click on the same you can find the respective feeder class name. Go to the class and check the validation part in process_event method.

Hope it will helpful

Regards, Naga

0 Kudos

Can please explain End to End Process..

Thanks

Reagrds

Guru.