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

PF status in dynamic selection screen

Former Member
0 Likes
373

Hi,

I am creating a dynamic selection screen ,it is having the default PF_status .But now i want to give a different PF_status in that dynamic selection screen.

Like if i press the back button it should take me to the previous screen,but now it is going to next screen.So,Please help to change the functionality of the BACK button.

thanks in advance

Sravanthi

2 REPLIES 2
Read only

MarcinPciak
Active Contributor
0 Likes
306

What functionality you have behind this BACK button?

You should explicitly determine next screen as 0.


AT SELECTION-SCREEN.
if sy-ucomm = 'BACK'.
   SET SCREEN 0.
endif.

Regards

Marcin

Read only

awin_prabhu
Active Contributor
0 Likes
306

Hi Sravanthi,

Set your PF status in event 'At selection-screen output' of your dynamic selection screen.

Handle Back operation in event 'At selection-screen'.

AT SELECTION-SCREEN OUTPUT.

SET PF-STATUS 'TEST'.

AT SELECTION-SCREEN.

CASE sy-ucomm.

WHEN 'BACK'.

" Ur code

ENDCASE.

Thanks,