SELECTION SCREEN

Question:
Hi ABAPer's
I am using selection screen.it has 3 radio buttons. when i enter data and select one radio button, depend on radio button it will select the data and display it(In between display the data ,data has to satisfy so many conditions . if not satisfies the record has to delete it ).so before display the data if no data found ,the selection screen has to clear all the data whatever we have entered initially .
In statndard tool bar when i press back it has to go to the program(source code).But it is going to previous screen.Please give me the solution
In advance
Thanks,
KMK
Answer:
This problem is obviously very important to you - this is the third/fourth message I have seen by you with identical wording this morning.
I don't think that your message is very clear at all.
Are you wanting to code an exit command?
E.g IF SY-UCOMM = 'BACK'.
leave to screen 1000. " Selection Screen
ENDIF.
_________________
Kind Regards
Rosie Brent
Please remember to search the forum and check the FAQ before posting questions, thank you.
Tuly Idiot most of the time, part-time Guru
Answer:
Hi Rosie Brent,
Thanks for your reply.But
if sy-ucomm = 'back'.
leave to screen 1000.
endif.
This logic is not working for selection screen.
what my actual requirement is in my selection screen i will enter data.
after executing it this will go through some conditions if not satify the conditions by this data ,i want to call the same selection screen by clearing all input data in that selection screen.
i am getting it but the problem is if i press' BACk <----' button on standard selection screen it has to go to se 38 (source code) .this is not happening it is going to previous screen.Hope you got it.
Thanks and regards
Murali krishna
Answer:
hai all,
try using Leave Program, this will not get u back to the screen but will come out of the screen and will get u to the source code.
pindropsilence thanking u all,
keep smiling
_________________
Forget past, live in today, think for tomorrow.

More Articles:

SMARTFORM (VERY URGENT)?
Getting windows userid?
IMP Questions?
Structure in internal table?
Maximum length of TRANSFER when using open dataset / transfe?
Conversion date?