Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Calling webdynpro abap application in NWBC

$
0
0

hi there,

 

inside an POWL feeder class i have enhanced the method handle_action to react to an click on an button. I want to start another webdynpro application "FITV_TRIP_FORM" to open the trip form in travel management POWL inside NWBC.

 

my code is like that:

 

CALL FUNCTION 'WDY_EXECUTE_IN_BROWSER'

  EXPORTING

    application                                            = 'FITV_TRIP_FORM'

    PARAMETERS                                     = lt_parameters

EXCEPTIONS

   INVALID_APPLICATION                  = 1

   BROWSER_NOT_STARTED           = 2

   ACTION_CANCELLED                     = 3

   OTHERS                                            = 4

 

The call of this FM is coming back with sy-subrc = 2 -> browser not started

 

When i call SE37 and TEST the FM with F8 with the same parmeters it works ! A new broswer window is opened and the form is displayed.

 

But when i call the FM inside the powl class i get the sy-subrc = 2 and the form is not popping up.

 

any idea why this only works in backend in sap gui and not in NWBC ?

 

br Martin


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>