Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Error message

Former Member
0 Kudos

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.

6 REPLIES 6

Former Member
0 Kudos

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.

former_member188829
Active Contributor
0 Kudos

Deleted...

Message was edited by:

Vishnu Reddy

former_member386202
Active Contributor
0 Kudos

Hi,

Try like this.

IF zbapi_struct_as1_import-bukrs_clr EQ space.

MESSAGE s001(Z9).

LEAVE LIST-PROCESSING.

ENDIF.

Regards,

Prashant

Former Member
0 Kudos

Hi Amruta,

Try like this..


IF zbapi_struct_as1_import-bukrs_clr EQ space.
MESSAGE s001(Z9).
EXIT.
ENDIF.

Former Member
0 Kudos

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>

Former Member
0 Kudos

Hi amruta,

use stop statement:

IF zbapi_struct_as1_import-bukrs_clr EQ space.

MESSAGE s001(Z9).

<b>stop.</b>

ENDIF.

rgs