Application Development 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: 

Selection -screen

Former Member
0 Kudos

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

8 REPLIES 8

former_member188827
Active Contributor
0 Kudos

at 'back'.

set pf-status '%_00'.

plz reward points if dis helps

Former Member
0 Kudos

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

Former Member
0 Kudos

write set pf-status %_00 in PBO of screen 1000.

Former Member
0 Kudos

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..

Former Member
0 Kudos

SET PF-STATUS '' in event INITIALIZATION.

Former Member
0 Kudos

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

Former Member
0 Kudos

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...

Former Member
0 Kudos

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