on 02-06-2014 12:50 AM
I like to understand the high level steps to convert these standard ECC transactions to a URL to be used in a browser.
View, Edit Sales Quote
View, Edit Sales Order
I understand there's a way to convert these transactions to a webdynpro URL and even allow parameters to pass.
For example, the URL could accept the Sales Order ID, and it would display or edit the Sales Order.
My goal is to use the URL in the SAP Cloud App as a mashup (like a normal HTML link) and it would pass the parameter of the customer or sales order ID.
Also an estimate of the effort would be nice (since I may get a more experienced developer, if need be).
Thanks ahead for your help !
Tim.
Hi Tim,
You can generate the url for t-code VA02/VA03 and pass the parameters as per your requirement.
DATA: lv_url TYPE string,
lv_host type string,
lv_port type string.
*Call below method to get host and port
cl_http_server=>if_http_server~get_location(
IMPORTING host = lv_host
port = lv_port ).
*create URL
CONCATENATE 'http'
'://' lv_host ':' lv_port
'/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'VA03'
INTO lv_url.
" concatenate the url parameters
CONCATENATE lv_url
'&VBAK-VBELN=80000001'
'&~OKCODE=SHOW'
INTO LV_URL.
Now you can use the generated URL as you require.
Make sure that you access this URL within your network.
Hope this helps you.
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 Tim,
Execute the FM - TH_GET_VIRT_HOST_DATA
It will return the Hostname and Port. Concatenate 'http://' hostname ':' port '/sap/bc/gui/sap/its/webgui?~transaction=VA03
This will give you the Webdynpro URL for VA03 tcode.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no automatic way of converting a classic dynpro to a Web Dynpro. Unless SAP provides the functionality as Web Dynpro, you can always call the classic dynpros by using the SAP GUI for HTML (webgui). You might also want to see what Fiori offers in this regard.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
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.