Skip to Content
0
Former Member
Jun 06, 2011 at 01:49 PM

Create a warning message in Bex based on blank variable user's input

71 Views

Hi experts,

I have to create a warning message in Bex based on user's selection in the pop-up variable screen.

Thus, if no value is selected upon an optional variable, I have to show a warning message, BUT still show the query results.

I'm using the following code:

IF i_step = 3.

CALL FUNCTION 'RRMS_MESSAGE_HANDLING'

EXPORTING

i_class = 'ZZ'

i_type = 'W'

i_number = '003'.

RAISE others.

ENDIF.

ENDIF.

The warning message is appearing as expected, but despite accepting the message by pressing 'OK', it doesn't allow me to get to the query result.

Can you let me know why I can just accept and skip this message instead of reamining in the pop-up screen?

Thanks in advance for your help.

Best regards,

Enric

Edited by: Enric Barba Soriano on Jun 6, 2011 4:26 PM