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 Grid

Former Member
0 Likes
1,074

Hi,

How to get the function codes for all the buttons in the default tool bar in the ALV grid?

I need the function codes for

Append Row

Delete Row

Undo...

Pls help

Hi,

How to get the function codes for all the buttons in the default tool bar in the ALV grid?

I need the function codes for

Append Row

Delete Row

Undo...

Pls help

8 REPLIES 8
Read only

Former Member
0 Likes
1,046

Hi,

U cant capture those buttons as they r local..

u can remove the existing buttons from toolbar and can create ur own buttons in toolbar.

Regards,

Nishant

Read only

Former Member
0 Likes
1,046

Hi,

SE80--->Function Group->SLVC_FULLSCREEN-->GUI Status

I hope this helps

Regards

Raju Chitale

Read only

Former Member
0 Likes
1,046

Hi Prabha,

Go to the PF status for the program from transaction SE41 and from there you will be able to see the function codes for every button and otherwise.

Regards,

Aditya

Read only

Former Member
0 Likes
1,046

Hi

Please check method BUILD_COMPLETE_TOOLBAR of CLASS CL_GUI_ALV_GRID.

Regards

Vasu

Read only

Former Member
Read only

Former Member
0 Likes
1,046

instead of knowing all thier function codes u can copy ALV standard menu in your program menu by transaction SE41

.there write SAPSLVC in first text

standard_fullscreen in second text

your program name in third text

your menu name in fourth text

reward if useful

regards,

vivek

Read only

Former Member
0 Likes
1,046

Hi Prabha,

Check one of these methods in the class "CL_GUI_ALV_GRID".

1) Build_toolbar

2) Build_complete_toolbar

In the method, for eg.,

ls_toolbar-function = mc_fc_detail. " this is the funtion code for the "detail" button

(Note: If u double click on mc_fc_detail, u can see the initial value('&DETAIL') assigned to the attribute. U can directly use this value also, in ur code)

For

Append Row: '&LOCAL&APPEND'

Delete Row : '&LOCAL&DELETE_ROW'

Undo : '&LOCAL&UNDO'

Regards,

Kalai