on 10-01-2009 10:34 AM
Hi experts,
I need to call a transaction SAP from web dynpro... How can I do?
TKS a lot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
do u need to Create a Transaction code for ur Web Dynpro application ?
or need to call a transaction frm ur application ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use WEBGUI for displaying SAP Transaction..
How to check whether WEBGUI is published or not????
Enter Tcode SICF.
Select the path as : /sap/bc/gui/sap/its/webgui
right click on webgui and click on "test" to execute the servies.it will open the sap screen in web browser.
*NOTE : if it gives an error you need to do some setting Reply if you want the steps for setting.*
Now it's time for some coding.
create LINK to URL or LINK TO ACTION according to requirement.
use URL as
URL = 'http://<url>:portno/sap/bc/gui/sap/its/webgui?~TRANSACTION=SU01D'.
"Note : you can find this url in ur WEBDYNPRO Application Properies
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
ld_url = FINAL_URL.
CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW
EXPORTING URL = url
RECEIVING WINDOW = lo_window.
lo_window->open( ).
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.