Add Selection field by passing Range table and Field to IF_WD_SELECT_OPTIONS-> ADD_SELECTION_FIELD.Create Range Table using IF_WD_SELECT_OPTIONS->CREATE_RANGE_TABLE.Instantiate Used Component Controller IWCI_WDR_SELECT_OPTIONS and and Call method INIT_SELECTION_SCREEN.Do the following in WDDOINIT hook method.Create ViewContainerUIElement in the view Layout.Define Controller usage for WDR_SELECT_OPTIONS in the Properties tab of view.Define Component Use for the WDR_SELECT_OPTIONS under Used Components tab of Web Dynpro Component.Create Web Dynpro Component with Window and View.(Automatically View is embedded into Window).Procedure to achieve SELECT OPTIONS for a field To show a select options in Web Dynpro ABAP, We have to use SAP’s Standard component WDR_SELECT_OPTIONS. Select options in Web Dynpro work the same way as in ABAP reports. SELECT-OPTIONS : so_pernr for pernr-pernr. Select-Options defines a range table which is having four columns Sign, Option, Low and High. If the selection criteria is complex, you need not write lengthy logical expressions in the select query, which is solved by the select-options statement. Using Select-Options, the user can specify complex selection criteria.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |