‎2007 Nov 19 8:49 AM
Hi All,
I want to display some error message i have used following syntax.
IF zbapi_struct_as1_import-bukrs_clr EQ space.
MESSAGE s001(Z9).
ENDIF.
This gives me the error message on the next screen at the status bar, my requirement is to display it on the same screen
Please help.
Thanx
Amruta.
‎2007 Nov 19 8:52 AM
at selection screen.
IF zbapi_struct_as1_import-bukrs_clr EQ space.
MESSAGE s001(Z9).
ENDIF.
else.
IF zbapi_struct_as1_import-bukrs_clr EQ space.
MESSAGE s001(Z9).
exit.
ENDIF.
‎2007 Nov 19 8:52 AM
‎2007 Nov 19 8:52 AM
Hi,
Try like this.
IF zbapi_struct_as1_import-bukrs_clr EQ space.
MESSAGE s001(Z9).
LEAVE LIST-PROCESSING.
ENDIF.
Regards,
Prashant
‎2007 Nov 19 8:57 AM
Hi Amruta,
Try like this..
IF zbapi_struct_as1_import-bukrs_clr EQ space.
MESSAGE s001(Z9).
EXIT.
ENDIF.
‎2007 Nov 19 8:57 AM
HI
your giving theer MESSAGE type as S means STATUS , it will allow you to go to the next screen
PUT E type there
IF zbapi_struct_as1_import-bukrs_clr EQ space.
MESSAGE <b>E</b>001(Z9).
ENDIF.
then it won't allow to enter into the new screen
it will show error in that scren only
<b>Reward uif usefull</b>
‎2007 Nov 19 9:02 AM
Hi amruta,
use stop statement:
IF zbapi_struct_as1_import-bukrs_clr EQ space.
MESSAGE s001(Z9).
<b>stop.</b>
ENDIF.
rgs