cancel
Showing results for 
Search instead for 
Did you mean: 

Access 2 different SAP systems from SAP GUI

Former Member
0 Kudos

Hi,

I have a work computer using which I access various types of SAP systems (Dev, Test, Prod, CRM, BI, Solman etc.).

I have a need to access a 3rd party system (no relation to work) to learn something new.

When I try to map the 3rd party's server credentials (IP and Instance number) in the existing SAP GUI and access it, it does not work. It errors out claiming that the service is not recognized.

How do I go about accomplishing this if at all possible?

I am not a basis person and so not very familiar with various dll files that influence it.

Thanks,

UV

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi UV,

Are you able to ping 3rd party system from your PC ?

ie. Start->Run-> ping -t (IP address of 3rd party system

If yes, the try the below,

Start -> Run ->sapgui (IP Address) (Instance number)

Regards, KK

Former Member
0 Kudos

Hello KK,

Appreciate your response.

Yes I am able to successfully ping the ip.

Start -> Run ->sapgui (IP Address) (Instance number)

When I perform the above I get the same error message as before.

Former Member
0 Kudos

Hi U V ,

Then we need to look into many things

1. do you have this file C:\Windows\System32\drivers\etc\services in your PC ?

2. Also check if C:\WINDOWS\SAPMSG.INI & C:\WINDOWS\SAPROUTE.INI exist

3. What kind of 3rd party's server (Like SAP ERP, CRM, BI ) ?

Regards, Praveen

Former Member
0 Kudos

Hello KK,

1. do you have this file C:\Windows\System32\drivers\etc\services in your PC ?

Yes

2. Also check if C:\WINDOWS\SAPMSG.INI & C:\WINDOWS\SAPROUTE.INI exist

I have saplogon & sapmsg ini files but no "saproute"

3. What kind of 3rd party's server (Like SAP ERP, CRM, BI ) ?

SAP ERP ECC 6.0

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello All,

Appreciate all your responses and special Thanks to KK for persisting.

Various work around did not work and my local help desk had to assign a static IP to my work computer and configure the firewall not to block my computer access the remote desktop IP I got from my 3rd party provider of training sand box.

Thanks all again.

Former Member
0 Kudos

Hi U V,

Its good to see your problem has solved

I was on vaccation last week.

Regards, KK

Reagan
Advisor
Advisor
0 Kudos

Hello

You already confirmed that you are able to ping the IP address from your machine.

Is this the IP address of the SAP system which you want to access through internet ?

Additionally do you know the SAP system number which you want to access ?

Most of the companies wont let you access their SAP systems unless you there is a secure connection established.

You maintain message server entries in the services file only if you want access the SAP system using a logon group instead of the IP address and system number.

Bear in mind that the issue you have is not related to an SAP system or with an SAP GUI.

This is purely an issue with the network and you need to contact the right people to get the access to the SAP system.

Regards

RB

csaba_goetz
Contributor
0 Kudos

Hello UV,

It errors out claiming that the service is not recognized.

You mean

Error: service '?' unknown?

Like this :

It comes due to lack of sapms<SID> (in this example: sapmsZYX) in services file:

C:\>findstr sapmsZY %windir%\system32\drivers\etc\services

sapmsZY1        10356/tcp

sapmsZY2        10357/tcp

sapmsZY3        10358/tcp

sapmsZY4        10359/tcp

sapmsZYA        15947/tcp

sapmsZYB        15949/tcp

sapmsZYC        15951/tcp

sapmsZYD        15953/tcp

sapmsZY9        10716/tcp

In this case instead of

Connection Type: Group/Server Selection

(see above)

you should rather choose

Connection Type: Custom Application Server

(see below):

Best regards,

Adam

Former Member
0 Kudos

Thanks Adam.

Upon 2nd attempt immediately following the first error, below is the exact message I get in a pop-up.

service 'sapdpXX' unknown

Details...

Module nixxsl.cpp

Method NiSrvLGetServNo: service name cached as unknown

Return code -3

Connection type is already set as you had suggested in your screen shot.

Former Member
0 Kudos

Hi U V,

As i updated earlier , we need to check step by step.

This error is due to missing of sapdpXX in your service file.

Please add below two line in your C:\Windows\System32\drivers\etc\services

 

sapdp00 3200/tcp

sapdp01 3201/tcp

Former Member
0 Kudos

KK,

Appreciate your responses.

Just to understand it better what does '00' and '01' in sapdp mean?

The error was sapdp08 was missing... 08 being the instance I am accessing.

Does 08 need to be added too? Or it has no relation to it?

FYI. I do have sapmsDEV, sapmsTST etc in my service file related to my various work systems.

What is the difference between dp and ms?

I do not have the rights to change the files. Thought of gathering more info before I ask for help.

Thanks.

Former Member
0 Kudos

Hi U V,

Please see below for diff between dp and ms port

and also some info below about external communication connection,

You need to add sapdp08 and sapms<SID> (If you want logon group) to your services file.

Since you dont have access to edit the services file, get BASIS help to find our correct port number for sapdp08 and sapms<SID> (If you want logon group) .

If you are interested to read more then try ,

http://help.sap.com/saphelp_46c/helpdata/en/6d/2a41373c1ede6fe10000009b38f936/content.htm

http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=257821901

http://wiki.sdn.sap.com/wiki/display/EP/Maintaining+Message+Server+Ports+in+Servive+File

Regards, KK

Former Member
0 Kudos

KK,

Nice. I gained access to modify the service file.

I made an entry for sapdp08 3200/tcp

Now the error message changed to below

partner 'actual IP:sapdp08' not reached.

Former Member
0 Kudos

Hi U V,

You need to check the port number for sapdp08 assigned to your 3rd party sap system.

Normal method of port assigned is

sapdp00 3200/tcp        # SAP System Dispatcher Port

sapdp01 3201/tcp        # SAP System Dispatcher Port

sapdp02 3202/tcp        # SAP System Dispatcher Port

sapdp03 3203/tcp        # SAP System Dispatcher Port

sapdp04 3204/tcp        # SAP System Dispatcher Port

sapdp05 3205/tcp        # SAP System Dispatcher Port

sapdp06 3206/tcp        # SAP System Dispatcher Port

sapdp07 3207/tcp        # SAP System Dispatcher Port

sapdp08 3208/tcp        # SAP System Dispatcher Port

sapdp09 3209/tcp        # SAP System Dispatcher Port

sapdp10 3210/tcp        # SAP System Dispatcher Port

I would try adding all the above to your C:\Windows\System32\drivers\etc\services

Regards KK

Reagan
Advisor
Advisor
0 Kudos

Hello

Now the error message changed to below

partner 'actual IP:sapdp08' not reached.

One more time.

Do you know the system number and the IP address of the SAP system you want to access ?

Regards

RB

Former Member
0 Kudos

Hi,

Your problem does nouw NOT occur, because you do something wrong.

It is now a network problem.

Once you have added 2x sapdp08; once with the <portnumber>/tcp and once with <portnumber>/udp option into the services file (located in C:\Windows\System32\drivers\etc on your local PC), the portnumbers are used with SAP GUI. Both portnumbers are identical.

If you ping to the IP adress you should ping using the following syntax:

ping <ip-adress>:<portnumber>

where <ip-adress> is the adress of the remote (reachable) SAP server and <portnumber> is the portnumber used in the services file.

If you get a reply, it should simply work.

If not, the firewall of your current network blocks the port.

Regards,

Robbie.

Former Member
0 Kudos

Hi UV,

After adding the needed sapdp08 services, try to put the hostname + ip-address of your "external SAP ECC" to your host-file --> C:\Windows\System32\drivers\etc\hosts.

Because you can ping this and you know what the hostname is, right?

I hope this will help you.

Regards,

Andre

csaba_goetz
Contributor
0 Kudos

Hi UV,

1. Download http://service.sap.com/swdc - Support Packages and Patches - Browse our Download Catalog - Additional Components - SAPROUTER - SAPROUTER  7.20 - Windows Server on IA32 32bit

2. Extract niping from the archive

3. Check if the hostname / service definitions are correct

    a) niping -v -H <hostname of ECC>

    b) niping -v -S sapdp08

    c) niping -v -S sapms<SID>  (SID is the system ID of ECC)

If there are any errors reported by niping, the definitions are not correct and they must be double checked.

Adam

Former Member
0 Kudos

RB,

Do you know the system number and the IP address of the SAP system you want to access ?

Not sure if you followed my other posts. I think I have already stated a couple of times in my previous responses that I was able to ping the IP and was able to connect from home w/ these credentials

Former Member
0 Kudos

Hello Adam / Wahjudi,

Appreciate your suggestions. Will try this when I could find some time to test it out.

My work place admin says that he would try to resolve if there are firewall / network related issues. Asked me to enter the right port # in the service file.

Admin from the 3rd party server side says that it will not work if I was trying to connect from within the firewall. They were not willing to explain any further. He did not know what a port number is for me to connect.

I tried by adding the list provided by KK. It still did not work.

Was trying to figure if I could somehow get it done myself with all your help.

Thanks for your responses.

Will update if I make any progress.

Reagan
Advisor
Advisor
0 Kudos

Hello

I made an entry for sapdp08 3200/tcp

Now the error message changed to below

partner 'actual IP:sapdp08' not reached.

Have a look at this document to understand how the port numbers work.

http://scn.sap.com/docs/DOC-17124

You put an entry sapdp08 against the port 3200.

When you put sapdp08 that means the system number is 08 but then you put 3200 instead of 3208.

So I am still not sure whether the system number is 08 or 00.

Lastly, are you able to telnet to the port ?

Good Luck

RB

Former Member
0 Kudos

Hi U V,

I know you are already frustrated with your issue

I am trying to provide simple solutions which may solve(Not 100% sure) within your limitations(Like Network firewall and missing sap routers).

One last question , what error you are getting now after adding the list of entry in services file ?

Regards, KK

Former Member
0 Kudos

Hello KK,

The error message is the same as I mentioned earlier. There was no new information.

As Rob Veenstra and others had stated in this post, it is a firewall issue.

Appreciate your quick responses and help in keeping me motivated to find a work around all of the constraints.

Reagan
Advisor
Advisor
0 Kudos

Hello

When I try to map the 3rd party's server credentials (IP and Instance number) in the existing SAP GUI and access it, it does not work. It errors out claiming that the service is not recognized.

Unless you have access to the third party network you cannot access the SAP systems running on that network.

It errors out claiming that the service is not recognized

I have never seen this error from SAP GUI instead I have seen partner not reached error message.

Regards

RB

Former Member
0 Kudos

Thanks RB.

Unless you have access to the third party network you cannot access the SAP systems running on that network

When I connect from my home computer I am on a different network than their servers.

How am I able to connect via internet seamlessly? Something to do with firewall or the GUI set-up itself?

I have never seen this error from SAP GUI instead I have seen partner not reached error message.

On the first attempt I get the below

Connection to application server broken with details....

WSATYPE_NOT_FOUND: The specified class was not found is the first message I get.

Method: NiPGetServByName: 'sapdpXX' not found (XX is the instance number)

On subsequent login attempts I got the message in my previous post. I am not able to reproduce the message as I write now!

Reagan
Advisor
Advisor
0 Kudos

Hello

When I connect from my home computer I am on a different network than their servers.

How am I able to connect via internet seamlessly? Something to do with firewall or the GUI set-up itself?

Most of the companies have VPN service provided for their employees to connect to the office network (intranet) while they are at home.

For that you need to check with the help desk or local IT support in the company you work.

Regards

RB