Tip |
---|
Are you looking for Know-How "Technology used for the connection to SAP and its DB"? |
Table of Contents |
---|
...
Summary
...
The
...
connection to
...
- 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.
SAP Logon through RFC ports
SAP-Router used: 3299 + 3399
No SAP-Router used: 32<NN> + 33<NN>
your SAP-System fails.
1- Error (service '?' unknown)
Note |
---|
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: "C:\Windows\System32\drivers\etc"
Make sure to add a single line break at the very end of your service file.
...
2- Error (service sapms<SID> unknown)
Note |
---|
ERROR "service sapms<SID> unknown" |
Solution
(Admin rights needed) Paste the following line to your services file located at: "C:\Windows\System32\drivers\etc"
Code Block | ||
---|---|---|
| ||
sapms<SID> 36<InstanceNumber>/tcp |
Example: if your SID is ECC and your Instance number is 00 - the line looks like the following one:
Code Block | ||
---|---|---|
| ||
sapmsECC 3600/tcp |
(NN = your Instance Number /System Number)
Old:
Note |
---|
Be advised, the Performer Suite (PS) |
...
Possible connection symptoms
...
needs to be restarted to load in any system changes you did. |
...
3- Error (Connect to SAP gateway failed)
Performer Suite log file writes an error:
Code Block | ||
---|---|---|
| ||
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 |
SAP Message Server Ports (SAPMS)
Symptom 1 and solution
Note |
---|
ERROR service '?' unknown |
Solution
...
Make sure to add a single line break at the very end of your service file.
Symptom 2 and solution
Note |
---|
ERROR "service sapms<SID> unknown" |
Solution: (Admin rights needed) Paste the following line to your services file located at: "..\Windows\System32\drivers\etc"
Code Block |
---|
sapms<SID> 3600/tcp |
Example: if your SID is ECC - the line looks like the following one:
Code Block |
---|
sapmsECC 3600/tcp |
...
(NN = your Instance Number /System Number)
Note |
---|
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. |
BO ports
6400 (Central Management Server)
6405 (Connection server Business Objects)
HANA ports
80<instance number>
...
SAP Logon through RFC ports:
- SAP-Router used: 3299 + 3399
- No SAP-Router used: 32<NN> + 33<NN>
(NN = your Instance Number /System Number)
Further information
https://help.sap.com/viewer/ports
...
Tip |
---|
Are you looking for Know-How "Technology used for the connection to SAP and its DB"? |