To use an ALV output in your application, use the component SALV_WD_TABLE. You can integrate this ALV component as an external component into your Web Dynpro component. To do this, you define the component usage.
If you want to display multiple different ALV outputs, distinguish between these outputs by using unique names for the respective usage variants of the component.
How you define the component usage depends upon how you want to use the ALV component.
· If the ALV output is the only element on the screen, you define the component usage of the ALV component only in the component of your application (the top node in the hierarchy of the component, as it is displayed in the Component Editor).
This is the simplest case. You cannot configure the ALV output before it is displayed.
· If the ALV output is the only element on the screen (as above), but you want to make changes to the appearance, function, or run-time behavior, specify the usage of the component in the properties of the component controller for your application. Choose the variant with controller access.
· If, however, you want to insert the ALV output into a complex layout in a view of your application, define the component usage in the properties of the view (and not the component controller) in which the ALV output is to be displayed.
Depending on whether you want to use the standard display of the ALV output, or whether you want to change it, choose either the without controller access or the with controller access version respectively.
No comments:
Post a Comment