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

How to stop the program flow

Former Member
0 Likes
1,393

Hi all,

i need to stop the program flow control without entering into the start-of-selection.

i am using some manual conditions for validating some parameter fields...

i used Leave list-processing--->but it dosint works

call selection-screen 1000--->it works but when i click the back button the control goes inside the start-of-selection can any one help me with this....

5 REPLIES 5
Read only

Former Member
0 Likes
1,098

try exit or stop

Read only

Former Member
0 Likes
1,098

HI,

in order to check your paramaters, before it enters into start-of-selection you can work using break-point and then run the program.

to know details of working on break-point you can type break-point and press F1 and you will get details of using it.

may be this can help you.

Read only

Former Member
0 Likes
1,098

If you want to stop the program flow in case one condition is satisfied, you can use STOP or EXIT command. Else, if you want to stop the program and debug it just but BREAK command where ever you want to stop the program. Also, if you want to validate the program selection at the time of entering the selection before the start of selection, you need to add AT SELECTION-SCREEN event block before the start of selection.

Read only

Former Member
0 Likes
1,098

give error message if parameters does not contain appropriate values in event at selection-screen.

Read only

Former Member
0 Likes
1,098

Hi Vino,

You can use the Exit Satement. This will take you out from the program.

Thanks,

Chidanand