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

stop absolete

Former Member
0 Likes
970

hiii

i make use of stop in start of selection .

since is was checking a value on selection screen

i did it on start of selection rather on the at selection-screen value since i was doing a select and read to make the check

when doing extended check the STOP statement is obsolete.

START-OF-SELECTION

message warning

STOP. "so as to go back to selection screen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
934

Hi,

STOP is obsolete now. Try setting a flag in ur start-of-selection and check this flag in ur end-of-selection event.

So, u can restrict the further actions and go back to selection screen.

Hope this helps! <REMOVED BY MODERATOR>

Ramya

Edited by: Alvaro Tejada Galindo on Feb 29, 2008 5:53 PM

8 REPLIES 8
Read only

JozsefSzikszai
Active Contributor
0 Likes
934

hi,

in this case you can use EXIT instead of STOP.

hope this helps

ec

Read only

0 Likes
934

the exit display the output . it doesn't being me to selection screen

The structure of my program is like this

START OF SELECTION

PERFORM CHECK " contain the stop

PERFORM ALV

END OF SELECTION

FORM CHECK

SELECT

if sy-subrc NE o

stop

endif.

READ ITAB

if condition

stop

endif

ENDFORM

Read only

0 Likes
934

START OF SELECTION

MESSAGE I00(ID) WITH text-004.

STOP.

END OF SELECTION

if i can't use stop then how do i make my program go back to selection screen

i put leave screen but it doesn't go back to selection screen

Read only

0 Likes
934

Can anyone help

Read only

0 Likes
934

Instead of STOP, try using SUBMIT (your program) VIA SELECTION SCREEN. I'm not entirely sure of the syntax here. Do F1 on SUBMIT.

Rob

Read only

Former Member
0 Likes
934

Hi,

'STOP' statement cannot stop the process. It will search for the END-OF-SELECTION event in your program. If END-OF-SELECTION event is not available, it will displays the output. Use other statement to solve your problem.

Read only

Former Member
0 Likes
934

HI,

Use Exit Statement that will make ur Program to run.


       Some Conditions.

            If met.
                      Exit.
             endif..

.

U can use Performance check In SE30..

Read only

Former Member
0 Likes
935

Hi,

STOP is obsolete now. Try setting a flag in ur start-of-selection and check this flag in ur end-of-selection event.

So, u can restrict the further actions and go back to selection screen.

Hope this helps! <REMOVED BY MODERATOR>

Ramya

Edited by: Alvaro Tejada Galindo on Feb 29, 2008 5:53 PM