cancel
Showing results for 
Search instead for 
Did you mean: 

Call a custom form and and an external url from POWL Toolbar actions.

0 Kudos

Hi,

We a requirement to call a custom wd application ie a smart form in the application. And an external url also.

We created post exits for IF_POWL_FEEDER~GET_ACTIONS as well as IF_POWL_FEEDER~HANDLE_ACTION.

How do we proceed from here.

We have added the followup event in the events tab of the view.

How to call the application from here.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

WouterLemaire
Active Contributor
0 Kudos

You can trigger a URL from your feeder class with the following code:

DATA lo_navigate_to TYPE REF TO if_fpm_navigate_to.

DATA lv_launch TYPE FPM_S_LAUNCH_URL.

DATA ls_params TYPE APB_LPD_S_PORTAL_PARAMETERS.

   lo_navigate_to = go_fpm->get_navigate_to( ).

   lv_launch-URL = 'url'.

   lv_launch-HEADER_TEXT = 'header text'.

   ls_params-WINDOW_FEATURES = 'directories=no,location=no,menubar=no,status=no,titlebar=no,toolbar=no'.

        

   lo_navigate_to->LAUNCH_URL( is_url_fields = lv_launch IS_ADDITIONAL_PARAMETERS = ls_params ).

Former Member
0 Kudos

Add your custom application in 'LPD_CUST'

And in HANDLE_ACTION, call method 'NAVIGATE' of class 'CL_HR_NAVIGATION_SERVICES' to launch your custom application.

Let me know if you get stuck.

0 Kudos

Can we do it using follow up method in events.

we are not using lpd_cust for any applications.