cancel
Showing results for 
Search instead for 
Did you mean: 

Search UIBB - Link columns in result list to open popup on click

Former Member
0 Kudos

Dear Expert's,

I am trying to implement an Search UIBB in an OIF component and the result list should have multiple link columns. And my requirement is to open a new popup window on click of the link and pass some parameters to it.

I am not clear, whether to implement "Link to Action" or "Link to URL" for this. When i implement the columns as "Link to URL", i am not able to see the text in it. Also, on click, the event 'FPM_RESULT_SEL' is triggered. But, the process_event method's parameter's doesn't give enough data on the selected value.

Can someone point to code on how to read the selected value's and open an url with parameter's passed to it ? Also, Search UIBB under OIF is better or OVP is better ?

Thanks and Regards,

Gaurav.

Accepted Solutions (0)

Answers (1)

Answers (1)

ulrich_miller
Active Participant
0 Kudos

Hi Gaurav,
you will need display type "link to action". Then when the user clicks on it a FPM event will raised. Next is: You need to catch that event in the feeder class method process_event( ). And then you will need to open the popup by yourself. Could you check how to open a FPM popup in the FPM developers guide? I think it is well documented there ...

Kind regards,

Ulrich

Former Member
0 Kudos

Thanks for your reply Ulrich.

But, the examples in FPM developer's guide has code to refer to webdynpro component. Within the feeder class, i am not able to access the webdynpro component instance.

Can you please share the code snippet on how to achieve this ?

Best Regards,

Gaurav.

ulrich_miller
Active Participant
0 Kudos

Hi Gaurav,
first step is you need to define a dialog uibb. For this you need to go to the OVP configuration. There add a new page which page type "dialog box". Give a ID, e. g. "DIALOG_BOX1" and add any UIBBs necessary to that new page.
Then at runtime you can use this API to raise the popup: IF_FPM~OPEN_DIALOG_BOX( ). That is all.

Kind regards,

Ulrich

Former Member
0 Kudos

Thanks for your immediate reply Ulrich.

I have an URL to be opened on click on link column (say order number), with passing the parameter's of that order number . And right now all other existing application's are in OIF. Is there a possibility to achieve my requirement by making use of Search UIBB within OIF ?

Best Regards,

Gaurav.

ulrich_miller
Active Participant
0 Kudos

Sure no problem, you can declare and open a dialog box in the OIF floorplan the very same way as it is done in OVP.