SET_DATA
· To transfer the context of your application to the ALV component instead of using external context mapping
· To display the data from dynamically generated context nodes in the ALV output

You also use the method SET_DATA if you want to specify another structure for your ALV output at a later date or time. In this case, however, you cannot use the method in the WDDOINIT method or another standard method. If the ALV output has already been displayed once, you can only define the data for the ALV component in an event handler.
The context nodes that you transfer to the method SET_DATA as parameters must already exist. It does not matter, however, whether you generated the context node for design time in the Web Dynpro Explorer or added it using the program during runtime.
Signature |
methods SET_DATA importing R_NODE_DATA type REF TO IF_WD_CONTEXT_NODE |
|
Parameter (Importing) |
R_NODE_DATA |
Name of context node that is to be transferred to ALV component |
Return values |
- |
|
Exceptions |
- |
|