cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to call WD Application from FPM Feeder Class

Former Member
0 Kudos

Hi Gurus,

I have a requirement where I need to call my WD Application on a custom button which i created by enhancing the FPM_OVP_COMPONENT. While using the Function Module

  CALL FUNCTION 'WDY_EXECUTE_IN_BROWSER'
    EXPORTING
*     PROTOCOL            =
      application         = 'ZHR_PRINT_SMARTFORMS'
      PARAMETERS          = lt_parameters
*     TRY_TO_USE_SAPGUI_THEME       = ''
    EXCEPTIONS
      invalid_application = 1
      browser_not_started = 2
      action_cancelled    = 3
      OTHERS              = 4.

It is giving Browser_not_started error while I am executing the same FM independently with same inputs it runs successfully and opens up the new Window of my custom application. Request Your help in this regard

Accepted Solutions (0)

Answers (1)

Answers (1)

J_R
Advisor
Advisor
0 Kudos

Hi Tushar,

a navigation from within an FPM application or a freestyle WD ABAP application to any another application (of type WD ABAP, Transaction, Url, etc.) should be performed by leveraging the capabilities of the ABAP Report Launchpad. For more information about that please refer to

https://help.sap.com/saphelp_nw74/helpdata/en/eb/c2b0bcfeab487ca942a4801884ca90/frameset.htm

From within an FPM application you can access the ABAP Report Launchpad capabilities by calling IF_FPM->GET_NAVIGATION (if the navigation is based on Launchpad customizing in transaction LPD_CUST) or via IF_FPM->GET_NAVIGATE_TO (if the navigation is done programmtically without a customized Launchpad).

Best regards
Jens