Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

data from table to popup

hello experts,

i defined a popup window like this:

data lo_window_manager type ref to if_wd_window_manager.

data lo_api_component type ref to if_wd_component.

data lo_window type ref to if_wd_window.

lo_api_component = wd_comp_controller->wd_get_api( ).

lo_window_manager = lo_api_component->get_window_manager( ).

lo_window = lo_window_manager->create_window(

window_name = 'POP_AENDERN_DATENSET'

  • title =

  • close_in_any_case = abap_true

message_display_mode = if_wd_window=>co_msg_display_mode_selected

  • close_button = abap_true

button_kind = if_wd_window=>co_buttons_ok

message_type = if_wd_window=>co_msg_type_none

default_button = if_wd_window=>co_button_ok


lo_window->open( ).

I have a table and when i click on an edit button it opens this popup. My Problem is that i need data from

the selected line in the table to edit it in the popup and write it back to the table.

I don´t have a clue how to realize this. The Data is only saved in context and not in a table.

Do you have a hint how to forward the data i need to the popup ??

Thanks and best regards


Former Member

Hello Rene,

store the needed data in a context node and map it via componentcontroller to the context of the view in your popup window.

That's the way data can be spread to all views of your component.



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question