Delete your GUI status and copy GUI status from a demo program. You are clearly missing functions for all the navigation buttons, so no wonder they are not working. Just look at any ALV program that does work.
Hello Shawn,
Go to GUI status of the screen and check whether Function code is assigned to BACK icon, if it is assigned, check whether it is active.
If the function code is black then it means it is active, if it is red it means it is inactive. Click on function code icon and activate them.
Regards,
Thanga
Then the problem might be a missing (or non triggered) user-command. Try debugging and see where you end up in the code. Normally you should see a case (or if) command that deals with sy-ucomm (or the ok-code that you can find on the bottom of the element list of the screen).
Hi,
if you are using custom GUI status then you have to define functionality for the buttons in USER-COMMAND event or you can copy the GUI status from demo programs provided by SAP i.e
copy PF status 'STANDARD' of program SAPLSALV to your program using SE41 (menu painter).
thanks!!
IF it is customized program , assign fcodes to the BACK AND EXIT ICON and put condition.
DATA : ucomm type sy_ucomm.
ucomm = sy-ucomm .
IF sy-ucomm = 'EXIT' OR
sy-ucomm = 'BACK'.
Leave Program.
Endif.
Add a comment