Web dynpro select options
Next we need to adjust the settings for the Window. To complete our changes to our view, we just need to add the mapping between the Flights node in our View Context to the Flights Node in the Component Controller Context.įigure 7 – Context Mapping – View to Component Controller We can replace this with another VIEW_CONTAINER_UIELEMENT. Next we can delete the TableView UI element from the original example. We will start by adding the ALV Component to the View as well.įigure 5 – ALV Component Added to the View We can now turn our attention to the changes that must be made to our View. We are now able to data bind from the Data Node for the ALV Interface Controller to the Flights Node of our Component Controller Context.įigure 4 – ALV to Component Controller Context Mapping For this new Controller Usage we will choose our Component Controller.įigure 3 – Adding the Controller Component to the Interface Controller Usage We will start by creating a new Controller Usage. Bring up the edit view of the Interface Controller Usage. However first we will complete the mapping of the Component Context to the ALV Component.
![web dynpro select options web dynpro select options](https://image.slidesharecdn.com/webdynpro-wda-select-option-usage-1201220404538830-4/95/webdynpro-wda-select-option-usage-10-728.jpg)
That does mean later that we will have to add an extra mapping in our View Context to our Component Controller Context. It is the component controller context node that we will actually data bind into the ALV component. We are going to need to add the FLIGHTS Node and its attributes to the Component Controller.įigure 2 – Creating the Flights Node in the Component Controller Therefore our first step is to add the component SALV_WD_TABLE to our component usage list.įigure 1 – Adding the ALV Component Usageīefore we get into the changes to the View, we need to first make some more adjustments at the component controller level. Like the Select-Options implementation, the ALV is exposed as its own Component. We will start our new sample application by copying the WebDynpro Component from Rich’s example. That way we combine two of the best elements of WDA – Select-Options and ALV Grid. Instead I decided to adjust my example to build on top of Rich’s. I thought right away – why make readers create a whole new application from scratch that basically had the same selection criteria. However yesterday Rich Heilman posted his weblog on WDA – Using Select Options in a Web Dynpro(ABAP) Application.
![web dynpro select options web dynpro select options](https://m.media-amazon.com/images/I/411xsnBYvaL._AC_AC_SY350_QL15_.jpg)
Originally I had a sample program with its own selection UI area. To really explore all the more advanced features, you will find that SAP has delivered quite a few example programs (look for WDA Components that begin with the name SALV). What I want to do today is just create a simple introduction to the WDA’s ALV Grid implementation. Amazingly WDA comes with an ALV Grid implementation that is a very close match to its SAPGui cousin. What are you getting for the Holidays: WebDynpro ABAP!, I promised to post a weblog that I had been working on for just one of these great features of WDA – ALV Grid. Now that WebDynpro ABAP is Web Dynpro For ABAP! we can take some time and look at some of the most powerful features of this new development environment.