on 08-08-2012 8:31 AM
Hi,
The most of our transactions are using the sap gui interface.
We moved to an ERP system and are using WD4A and the business client.
Within a wd4a application i want to jump to a sap gui screen for displaying details of the entity.
I cannot write details screens for all enities in wd4a in one year.
How can i jump to a sap gui transaction or detail screen?
Hi Maarten van Riel ,
Check the following links which will give you an idea ..
http://www.saptechnical.com/Tutorials/WebDynproABAP/SAPGUI/Index.htm
http://sapignite.com/call-sap-tcode-using-webdynpro-for-abap//
Regards
Aravindan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I solved the problem by starting an external window
DATA:
lv_url TYPE string,
lo_nwbc TYPE REF TO cl_nwbc,
lo_api_component TYPE REF TO if_wd_component,
lo_window_manager TYPE REF TO if_wd_window_manager,
lo_window TYPE REF TO if_wd_window.
lv_url = cl_nwbc=>url_construct(
canvas_transaction = '/CIVBS/CNSLOG'.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_external_window(
url = lv_url ).
lo_window->open( ).
Just call the tocde using URL with the help of webgui services.
FYI
But when you are navigating to SAP GUI( HTML version ) you have to control the sapgui window to stop accessing the other tcodes.(otherwise endusers can access entire server).
to avoid this you have to pass some parameters in webgui service.
Check this links, it will help you
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=25427
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=22375
Regards
srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.