Application Development and Automation 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: 
Read only

Leave screen

Former Member
0 Likes
566

Hello

What must I do to display or write any message before instruccion "Leave screen" or "leave programm"?

I am sure than I am running the program in client 010, it should display the message "Exit Program" in the screen.

START-OF-SELECTION.

IF sy-mandt EQ '004'.

ELSE.

WRITE:/ 'Exit Program'.

LEAVE screen.

ENDIF.

Thanks

Best Regards

3 REPLIES 3
Read only

Former Member
0 Likes
538

Hi,

IF sy-mandt EQ '004'.

ELSE.

Message 'Exit Program' type 'I'.

LEAVE screen.

ENDIF.

Regards

Lekha.

Read only

Former Member
0 Likes
538

Hello,


START-OF-SELECTION.

IF sy-mandt EQ '004'.
ELSE.

MESSAGE 'Message in a Method' TYPE 'I'.

LEAVE screen.
ENDIF.

Regards

Read only

former_member585060
Active Contributor
0 Likes
538

START-OF-SELECTION.

IF sy-mandt EQ '004'.

ELSE.

MESSAGE i000(ZZ) WITH 'Exit Program'.

ENDIF.