Application Development and Automation 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: 
Read only

ALV diplay

Former Member
0 Kudos
482

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
Read only

Former Member
0 Kudos
411

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

Regards

Ravi

5 REPLIES 5
Read only

Former Member
0 Kudos
412

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

Regards

Ravi

Read only

Former Member
0 Kudos
411

hi John...

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

Regards,

Santosh

Read only

Former Member
0 Kudos
411

Hello,

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

Regards

Bernd

Read only

Former Member
0 Kudos
411

Hello John,

Set teh OK_CODE 'BACK' for that button.

If useful reward,

Vasanth

Read only

Former Member
0 Kudos
411

Hi John,

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