2009 May 27 2:36 PM
Hi,
I have decalred an error message within START-OF-SELECTION, and once this error message is triggered the screen changes. The back button of the resulting screen gets disabled.
Please help me to print the error message within the same page rather than moving onto the next page.
Thank you.
The code has been given below.
CASE 'X'.
WHEN p_add.
g_res = p_intone + p_inttwo.
WHEN p_subt.
g_res = p_intone - p_inttwo.
WHEN p_div.
IF p_inttwo = 0.
MESSAGE E601(ZWB).
ENDIF.
g_res = p_intone / p_inttwo.
WHEN p_mul.
g_res = p_intone * p_inttwo.
WHEN OTHERS.
MESSAGE I600(ZWB).
ENDCASE.
2009 May 27 2:39 PM
Hi,
Add this code lines after if condition.
SET SCREEN 0.
LEAVE SCREEN.
Regards,
Lakshman.
2009 May 27 2:39 PM
Declare it with the
Program or report statement name like
PROGRAM 'xxxx' message id 'zz'