--------------------------------------------------------------------------------------------------
To create an alv follow the steps from link:ALV in Web Dynpro
design the context node in the component controller as follows. Add an attribute 'COLOR' with type as 'WDUI_TABLE_CELL_DESIGN'.
Put the blow code in the component controller WDDOINIT method.
Create an application and test. Here we can see a new column COLOR. Now we have to delete this column and have to set the value of all other columns.
Create a new method in the component controller 'SET_ROW_COLOR'.
put the below code in it.
--------------------------------------------------------------------------------------------------
To create an alv follow the steps from link:ALV in Web Dynpro
design the context node in the component controller as follows. Add an attribute 'COLOR' with type as 'WDUI_TABLE_CELL_DESIGN'.
put the below code in it.
call the method from the WDDOINIT method.
Test the application.
--------------------------------------------------------------------------------------------------
No comments:
Post a Comment