cancel
Showing results for 
Search instead for 
Did you mean: 

RFC SDK error when running sapinfo - RFC_SYS_EXCEPTION

Former Member
0 Kudos

We have developed a C program to use the RFC SDK to access a unicode SAP box, rfcsdk version is 7.1 and SAP gateway version is 7.2 We got the following error, does anyone know what is the problem?

The same program and parameters are totally fine when connecting to a non-unicode box.

Thanks.

-- from the RFC Trace file --

        • ERROR file opened at 20120206 113539 China Standard Time, SAP-REL 710,0,257 RFC-VER 3 1276433 MT-SL

T:7992 Error in program 'sapinfo': <* RfcReceive [1] : returns 3:RFC_SYS_EXCEPTION

When using command prompt:-

K:\TEST\RFC_SDK\bin>sapinfo type=E gwhost=ccsshq30 gwserv=sapgw30 tpname=TEST_SVC

( Return)

RFC Call/Exception: SYSTEM_FAILURE

Group Error group 104

Key RFC_ERROR_SYSTEM_FAILURE

Message connection closed without message

Accepted Solutions (0)

Answers (1)

Answers (1)

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Jockey,

Please set the following environment variables:

CPIC_TRACE = 2

RFC_TRACE = 2

Then run your program again. It will create two trace files at the same folder at which the program was ran.

Please send the contents of both files so we can try to help you with the error.

If you want to re-direct the traces to a different folder, you can also set the following environment variables:

CPIC_TRACE_DIR = <Directory Name>

RFC_TRACE_DIR = <Directory Name>

Regards,

Isaias