on 08-15-2007 7:58 PM
Hi Gurus,
Can we trigger a webdynpro application on a click of button from a standard transaction as IW31 and pass some of the parameters?
If so, how do we do that?
Please let me know.
Thanks,
Das
Hi,
You can trigger the webdynpro application on click of a button.
construct the URL dynamically or you can use the URL of the application present in WebDynpro application(if you are sure that if this application run only in this system).
We can display the application either in standard screen using HTML control or we can also open the browser on click of a button on standard screen using the code:
call method cl_gui_frontend_services=>execute
exporting
application = 'www.google.com'
exceptions
others = 1.
For passing the parameters to the application:
1. Create the parameters in the default interface plug of the application.
2. Associate the parameters to the WebDynpro application
3. Pass the parameters to the application by appending to the URL like (¶1=abc¶2=def).
Best regards,
Suresh
P.S. we can define the parameters in the Webdynpro component by defining the importing parameters in the default interface view's inbound plug's method. If we define the importing parameters in the inbound plug (for example DEFAULT plug of the window) then they are visible in the parameters tab in the WD application.
We can receive the parameters in the inbound plug method (HANDLE<plugname>) of the window (interface view associate in application).
Message was edited by:
Suresh Honnappanavar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.