Error receiving data from SAP trough RFC connection ( RFC_ERROR_PROTOCOL )
I'm trying to receive idocs from SAP to i5/OS (V5R3) with a receiver program written in C using RFC/SDK (i don't know what version, probably 6.40).
In this program i'm using SAPRFC.H and SAPITAB.H distributed with this SDK but compiling with different LIBRFC library:
1° test: compiling with 1999 LIBRFC
2° test: compiling with 2001 LIBRFC
3° test: compiling with 2008 LIBRFC
In the first two test RFC receiver program connects to SAP, but after 2 minutes it log an error like:
20100407174045 RFCError:RTTRFCSM:RfcDispatch <> (RFC_OK, RFC_CLOSED)
20100407174045 ...group: '107' key: 'RFC_ERROR_PROTOCOL'
20100407174045 ...RFC_GET3, GET ID=5401 LINE=572
20100407174045 return code: 1
The third test fail trough a memory error
I want to know the meaning of the error "RFC_ERROR_PROTOCOL" contained in SAPRFC.H header.
Someone can help me?
the A versions are not of use for you ;-((
The E version would be ok, but is perhaps pretty old and there are some known bugs in ...
I think, you should use a NON-teraspace version ...
You now need a 46DE librfc with the latest patch - I think a 7.0 compile version ... then it would work.
If you need more support, we could help you with consulting a bit.
Volker Gueldenpfennig, consolut international ag
http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de