Quantcast
Channel: SCN : Popular Discussions - Floorplan Manager for Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 1726

FPM : how to subscribe buttons event for Dialog box

$
0
0

Hi All,

 

I am calling a FPM configuration as popup, i have used standard button CLOSE. Now I wanted to assigned my own action to it. How can i achieve this ?

 

As in webdynpro we can use  SUBSCRIBE_TO_BUTTON_EVENT, similarly which method i can use in FPM ?

 

E.g. in below case i wanted to write my own code on click of OK button.

 

        LS_DB_PROP-BUTTON_SET = 2.

         LS_DB_PROP-TEXT_FOR_CLOSE_BUTTON = 'Ok'.

 

         CALL METHOD LO_FPM->OPEN_DIALOG_BOX

           EXPORTING

             IV_DIALOG_BOX_ID         = LV_WINDOW_ID

             IS_DIALOG_BOX_PROPERTIES = LS_DB_PROP

             IO_EVENT_DATA            = LO_FPM_EVENT_DATA

*           IV_EVENT_ADAPTS_CONTEXT  =

           .

 

 

Thanks in Advance,

P$G


Viewing all articles
Browse latest Browse all 1726

Trending Articles