Skip to Content
0
Former Member
May 29, 2013 at 01:17 PM

Problem with different attribute properties in each row and column in a ALV component

24 Views

Hi Guys,

I need to implement an ALV that can have editable and non-editable rows. I assign to the context for each element its corresponding properties of an attribute, When i debugg I can see them but in the ALV are always the same. When I create an ALV:

1° Get or create the instance of ALV

2° Set a correct format for ALV:

3° Create the input field assigning each column to a fieldname in a context

lr_aux->set_enabled_fieldname

lr_aux->set_read_only_fieldname

...

and so on

4° I assign its corresponding properties for each element in the context.

Finally I see the ALV with the same properties in all columns.

The main idea should be something like the following scracth:

+editable

-read only

+|+|+|-

-|-|+|+

+|+|-|-

But now are all the same

How could I solve it?

Thanks

Sergio.