‎2008 Mar 10 4:12 PM
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
‎2008 Mar 12 5:32 AM
Hi,
You cannot execute anything after displaying error message.
Can you explain your requirement, so that I can guide you.
‎2008 Mar 12 5:56 AM
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
‎2008 Mar 12 5:37 AM
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.
‎2008 Mar 12 6:05 AM
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.