on 08-06-2013 8:10 PM
Hi people.
It,s possible by on click event call standard transaction oppening without needing user and password?
EX:VA01.
Thanks .PEACE.
Hello Ronaldo,
1: Call below method to get host, port and protocol
cl_http_server=>if_http_server~get_location
2: concatenate protocol '://' host ':' port '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction='your tcode name' into url
3: get the window manager as we are opening t code in external window.
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
4: Call the url which we created above
lo_window_manager->create_external_window(
EXPORTING
url = url
RECEIVING
window = lo_window ).
The T code will be executed using the integrated ITS
Refer following link.It will give you an idea.
http://www.saptechnical.com/Tutorials/WebDynproABAP/TransactionCode/Index.htm
http://www.saptechnical.com/Tutorials/WebDynproABAP/SAPGUI/Index.htm
Thanks
Katrice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
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.