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

menu painter

Former Member
0 Likes
894

hi experts,

in alv, can i add menu painter ..? is it pssible ... can anyone explain this ...

Thanks,

Varadarajan.R

4 REPLIES 4
Read only

Former Member
0 Likes
739

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

Read only

Former Member
0 Likes
739

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

Read only

Former Member
0 Likes
739

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

Read only

Former Member
0 Likes
739

Hi,

Yes u can use menu painter in ALV, as u use in module pools.

Regards,

Amit G.