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 GUI

Former Member
0 Likes
495

Hi guys,

I have controlled the GUI of ALV by using the suggestion below by Ramesh... but I have a question...

Is it possible to remove the USING rt_extab TYPE slis_t_extab from the FORM set_pf_status USING rt_extab TYPE slis_t_extab?

I tried removing it, but he program dumps...

Thanks a lot always...

rgds,

Mark

in SE41

copy Program SAPLKKBL

Status STANDARD

to ur Program ZPROGRAM

Status ZSTANDARD

in ur Z program

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = repid

i_callback_pf_status_set = 'SET_PF_STATUS'

i_callback_user_command = 'USER_COMMAND'

-


-


below of ur program write these 2FOMS...

FORM set_pf_status USING rt_extab TYPE slis_t_extab.

*PF status of program 'SAPLKKBL' is 'STANDARD' is copied for standard

*options(buttons)

SET PF-STATUS 'ZLSTANDARD'.

ENDFORM. "set_pf_status

FORM user_command USING r_ucomm LIKE sy-ucomm

rs_selfield TYPE slis_selfield.

CASE sy-ucomm.

WHEN 'SAVE'.

*write ur code here

WHEN 'BACK'.

*write ur code here

WHEN 'EXIT'.

*write ur code here

ENDCASE.

ENDFORM. "user_command

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
403

hi,

don't remove parameters from subroutines,

if you don't want to change the status, or if you want to change the status,

you can change the excluding tab or load another status within the subroutine!

1 REPLY 1
Read only

Former Member
0 Likes
404

hi,

don't remove parameters from subroutines,

if you don't want to change the status, or if you want to change the status,

you can change the excluding tab or load another status within the subroutine!