cancel
Showing results for 
Search instead for 
Did you mean: 

catch the close event of a pop-up dialog

Former Member
0 Kudos

hi all Experts,

i have a questions.

I have a FPM application and there is a main page in it.

In the mainpage there is a LISTUIBB, i added a button here to pop-up a dialog box by API:

lo_fpm->open_dialog_box(

      EXPORTING

        iv_dialog_box_id         = 'ADP_S0_SEARCH'    " FPM: ID of the dailog window

    ).

in the dialog box, there is a search UIBB and a list uibb, the list uibb will display the searching result from sarch uibb.

now my question is, when i close the dialogbox, i want to catch the close event from the LIST UIBB which has called it. (not the list uibb in the dialogbox, in the uibb which in the dialogbox, the close event can be catched. )

I do not know how to catch the close event from the mainpage, please give me some hint.

Thanks.

Hao

Accepted Solutions (1)

Accepted Solutions (1)

simon_hoeg
Advisor
Advisor
0 Kudos

Hi Hao,

in this case (List UIBB does not belong to the dialog) the event FPM_CLOSE_DIALOG will pass method IF_FPM_GUIBB_LIST~GET_DATA, but not method IF_FPM_GUIBB_LIST~PROCESS_EVENT.

Best regards,

Simon

Former Member
0 Kudos

hi Simon, thanks for your correct answer and help, it works.

and one more question.

Answers (0)