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

creating check box using ALV classes

Former Member
0 Likes
885

Can anybody please tell me how to create checkbox in the output of a list using ALV classes. That list is displayed using the method set_table_for_first_display plz send me some sample code

regards

pavan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
697

Hi,

if you want a field to be a chekcbox, there is a attribute in the fieldcatalog named CHEKCBOX you have to set to 'X'.

best regards,

Hans Hohenfeld

4 REPLIES 4
Read only

Former Member
0 Likes
698

Hi,

if you want a field to be a chekcbox, there is a attribute in the fieldcatalog named CHEKCBOX you have to set to 'X'.

best regards,

Hans Hohenfeld

Read only

Former Member
0 Likes
697

Hi,

Try using field catalog.

fs_fcat-coltext = 'CHECKBOX'.

fs_fcat-col_pos = 1.

fs_fcat-checkbox = 'X'.

fs_fcat-edit = 'X'.

fs_fcat-emphasize = 'C300'.

Read only

Former Member
0 Likes
697

Hi,

To enable the ABAP ALV Class Checkbox, have a look at the following link:

http://help.sap.com/saphelp_sm32/helpdata/EN/26/46fb40f17af66fe10000000a1550b0/content.htm

This will provide you with a detailed information of the ALV Checkbox functionality.

Hope this helps.

Thanks,

Samantak.

Read only

uwe_schieferstein
Active Contributor
0 Likes
697

Hello Pavan

Almost all you need to know about ALV (class CL_GUI_ALV_GRID) can be found in the excellent tutorial:

[An Easy Reference For ALV Grid Control|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907]

Regards

Uwe