on 01-22-2015 8:04 PM
Hi Gurus,
I created a WD Application where this application is meant to create Sales Orders.
So in the final screen once the Sales Order is created, Order number gets generated in the Pop up.
This Pop up window has a button which currently navigates to the First Screen of my Application.
But i need this button to navigate to the Sales Order(VA02) Screen.
How to navigate to the Standard SAP transaction from Web dynpro Application.
Hi VR,
Use the following to open a T-Code from WD application.
CALL METHOD cl_http_server=>if_http_server~get_location
IMPORTING
host = lv_host
port = lv_port
out_protocol = lv_protocol.
DATA lv_url type string.
concatenate lv_protocol '://' lv_host ':' lv_port '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction='VA02' into lv_url.
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( ).
lo_window_manager->create_external_window(
EXPORTING
url = lv_url
RECEIVING
window = lo_window ).
Regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kamesh,
Its working after doing two changes in the code
concatenate lv_protocol '://' lv_host ':' lv_port '/sap/bc/gui/sap/its/webgui?~transaction=*va02' into lv_url
instead of
concatenate lv_protocol '://' lv_host ':' lv_port '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=''VA02' into lv_url.
second thing
lo_window->open( ).
Anyway thanks for your infn.
I also have one more question, is there any way that we can transfer the values from WD to the External Window.
For Eg: Once that Order gets created and going to transaction from WD can we see the Order Number on the Order Number field of VA02 window.
Hello , So Finally it is working ? For your question on passing data between multiple views http://scn.sap.com/thread/1874209 .
Kamesh,
My functionality is Sales Order Creation.
We developed WD application for creating an Order. Once this Order is created an Order number gets generated in the Pop up Window which have 'Ok' button.
On Clicking this Button an Event Handler method should get executed thereby user can go to SAP GUI transaction VA02.
The main reason for navigation to VA02 is for cross checking wether the WD Application created a correct Order or not.
we have proposed the browser related Tcode using an External Window but users are not happy with that since they want Standard Tcode in SAP GUI instead of in browser..
Hi VR,
I don't think it is possible to open TCODE in GUI window from webdynpro's action but you can open the HTML gui window in a browser on ITS url call.
Refer the below links if you wish to navigate to VA02/VA03 in a browser window
Write the code to navigate to VA02 url on OK button's action
But, you users still insists to open it in GUI window, its better to have GUI easy access window in parallel and use VA02, then let then choose the sales order number from WD browser window
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramakrishnappa,
I have asked to follow the same approach but for them to do this they need to copy the order no which gets generated and paste in the VA02 tcode parllely.
But they do not want to copy and paste the Order No instead they want that number to display in the VA02 transaction in SAP GUI.
Hi For this you need to activate ITS service . 1. SE80 ->Utilitities->Settings-> Internet Transaction Server->Select Integrated ITS 2. Go to Tcode SE80-> Choose Internet Services from the first dropdown->Enter SYSTEM - Right click and publish - > complete service . 3. Once the publishing is completed the system will issue a success message “Object published successfully; site INTERNAL”. 4. Repeat the steps 2 and 3 again to publish “SHUFFLER” and “WEBGUI” internet services. 5. Go to SICF and enter the service path as /sap/bc/gui/sap/its/webgui and execute and activate the service(If it is in disable mode). 6. Create Web dynpro Component, In that create Link to URL and mention the path as http:/ /sap/bc/gui/sap/its/webgui?~transaction=PA30 Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.