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

Execute Webdynpro application from ABAP with parameters

$
0
0

Hi all,

 

i created a new Webdynpro application and i need to execute it from a ABAP report but i need to pass some specifics parameters to my Webdynpro like customer number or executive date.

 

I searched the solution on SDN but nothing conclusive.

 

To execute my Webdynpro application from report ABAP i use the following code :

 

DATA : link TYPE string,

            lv_param TYPE string.

 

  CALL FUNCTION 'WDY_CONSTRUCT_URL'

   EXPORTING

*   PROTOCOL     =

*   INTERNALMODE = 'X'

     application  = 'ZMY_WD_APPLICATION' " Your application name

   IMPORTING

     out_url      = link. " here you will recive the url for application

 

*class for opening the application in browser

CALL METHOD cl_gui_frontend_services=>execute

   EXPORTING

     document  = link

     parameter = lv_param

   EXCEPTIONS

     OTHERS    = 1.


And it's work fine, but i would like to pass some parameters.


Thanks for your help.


Viewing all articles
Browse latest Browse all 3667

Trending Articles



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