Application Development 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: 

alv with button as a field

Former Member
0 Kudos

how to get a button as a field in my alv grid display.

points r rewarded

3 REPLIES 3

Former Member
0 Kudos

Hi,

if you want push button as a column... then in the field catalog internal table for the corresponding column set the style accordingly (marked in bold)..

fieldcatalog-fieldname = 'TEST'.

<b>fieldcatalog-style = CL_GUI_ALV_GRID => MC_STYLE_BUTTON</b>

Thanks

Naren

0 Kudos

HI , CAN U TELL ME IN DETAIL ABOUT THIS INSERTION OF BUTTON IN ALV GRID AS A FIELD AND HOW 2 PERFORM ACTION WHEN CLICKING ON D BUTTON??

uwe_schieferstein
Active Contributor
0 Kudos

Hello Madan

The following sample report <b>ZUS_SDN_ALV_BUTTON_CLICK_LTXT</b> shows you how to define a button within an ALV list and how to handle the corresponding <b>BUTTON_CLICK</b> event.

Regards

Uwe