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

Reg control flow

Former Member
0 Likes
562

I have an message statement of type error,

After the message statement I have another executable statement.

How to change the control flow from after displaying the error message to that executable statement.

thnks in advance.

Edited by: jean liker on Mar 12, 2008 6:27 AM

4 REPLIES 4
Read only

Former Member
0 Likes
545

Hi,

You cannot execute anything after displaying error message.

Can you explain your requirement, so that I can guide you.

Read only

0 Likes
545

if sy-subrc NE 0.

message 'You Dont have authorization' type 'E'.

// logout user.

call 'SYST_LOGOFF'.

endif.

so after displaying the error message, i want to logoout the user.

Edited by: jean liker on Mar 12, 2008 6:57 AM

Read only

Former Member
0 Likes
545

hi,

suppose you have on selection screen .

in that you had given some range enter in between these range.

if user enters any other value it will show error message "please enter a valid value" like that

means we have some other executable statements after selection screen display.

if the selection is processing correct then only the control will execute next statement.

otherwise the control will not enter into the next statement.

regards,

swami.

Read only

Former Member
0 Likes
545

hi,

suppose you have on selection screen .

in that you had given some range enter in between these range.

if user enters any other value it will show error message "please enter a valid value" like that

means we have some other executable statements after selection screen display.

if the selection is processing correct then only the control will execute next statement.

otherwise the control will not enter into the next statement.

regards,

swami.