Post your Article
SAP ABAP Training   SAP BASIS Training   SAP FICO Training SAP Help SAP Forum


Incorrect RFC connection setup:
RfcOpen from an RFC client program was confirmed with RFC_HANDLE_NULL.

The error text in the trace file (dev_rfc or RFCxxx.TRC on 16-bit Windows) or for RfcLastError is:
      - sapms unknown (in earlier Releases: not found)
      - sapdpxx    unknown (in earlier Releases: not found)
      - sapgwxx    unknown (in earlier Releases: not found)

Error "sapgwxx unknown" (for earlier releases: not found), and can also occur for RfcAccept in an RFC server program.

Cause and prerequisites
Incorrect TCP/IP configuration ("services" file)


Ask your R/3 System administrator for the "service" of the affected R/3 message server (sapms, SID: System-ID), of the affected R/3 dispatcher (sapdpxx) or of the affected SAP gateway (sapgwxx) and please add the missing entry in the "services" file on your host:
(UNIX: /etc/services, NT: /system32/drivers/etc/services),

The following are valid as defaults:
sapdp00    3200/tcp
sapdp99    3299/tcp

sapgw00    3300/tcp
sapgw99    3399/tcp

sapms starts from 3600/tcp.

When inserting this into this file, pleas ensure that the last entry is always terminated with a . For some platforms, this may cause problems, as the last entry may not be recognized.

No Comments Posted for this Article
Post Your Comment - Share Your Knowledge
  • You MUST log in to post a comment

SAP SD Training   SAP Securities Training   SAP Support SAP HANA Training SAP Portal


SAP® is the registered trademark of SAP AG in Germany and in several other countries. Way2SAP is not affiliated or related to any division or subsidiary of SAP AG
Privacy Policy | Terms & Conditions | Email Confidentiality | How to avoid scams | FAQ