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: 

Page up and page down in ALV

Former Member
0 Kudos

Hi all ,

Page up and page down are not working automatically in my ALV Grid report. I have all set in my pf-status. Do i need to explicitly write any code for that or do i need to any setting for that plz let me know .

regards

rao

2 REPLIES 2

former_member188685
Active Contributor
0 Kudos

Hi,

i hope the problem is with the Pf-status,so try to do the following and see...

Go to SE41 give the Program name SAPLKKBL

and status as STANDARD

now click Copy status (CTRL+F6), now give your Program name , and PF-status and copy it. now save it and activate the pf-satus which you have copied. and use it in your PF-status form.pass that status using the parameter call back status option.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
i_callback_program = g_repid
i_callback_pf_status_set = 'STATUS'
 i_callback_user_command = 'USER_COMMAND'

2.

FORM STATUS USING P_EXTAB TYPE SLIS_T_EXTAB.
*- Pf status 
 SET PF-STATUS 'STATUS' excluding p_extab.
 "this is i copied it from standard program
ENDFORM.                 " STATUS

now check it.

Regards

vijay

Former Member
0 Kudos

The page up and page down functionality exist on the Grid's toolbar, not on the PF-STATUS, did you try that?

Regards,

Ravi