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

problem with ALV

Former Member
0 Likes
565

Hi SDN Experts,

1) How to display Buttons in ALV?

4 REPLIES 4
Read only

Former Member
0 Likes
540

Hi,

If you want to display your own buttons in an ALV, you can see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2e/7df4f0dc7111d2b47b006094192fe3/frameset.htm">this link</a>

Regards,

Anand Mandalika.

Read only

0 Likes
540

Refer to program "<b>SALV_DEMO_TABLE_COLUMNS</b>-Demonstration of Column Settings

Read only

Former Member
0 Likes
540

Hi Sudharsan,

Refer sample program.

BCALV_GRID_05

BCALV_GRID_08

Reward points if this helps.

Manish

Read only

Former Member
0 Likes
540

Hi Sudarshan,

do like this, in this way you can put one button on Standard ALV and write the action what you want.

Go to SE80 --- Function Group (SALV), under this you will see the GUI Status, click on that select the STANDARD and press right click and give your program name where you want to add this and as well give the status as ZXXXXXXXX and press COPY Button.

Go to your program and call FM REUSE_ALV_GRID_DISPLAY

in i_callback_PF_STATUS_SET = 'ZXXXXXXXX'

I_callback_user_command = 'ZALV_TEST_BUTTON_USER_COMMAND'

FORM ZALV_TEST_BUTTON_USER_COMMAND using r_ucomm like sy-ucomm rs_selfield type slis_selfield

CASE r_ucomm.

When &TXT.

here you write your code.

endcase

ENFORM.

FORM ZXXXXXXXX using rt_extab type slis_t_extab.

set PF-STATUS 'ZXXXXXXXXXX'.

ENDFORM.

Hope this will work for you. If you satisfy plz assign the points.

Regards,

Sivaram Kandula