on 12-21-2005 3:39 PM
Hi to all,
i have a class library in .NET that call some BAPIs functions many times. I use the SAP.Net Connector for call these BAPI from a class library. Sometime i receive the next error messages in some call BAPI (not always the same):
Connect to SAP gateway failed\nConnect_PM
GWHOST=10.1.3.7, GWSERV=sapgw02, ASHOST=10.1.3.7,
SYSNR=02\n\nLOCATION CPIC (TCP/IP) on local host\nERROR
partner not reached (host 10.1.3.7, service 3302)\n\nTIME
Wed Dec 21 15:28:21 2005\nRELEASE 620\nCOMPONENT
NI (network interface)\nVERSION 36\nRC -10\nMODULE
ninti.c\nLINE 979\nDETAIL NiPConnect2\nSYSTEM
CALL SO_ERROR\nERRNO 10048\nERRNO TEXT WSAEADDRINUSE:
Address already in use\nCOUNTER 1\n
Where is the mistakes? How is wrong?
How can i solve this situation?
Thanks in advance for your time
enrico.zerilli@tamoil.com
enricozerilli@hotmail.com
Please try the hint in OSS note 734095 (
https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200000209942004 ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm new to ABAP and I am having problem calling .NET from SAP.. I am confused as to which is the program ID in the .NET program that we need to use during the SAP connection error.
I'm trying to transfer simple data b/w SAP and .NET using the .NET connector( no table data is being used) on the same system.
I dont know wht is the problem with the connection. Here are the details of the error that I got when I tested the connection with connection as Explicit Host.
Logon Connection Error
Error Details partner 'localhost:sapgw00' not reached / CPIC-CALL: 'ThSAPOCMINIT' SAP gateway
Error Details ERROR: partner 'localhost:sapgw00' not reached
Error Details LOCATION: SAP-Gateway on host usai1acr / sapgw10
Error Details DETAIL: NiPConnect
Error Details CALL: connect
Error Details COMPONENT: NI (network interface)
Error Details COUNTER: 2951
Error Details ERROR NUMBER: 146
Error Details ERROR TEXT: Connection refused
Error Details MODULE: nixxi.cpp
Error Details LINE: 2430
Error Details RETURN CODE: -10
Error Details SUBRC: 0
Error Details VERSION: 38
I'm waiting for your reply.. please guide me regarding this.
Thanks,
Tejas
You have 2 types of connection:
a) client connection from system to SAP
No need of a program id
b) server connectin from SAP to your system (IDOC server etc...)
The program ID passed in the connection string needs to match the one defined in SM59 for the registered connection.
In case of multiple SAP servers on the same instance make sure that the correct gateway host and port is specified on the connection in SM59 as the external system (server) connects to a specific host.
Have fun.
User | Count |
---|---|
88 | |
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.