‎2010 May 03 3:28 AM
Hello There,
I have this issue where when I go to ALV screen & click the back button it doesn't directly goes to the selection screen instead it goes to the grey screen/ list screen showing the program title. Please advice on this issue's solution.
Thanks in advance.
‎2010 May 03 4:16 AM
Hi,
try this in your report-
IF sy-ucomm = '&F03' OR sy-ucomm = '&F15'. " &F03 IS ok code for BACK AND &F15 IS UP.
LEAVE LIST-PROCESSING.
ENDIF.
IF sy-ucomm = '&F12'. " this is for cancel button
LEAVE PROGRAM.
ENDIF.Regards,
Sumit
‎2010 May 03 3:59 AM
Hi,
Try with in PAI Event of screen when BACK Butoon,
Case sy-ucomm.
when 'BACK'
Leave Screen 0.
ENdcase.
still You get same problem please post your code.
Regards,
Raghava Channooru
‎2010 May 03 4:16 AM
Hi,
try this in your report-
IF sy-ucomm = '&F03' OR sy-ucomm = '&F15'. " &F03 IS ok code for BACK AND &F15 IS UP.
LEAVE LIST-PROCESSING.
ENDIF.
IF sy-ucomm = '&F12'. " this is for cancel button
LEAVE PROGRAM.
ENDIF.Regards,
Sumit