‎2008 Jun 10 1:30 PM
hi experts,
in alv, can i add menu painter ..? is it pssible ... can anyone explain this ...
Thanks,
Varadarajan.R
‎2008 Jun 10 1:38 PM
Hi
Yes you can have your own menu in alv also but u have to copy the standard status name -STANDARD and you can make changes in that and can call in your program
regards
‎2008 Jun 10 1:45 PM
Hi
yes, u can add menu painter to ur alv program.
you can copy the standard status to ur program status.
to do this
go to se80.
select function group and give salv then press enter.
you will find gui status in that u find standard stuatus then give write click on that then click on copy then u give your program name and status name then that status is automatically copied to ur program.and if u want to add anything like push buttons then u doublr click on ur status in ur program and give write push buttons name..
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_user_command = 'USER_COMMAND'
i_callback_pf_status_set = 'PFSTATUS'
it_fieldcat = it_fieldcat
is_layout = it_layout
it_event_exit = it_eventexit
i_screen_start_column = 10
i_screen_start_line = 20
i_screen_end_column = 70
i_screen_end_line = 45
i_grid_title = 'Call Tcode Refresh ALV'
TABLES
t_outtab = it_tstc.
----
FORM PFSTATUS *
----
*Form for settings the pf status to the alv
FORM pfstatus USING ut_extab TYPE slis_t_extab. SET PF-STATUS 'STANDARD_FULLSCREEN' OF PROGRAM 'SAPLKKBL'.ENDFORM. " PF_STATUS_SET
‎2008 Jun 10 1:46 PM
hi,
Go to SE80 -> function group "SALV" -> GUI STATUS "STANDARD" -> right click and copy to ur program ->go to se41 -> do the required changes -> and activate.
Regards
Sandeep REddy
‎2008 Jun 10 1:46 PM
Hi,
Yes u can use menu painter in ALV, as u use in module pools.
Regards,
Amit G.