on 04-29-2010 4:17 PM
Hi,
I am trying to call transaction CV03N via webgui from Webdynpro ABAP application.
The service is active in ICF. I am getting host and port with the help of FM- /SDF/GET_ICM_VIRT_HOST_DATA
and then generating the url as follows -
concatenate 'http://' ls_icm_data-fqhostname':' ls_icm_data-port'/sap/bc/gui/sap/its/webgui/?~TRANSACTION=*CV03N DRAW-DOKAR='
*WD_COMP_CONTROLLER->CS_ALV_DOC-DOCUMENTTYPE
*';DRAW-DOKNR='
*WD_COMP_CONTROLLER->CS_ALV_DOC-DOCUMENTNUMBER
*';DRAW-DOKTL='
*WD_COMP_CONTROLLER->CS_ALV_DOC-DOCUMENTPART
*';DRAW-DOKVR='
*WD_COMP_CONTROLLER->CS_ALV_DOC-DOCUMENTVERSION
*'~noheaderokcode = 1'
*into wd_this->ca_url.
with above url from application I am getting SAP GUI for HTML - retrieving size as blank window
Please help.
Thanks, in advance.
Trupti
Hi,
I had the same problem.
I solved it in using "sy-host" in the url.
But use the port of FM- /SDF/GET_ICM_VIRT_HOST_DATA!
F.e. CONCATENATE 'http://' sy-host ':' port '/sap/bc/gui/sap/its/webgui?sap_client='client '&transaction=AL11&OKCODE=SHOW' into url.
Kindly
Barbara Mader
Edited by: Barbara Mader on Apr 30, 2010 11:41 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can get the Host and Port by using the below Class method:
*Call below method to get host and port
cl_http_server=>if_http_server~get_location(
IMPORTING host = host
port = port ).
Now you can get the URL by concateing this as below:
CONCATENATE 'http://' host ':' port '/sap/bc/gui/sap/its/webgui?sap_client='client '&transaction=AL11&OKCODE=SHOW' into url.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.