Hello all,
my requirement is to throw an error in smartforms(i.e in flow logic->program lines),
for this i have written a code like below,
if lv_tbft is INITIAL.
CALL FUNCTION 'SSF_MESSAGE'
EXPORTING
I_MSGID = '00'
I_MSGTY = 'E'
I_MSGNO = '5'
I_MSGV1 = 'No data Exists'
* I_MSGV2 =
* I_MSGV3 =
* I_MSGV4 =
.
endif.


i have declared a custom exception MY_ERROR in driver program as well as exception tab in smartform.(as suggested in some threads),
how ever the error message is not getting displayed(only the smartform is not getting printed),
please can any one suggest where i am going wrong(my intention is to display the error 'No data exists' for the end user)..
thanks.