cancel
Showing results for 
Search instead for 
Did you mean: 

fetch valus from popup window and insert into internal table in another vie

Former Member
0 Kudos

Dear Experts ,

I have to select values from structure in popup window and that values i have to insert in table in another view

Please help me

Accepted Solutions (0)

Answers (1)

Answers (1)

mh97
Contributor
0 Kudos

Neeraj

1. Map your structure from controller context to contexts of popup and the table view.

2. when popup is closed fire plug to table view, in the handler for the inbound plug update the table. to catch the popup close event you need something like

     l_popup->subscribe_to_button_event(
                     button            = if_wd_window=>co_button_ok
                     action_name       = 'CLOSE_THIS'
                     action_view       = l_api
                     is_default_button = abap_true ).

(Alternatively to mapped context, pass the structure as a plug parameter.)

Hope this helps!

Margaret