2006 Oct 17 9:45 AM
Hello,
The ' back ' Button is not working in ALV display.
Exit & cancel were working here.
How to solve this.
MODULE USER_COMMAND_0100 INPUT.
CALL METHOD CL_GUI_CFW=>DISPATCH.
CASE OK_CODE.
WHEN 'BACK'.
PERFORM BACK .
WHEN 'EXIT'.
PERFORM EXIT_PROGRAM.
WHEN 'RETURN'.
PERFORM BACK .
ENDCASE .
FORM BACK .
CALL METHOD G_CUSTOM_CONTAINER->FREE.
CALL METHOD CL_GUI_CFW=>FLUSH.
SET SCREEN 0.
LEAVE SCREEN.
ENDFORM.
Thanx in Advance.
2006 Oct 17 9:47 AM
Are you sure the OK Code os matching with the one given in the menu painter.
Regards
Ravi
2006 Oct 17 9:47 AM
Are you sure the OK Code os matching with the one given in the menu painter.
Regards
Ravi
2006 Oct 17 9:48 AM
hi John...
give that FCODE AS 'BACK' in SET PF-STATUS ...
Regards,
Santosh
2006 Oct 17 9:50 AM
Hello,
you have check you gui-status for the 'back' - Button.
Regards
Bernd
2006 Oct 17 9:50 AM
Hello John,
Set teh OK_CODE 'BACK' for that button.
If useful reward,
Vasanth
2006 Oct 17 9:51 AM
Hi John,
Put a breakpoint and check what is ok_code when u click BACK