Skip to Content
avatar image
Former Member

Unable to call WD Application from FPM Feeder Class

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 08, 2017 at 10:11 AM

    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

    Add comment
    10|10000 characters needed characters exceeded