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: 

Checkbox in ALV is disabled ?

Former Member
0 Kudos

Hi All,

I am displaying a checkbox in an ALV. While creating the fieldcat I have marked the following :-

- checkbox = 'X'

- edit = 'X'

But, the checkbox is somehow displayed as non-editable(disabled).

How do I enable the checkbox ?

Regards,

Ashish

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

Along with the two parameters use the parameter 'input'

checkbox = 'X'

edit = 'X'

input = 'X'.

hope this will help.

Regards,

Rohan.

5 REPLIES 5

Former Member
0 Kudos

Hi,

Check this

[https://forums.sdn.sap.com/click.jspa?searchID=19578103&messageID=6614165]

Former Member
0 Kudos

Hi...

If you have not manually disabled the input... then i think its because of the SAP GUI version........

If you are having an older one.. you might have this problem.. we too faced a similar problem...when we were using SAP GUI version 640... which got resolved after we upgraded to version 710

Cheers.....

Former Member
0 Kudos

Hi

u can refer :

hpe this would sort your problem.

Former Member
0 Kudos

Hi

first declare checkbox as field in internal table.

then in fieldcat should be assign like this.

DATA: line_fieldcat type slis_fieldcat_alv.

line_fieldcat-fieldname= 'CHK'.

line_fieldcat-TABLENAME = internaltable.

line_fieldcat-checkbox = 'X'.

Append line_fieldcat to i_fieldcat..

check out this it may help u.

thanks

venu

Former Member
0 Kudos

Hi ,

Along with the two parameters use the parameter 'input'

checkbox = 'X'

edit = 'X'

input = 'X'.

hope this will help.

Regards,

Rohan.