lo_window_manager = lo_api_component -> get_window_manager ( ). lo_api_component = wd_comp_controller -> wd_get_api ( ). DATA lo_api_component TYPE REF TO if_wd_component. ![]() Code - SE80 and create WD component YDEMO_POPUP with window W_MAIN, view V_MAIN as belowĬreate global attribute GO_WINDOW on component controller to hold the reference of popup window which can be accessed across all views in componentĬreate ui elements page header & a button as below.Here BTN_POPUP is bound to an action POP_UPĪdd the code in event handler ONACTIONPOP_UP as below.ĭATA lo_window_manager TYPE REF TO if_wd_window_manager. Here I consider explaining, how we can validate the fields on a popup window and display the errors to user without closing window. Pre-requisite: Basic knowledge of ABAP Objects & Webdynpro ABAP is assumed ![]() Demonstrate the scenario of opening a pop up window and perform validation on UI fields in pop up window in WEB DYNPRO ABAP.
0 Comments
Leave a Reply. |