‎2009 Nov 05 7:42 AM
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
‎2009 Nov 05 8:02 AM
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
‎2009 Nov 05 8:05 AM
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,