The purpose of this view container UI element is to hold the view of the another component or another view of the same component. Provide the ID and type for the UI element. Step 4 : Go to the layout tab of the view controller and create a view container UI element as shown below. By the above step you would now be able to see the component usage for the ALV component created in our component which will not be earlier adding the interface controller to our view controller.
This will get us the object reference component usage for the ALV component created in our controller. The second method wd_cpuse_ followed by the name which we have provided for the component in the used component list of the component framework will be created. This will get us the object reference for the interface controller of the ALV component. The first method wd_cpifc_ followed by the name which we have provided for the component in the used component list of the component framework will be created. Step 3: In the properties tab of the view controller create a controller usage for the used component.ĭouble click on the interface controller to create a component usage with controller access.Ĭontroller usage will be created as below.īy doing so it will create two methods in the interface for the view controller.
Step 3: Go to the context tab of the component controller and create a context node and attributes as shown below.Įnter the node properties as below and click on add attribute from the structure.Ĭhoose the required attributes and press enter.Ĭontext node and its attributes will be created as below. You can now see the component usage created for the component. Step 2: In the main component, Add the component “SALV_WD_TABLE” to the used components table and provide a component use name and press enter. Step 1: Go to the Tcode SE80 and create a webdynpro component.Īssign the component to the package or save it in the local object.
#Web dynpro alv tutorial how to
This tutorial explains you how to create a simple ALV report.