cancel
Showing results for 
Search instead for 
Did you mean: 

localhost?

former_member1287623
Participant
0 Kudos

Hi

try to test a webdynpro application but URL is every time [...]localhost[...] and I cannot find anything where I can change this...

the application works fine if I replace localhost with the right server...

think this should be an easy question for you

Accepted Solutions (1)

Accepted Solutions (1)

weltspion
Participant
0 Kudos

Hi Sebastian!

The solution of your problem is quiet easy: Just change the parameter <b>icm/host_name_full</b> from localhost to your server's name.

The profile parameter is to be found in <b>C:\usr\sap\NSP\SYS\profile\NSP_DVEBMGS00_yourserver</b>

Open the file with a text editor, and change the value <b>localhost</b> to the qualified (public) hostname of your machine (overwrite it, the parameter must not exist twice). Save the file.

After that, restart your SAP system and you're done!

Best regards

Torsten

former_member1287623
Participant
0 Kudos

Thank you Torsten!

it works fine now...

keep on giving great answers!

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sebastian,

Goto Window Menu -> Preferences -> SAP J2EE Engine.

Select the option SAP J2EE Engine is intalled on remote host. Specify the Server IP/Name and port. Its done.

Regards,

Shubham

Former Member
0 Kudos

Hi,

In case you are wondering how to find the port number, this is how you do it:

1. Open SAP management console.

2. Check the process list for all available server instances in the MMC.

3. Note the one which has "msg_server.exe" in its process list.

4. If the name of this instance is like F37 <server name/IP> 31(it can be some other number too), then 31 is the instance of SAP central server.

5. Simply add this ID to 3600 and that's your port number. So in this example, the port number is 3631 (3600+31).

Regards,

Satyajit.

former_member1287623
Participant
0 Kudos

thank you guys, but which window?

neither in SAP nor in other windows I can find some SAP Java2ee preferences

Former Member
0 Kudos

Sebastian,

We are talking about Windows Menu in the top toolbar of your NWDS.

Regards,

Shubham

former_member1287623
Participant
0 Kudos

jep just noticed that, I'm talking about SAP transaction SE80...

think it's not the same way for this, huh?

Former Member
0 Kudos

Hi Sebastian,

does this help?

http://help.sap.com/saphelp_nw04s/helpdata/en/8c/780741375cf16fe10000000a1550b0/frameset.htm

The FQDN is very important.

Regards, Heidi

former_member1287623
Participant
0 Kudos

I know that the URl should include the right server and domain and no ip... but where can I config this?

I searched transaction sicf to change the "localhost" to my remote host, but I can not find it... maybe because it's monday o.O

Former Member
0 Kudos

Hi Sebastian,

how are you running your webdynpro application? If it is from the NWDS, then you need to change it as mentioned in the other posts.

What about SE80? Is it webdynpro ABAP? I didn't understand that part of your query.

Regards,

Satyajit.

former_member1287623
Participant
0 Kudos

ok, let me detail the problem:

I'm using SAP Netweaver 2004s (sneak preview).

I have a server where SAP runs on, I work remote from a desktop...

If I now develop some Webdynpro applications from the desktop PC using transaction SE80 and try to test my application the test URL is always like this: http://localhost:8000/sap/bc/webdynpro/sap/[Application];

but since SAP is not on the localhost (my desktop) I need the server address in there, but I don't know how to get this changed...

there must be a global parameter for this, because the "preview" for the UI elements does not work too...

see screenshot: http://img81.imageshack.us/my.php?image=screen4cu.jpg

@Satyajit:

yes it should become a ABAP Webdynpro...

Former Member
0 Kudos
Former Member
former_member1287623
Participant
0 Kudos

ok, value icm/host_name_full in transaction RZ11 is incorrect ("localhost") but the change button is inactive

also I cannot change this parameter from SMICM...

any further ideas?

Former Member
0 Kudos

Hi Sebastian,

if you cannot change anything via RZ11, you need administration authorization. Your system administrator should have them.

Regards, Heidi#

PS: Or in transaction smicm choose Goto -> Parameters -> Change and then scroll down to icm/host_name_full

Note that this is a temporary change only...

Message was edited by: Heidi von Geisau

former_member1287623
Participant
0 Kudos

as I said, neither RZ11 nor SMICM works...

and I have SAP_ALL, so authorization should not be the problem...

heidi, have you changed this parameter ever before or do you just think it should be changeable?

maybe this parameter can only be set on SAP installation or so :-?

Yashpal
Active Contributor
0 Kudos

Hi,

right click the window-> preference->sap-j2ee Engine

select the remote host entries and make the required fields .............

Regards,

Yash