Summary
The Docu Performer connects to SAP via ERPConnect, we do not directly use any specific hard-coded ports.
- We used a third-party library for connection (Theobald's ERPConnect)
- Standard ports are defined for SAP connection, which is automatically used by ERPConnect
How is the Docu Performer connecting to its DB?
We use a third party ORM (Object-Relational Mapping) framework from DevExpress: XPO. We do not use any specific technology for the connection to the DB directly.
Through this framework, we can connect to SQL Server, Oracle DB, and SQLite as a black box without knowing and caring about the lower-level details.
Error (service '?' unknown)
ERROR service '?' unknown
Solution
SAP Message Server Ports (SAPMS):
(Admin rights needed) Paste the complete content of the following text file ( services.txt ) into your services file located at: "..\Windows\System32\drivers\etc"
Make sure to add a single line break at the very end of your service file.
Error"service sapms<SID> unknown"
ERROR "service sapms<SID> unknown"
Solution
(Admin rights needed) Paste the following line to your services file located at: "..\Windows\System32\drivers\etc"
sapms<SID> 3600/tcp
Example: if your SID is ECC - the line looks like the following one:
sapmsECC 3600/tcp
(NN = your Instance Number /System Number)
Be advised, the Docu Performer (DP) needs to be restarted to load in any system changes you did.
Example: You adjusted your services file or pasted new LIB RFC files into your System32 folder -> Restart your DP.
If you don't restart the DP, it could happen to fail to connect successfully, even if your system parameter is now correct.
Error (Connect to SAP gateway failed)
Docu Performer logfile writes an error:
T:3524 Error in program 'BI Docu Performer': ======> SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed ... LOCATION CPIC (TCP/IP) on local host ERROR internal error ... RELEASE 720 COMPONENT NI (network interface) VERSION 40 RC -1 MODULE nixxi.cpp LINE 825 DETAIL NiIInitSocket SYSTEM CALL WSASocket, socket ERRNO 10022 ERRNO TEXT WSAEINVAL: Invalid argument COUNTER 2
Solution
SAP Logon through RFC ports:
SAP-Router used: 3299 + 3399
No SAP-Router used: 32<NN> + 33<NN>
(NN = your Instance Number /System Number)
BO ports
6400 (Central Management Server)
6405 (Connection server Business Objects)
HANA ports
80<instance number>
(NN = your Instance Number /System Number)