‎2008 Feb 29 8:22 AM
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
‎2008 Feb 29 8:41 AM
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
‎2008 Feb 29 8:27 AM
hi,
in this case you can use EXIT instead of STOP.
hope this helps
ec
‎2008 Feb 29 9:52 AM
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
‎2008 Feb 29 10:03 AM
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
‎2008 Feb 29 11:18 AM
‎2008 Mar 01 12:31 AM
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
‎2008 Feb 29 8:28 AM
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.
‎2008 Feb 29 8:31 AM
HI,
Use Exit Statement that will make ur Program to run.
Some Conditions.
If met.
Exit.
endif..
.
U can use Performance check In SE30..
‎2008 Feb 29 8:41 AM
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