Hi All,
I have created a pop up window by using method create_popup_to_confirm of if_wd_window_manager . I have created the OK button by using if_wd_window=>co_button_ok of if_wd_window .
I need to change the default button text " OK " to " EDIT ". I am following the below approach .
view_controller = wd_this->wd_get_api( ).
lo_window->subscribe_to_button_event(
button = if_wd_window=>co_button_ok
button_text = 'EDIT'
action_name = 'MSG'
action_view = view_controller ).
Note : Action " MSG " is a dummy action which I have created just to change the default button text .
This works if the control is in the same view where pop up is called . If we have to go back to other webdynpro component/ view then , after clicking on EDIT button in pop up , it gives the dump with the error " Controller for View, Window, Interface, and Configuration Cannot Be Created " .
Please let me know if there is any other way to change the default text in the pop up screen or any other solution . I am ok to use any other method which creates pop up window and default text should be modified .
Thanks,
Kiran.