on 09-23-2010 8:37 AM
Hello Together,
it is possible to change the URL of a Web Dynpro App. ?
I have to change there sth but i don't know how.
Regards Chris
Dear Chris,
U want to change the Message server in the URL dynamically with the client ur executing?
Regards,
Raghuram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Chris,
Can u please elaborate your requirement?
Regards,
Raghuram
Edited by: kr.raghuram on Sep 23, 2010 9:55 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
so i have the URL like this in my Web Dynpro Application.
https://<MS-Name>.com:4453/sap/bc/webdynpro/sap/zs2ssaplogwebapp
so i Have to change the Message-Server Name of the URL in my Web Dynpro application.
I have read that the URL is beeing automatically generated from the SAP system.
But i would like to change this Message-Server name.
Regards Chris
Hi,
Do you want to change the message server name thriugh coding then use the below code.
Store the message server name in a customizing table.
use the below code to replace the MS name:
DATA lv_temp_str TYPE char255.
DATA lv_split1 TYPE char255.
DATA lv_split2 TYPE char255.
DATA : lv_string TYPE string,
lv_application TYPE string.
DATA lv_dns_str TYPE /mrss/t_rm_dns_str.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = lv_application " webdynpro application name
IMPORTING
out_absolute_url = lv_string."url of the application.
lv_dns_str = message server name form the customizing table
lv_temp_str = lv_string.
SPLIT lv_temp_str AT '//' INTO lv_split1 lv_split2.
CLEAR lv_split1.
lv_temp_str = lv_split2.
SPLIT lv_temp_str AT '.' INTO lv_split1 lv_split2.
lv_temp_str = lv_split1.
REPLACE lv_temp_str IN lv_string WITH lv_dns_str.
Regards,
MAdhu
It is the instance profile parameter icm/host_name_full that is controlling this value in the generated URL. Check the configuration for this parameter.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/3c5d3df7e771b9e10000000a421937/frameset.htm
Sorry Chris - what do you mean change the URL?
could you give a bit of an example?
Thanks,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.