cancel
Showing results for 
Search instead for 
Did you mean: 

how to enable the popup button actions in FPM

Vasantha_D
Participant
0 Kudos

Hi Experts,

i am doing the webdynpro FPM application using the component FPM_GAF_COMPONENT in EHP6

i am raising the popup with two buttons OK and CANCEL .

when click on any button the i am getting the event ID as FPM_CLOSE_DIALOG .

how can i trigger the action methods of the OK and CANCEL buttons accordingly.......?

kindly post your ideas to solve the issue........

Thanks in Advance....

Accepted Solutions (1)

Accepted Solutions (1)

Vasantha_D
Participant
0 Kudos

Solved the issue by myself..

While configuring the application there is one option for the buttons there i select the OK and CANCEL buttons after that implement the feeder class methods.

with the following OVP example reference solved the issue

http://scn.sap.com/docs/DOC-32067

Answers (2)

Answers (2)

Former Member
0 Kudos

I don't recall the exact name but I know that one of the event parameters tells you which button is clicked. It is always that event that gets triggered so you need to read the parameter list.

Former Member
0 Kudos

Dear Vasantha,

When you raise a popup the actions methods depends on the button_kind parameter of create_window(  ) method.

If you want to subscribe to your your own event, you can use subscribe_to_button_event(  ) method.

Warm regards,

Upendra Agrawal

Vasantha_D
Participant
0 Kudos

yeah

I use the subscribe_to_button_event(  ) method for popup button actions .

but in the FPM the the popup raising but the button action methods are not triggering...