Application Development 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: 

ALV diplay

Former Member
0 Kudos
250

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
179

Are you sure the OK Code os matching with the one given in the menu painter.

Regards

Ravi

5 REPLIES 5

Former Member
0 Kudos
180

Are you sure the OK Code os matching with the one given in the menu painter.

Regards

Ravi

Former Member
0 Kudos
179

hi John...

give that FCODE AS 'BACK' in SET PF-STATUS ...

Regards,

Santosh

Former Member
0 Kudos
179

Hello,

you have check you gui-status for the 'back' - Button.

Regards

Bernd

Former Member
0 Kudos
179

Hello John,

Set teh OK_CODE 'BACK' for that button.

If useful reward,

Vasanth

Former Member
0 Kudos
179

Hi John,

Put a breakpoint and check what is ok_code when u click BACK