Skip to Content
0
Dec 08, 2006 at 12:28 AM

Dynamic Attributes not working in ALV

46 Views

I am trying to create a dynamic Context that the ALV will use to present the data.

We cannot use a structure as we have no idea now many columns will be required until the data is retrieved.

Context:

- Node: MATRIX_NODE

- Attribute: ORIG_ZONE Type CHAR30

We are adding tothe MATRIX_NODE node many addtional attributes using the ADD_ATTRIBUTE method.

When the ALV is displayed, it is showing all the columns we have added but when we populate the information, the ALV is not picking it up. We can see the data in the MATRIX_NODE context object under the DYNAMIC_ATTRIBUTES attribute and not in the Structure atttribute.

How can we get the ALV to display the data we want?

Glenn