10-22-2007 11:27 AM
Hi,
is it posible to create column with checkbox 'VS_ODP', checkbox will be only in rows which have in previous column 'FUNCTION' values 'VP'.
regards,
Joanna
10-22-2007 11:30 AM
HI,
THe internal table which you pass to ALV should have first field as CHECK.
data :
Begin of i_output,
check type c,
matnr type mara-matnr,
maktx type makt-maktx,
end of i_output.
In the fieldcatalog, pass Checkbox = X for the CHECK field.
wa_fieldcat-checkbox = 'X'.
Best regards,
Prashant
10-22-2007 11:42 AM
yes I know but in this case all fields in column will be as checkboxes but i need only checkboxes in field where in previous column is value 'VP', when there is another value in VS_odp there is not checkbox and cell is not aditable.
regars,
joanna
10-22-2007 11:50 AM
Hi Joanna,
There is no alternative to have Checkbox only for specific rows.
Workaround is to have Checkbox as a column(Details mentioned above).
Depending on the value VS_ODP, you can make each Checkbox either editable or non-editable.
Best regards,
Prashant
10-22-2007 12:32 PM