‎2006 Nov 13 10:27 AM
‎2006 Nov 13 10:30 AM
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.
‎2006 Nov 13 10:31 AM
Refer to program "<b>SALV_DEMO_TABLE_COLUMNS</b>-Demonstration of Column Settings
‎2006 Nov 13 10:33 AM
Hi Sudharsan,
Refer sample program.
BCALV_GRID_05
BCALV_GRID_08
Reward points if this helps.
Manish
‎2006 Nov 13 5:11 PM
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