12-26-2007 8:06 AM
i have to call selection screen with a particular gui status when back button pressed from the output screen ..
My selection screen1000 contains 2 gui status :%_cs & %_00
i need to call %_00..
PLease help me out this,
Tks a Lot
12-26-2007 8:09 AM
12-26-2007 8:16 AM
tks a lot,
But i have tried the same
set pf-status '%_00'.
call selection-screen 1000.
but that's not working.. it again call the selection-screen with %_cs...
That's my problem....please help me out this
12-26-2007 8:40 AM
12-26-2007 8:42 AM
sorry, u mentioned selection screen -- in that case please mention it in At User-command...If it does not work, try it in At Selection Screen Event..
12-26-2007 8:45 AM
12-26-2007 9:50 AM
actually i am displaying alv using oops , so from the third screen i want to go selection screen
third screen : 200.. from there when back i have to go to selection screen with gui status %_00.
please help me out
12-26-2007 11:49 AM
Now got your problem..
Please verify my understanding :
selection screen (1000) --> call screen 100 --> call screen 200...From here you want to go back to selection screen.
You have to clear screen stack..
use set screen 0 or leave to screen 0..this will get you back from where you have called screen 200 (if you have used call screen 200 in some other PAI - say of screen 100, control will got to point after call screen 200 you have written in PAI.
If you have come to screen 200 using next screen in attributes of screen 100, control will go to main program -- please refer following link for more understanding http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm).
when you get back to main program flow. use command CALL SELECTION-SCREEN 1000.
Let me know if this works...
12-26-2007 1:17 PM
Hi Nagaraju,
We cannot modify the selection screen attributes like our normal screens defined using screen painter.
I think in your case, on the click of the back button, call screen 1000. The under the event block AT SELECTION-SCREEN OUTPUT, which is PBO of the selection screen provided by SAP, set the PF STATUS.
Hope this helps.
Thanks
Sanjeev