I have the popup window[window.showodelDialog] with one button called confirm.and table control values
Actual requirement: when i click confirm button it saves the tablecontrol value in the internal table. it is fine.It saves.
Currently working is : When i click the confirm button in the onClick event ,the new view is opening with empty tablecontrol popupin the new window.I don't want that one.
my requirement is: When i click the confirm button through onclick event ,i want to close the currently showing popupwindow and it should come to main page.How to do that?
<htmlb:button id = "sub1"
text = "Confirm" />
LOOP AT lt_form_fields INTO lw_form_field WHERE name CS
CALL METHOD /ds1/cl_mdm_tablecontrol=>populate_table(
im_id = 't_confirm'
im_request = me->request
ch_table = me->r_asset_data->t_maintain ).
t_maintain it stores the changed values.. It is fine..