Skip to Content
author's profile photo
Former Member

SAP VB Interfacing

Hi, I am able to connect to Application server but the program is hanging when statement containing <b>GetSAPObject</b> is excecuted . The error is " an internal RFC error occured " error code is RFC_ERROR_SYSTEM_FAILURE.

please help

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 12:37 PM

    Hy!

    I have the same problem, but I didn't solved it.

    You could try to active the trace for RFC

    oConnection.TraceLevel = 1

    After that a rfc*.trx file should be created with a lot of information like this.

    Hopefully anyone is able to read this, to help us solving this problem:

          • Trace file opened at , SAP-REL 710,0,0 RFC-VER nU 3 880476 MT-SL

          resize I/O buffer to 16000 bytes

          >>>> [1] <unknown> : EXT <ac: 1> L 127.0.0.1 >>> OPEN

          UUID: ab_drvstate create uuid {F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3}

          { }_{ }_0-

          0 { }_{ }_0- __0 >>>> [1] <unknown> : EXT <ac: 2> L 127.0.0.1 >>> 85625931 (85625931) -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} { }_{ }_0- __0

          >>> RfcOpenEx ...

          Got following connect_param string:

          USER=SAP* CLIENT=000 LANG= PASSWD=******* SAPLOGON_ID=NSP [127.0.0.1] ICCE=1 TRACE=1 CODEPAGE=1100 GETSSO2=1

          Send RFCHEADER: 01/LIT/IEEE/SPACE/1100

          Send UNICODE-RFCHEADER: cp:1100/ce:IGNORE/et:5/cs:1/rc:0x00000023

          UUID: send_rfcuuid {F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3}

          DT ERROR> ab_dtrfcSendInfo (rc: 1 { }_{ }_0-

          1 >>> Logon check: calling RFCPING >>> RfcCall [1] ... *> RfcCall FUNCTION RFCPING handle = 1 parameter = <NULL> tables = <NULL> UUID: RfcCallNew send the uuid to the partner {F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} >>>> [1] <unknown> : EXT <ac: 3> L 127.0.0.1 >>> WRITE (85625931) -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} { }_{ }_0- __1 000000 | D9C6C3F0 F0F0F0F0 F0F0F0E3 01010008 |................| 000010 | 01010101 01010000 01010103 00040000 |................| 000020 | 060B0103 0106000B 01010000 01050100 |................| 000030 | 00002301 06000700 0F313932 2E313638 |..#......192.168| 000040 | 2E322E31 34372020 00070018 002D3139 |.2.147 .....-19| 000050 | 322E3136 382E322E 31343720 20202020 |2.168.2.147 | 000060 | 20202020 20202020 20202020 20202020 | | 000070 | 20202020 20202020 20202000 18001100 | .....| 000080 | 01450011 00120004 37313020 00120013 |.E......710 ....| 000090 | 00043731 30200013 00080020 70637261 |..710 ..... pcra| 0000a0 | 6E746F6E 69747363 68202020 20202020 |ntonitsch | 0000b0 | 20202020 20202020 20202020 00080006 | ....| 0000c0 | 00803C75 6E6B6E6F 776E3E00 00000000 |..<unknown>.....| 0000d0 | 00000000 00000000 00000000 00000000 |................| 0000e0 | 00000000 00000000 00000000 00000000 |................| 0000f0 | 00000000 00000000 00000000 00000000 |................| 000100 | 00000000 00000000 00000000 00000000 |................| 000110 | 00000000 00000000 00000000 00000000 |................| 000120 | 00000000 00000000 00000000 00000000 |................| 000130 | 00000000 00000000 00000000 00000000 |................| 000140 | 00000006 05140010 DC6DBDF6 A78DC0F1 |.........m......| 000150 | A49F0001 4A5FABE3 05140130 00135769 |....J_.....0..Wi| 000160 | 6E646F77 73417070 6C696361 74696F6E |ndowsApplication| 000170 | 31013001 11000453 41502A01 11011700 |1.0....SAP*.....| 000180 | 0B29400A 005C57AD 0992673E 01170671 |.)@..\W...g>...q| 000190 | 00000671 01140003 30303001 14011500 |...q....000.....| 0001a0 | 01200115 05010001 01050101 36002502 |. ..........6.%.| 0001b0 | 2D6C6031 2FDE03D7 3C000024 559F0302 |-l`1/...<..$U...| 0001c0 | F6BD6DDC 8DA7F1C0 A49F0001 4A5FABE3 |..m.........J_..| 0001d0 | 00000001 01360502 00000502 000B0003 |.....6..........| 0001e0 | 37313000 0B010200 07524643 50494E47 |710......RFCPING| 0001f0 | 01020514 0010DC6D BDF6A78D C0F1A49F |.......m........| 000200 | 00014A5F ABE30514 FFFF0000 FFFF0000 |..J_............| >>>> [1] <unknown> : EXT <ac: 4> L 127.0.0.1 >>> FLUSH(WRITE) (85625931) -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} { }_{ }_0- __1

          <* RfcCall [1] : returns 0:RFC_OK

          >>> RfcListen [1] ...

          >>>> [1] <unknown> : EXT <ac: 5> L 127.0.0.1 >>> FLUSH(WRITE) (85625931)

          -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3}

          { }_{ }_0-

          1 >>> RfcListen [1] ... >>> RfcListen [1] ... >>> RfcListen [1] ... >>> RfcListen [1] ... >>> RfcListen [1] ... >>>> Listen/WaitForRequest (counter = 6) >>>> [1] <unknown> : EXT <ac: 6> L 127.0.0.1 >>> LISTEN (85625931) -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} { }_{ }_0- __1 000000 | 01010008 01010101 01010000 01010103 |................| 000010 | 00040000 020B0103 0106000B 01010000 |................| 000020 | 01030100 00002301 06001600 04313130 |......#......110| 000030 | 30001600 07000F31 39322E31 36382E32 |0......192.168.2| 000040 | 2E313437 20200007 0018002D 3139322E |.147 .....-192.| 000050 | 3136382E 322E3134 37202020 20202020 |168.2.147 | 000060 | 20202020 20202020 20202020 20202020 | | 000070 | 20202020 20202020 20001800 11000133 | ......3| 000080 | 00110012 00043730 30200012 00130004 |......700 ......| 000090 | 37303020 00130008 00207063 72616E74 |700 ..... pcrant| 0000a0 | 6F6E6974 7363685F 4E53505F 30302020 |onitsch_NSP_00 | 0000b0 | 20202020 20202020 20200008 00060080 | ......| 0000c0 | 70637261 6E746F6E 69747363 685F4E53 |pcrantonitsch_NS| 0000d0 | 505F3030 00000000 00000000 00000000 |P_00............| 0000e0 | 00000000 00000000 00000000 00000000 |................| 0000f0 | 00000000 00000000 00000000 00000000 |................| 000100 | 00000000 00000000 00000000 00000000 |................| 000110 | 00000000 00000000 00000000 00000000 |................| 000120 | 00000000 00000000 00000000 00000000 |................| 000130 | 00000000 00000000 00000000 00000000 |................| 000140 | 00060514 0010DC6D BDF6A78D C0F1A49F |.......m........| 000150 | 00014A5F ABE30514 05000000 05000503 |..J_............| 000160 | 00000503 05140010 DC6DBDF6 A78DC0F1 |.........m......| 000170 | A49F0001 4A5FABE3 05140512 00000512 |....J_..........| 000180 | 01300028 5341504C 53595354 20202020 |.0.(SAPLSYST | 000190 | 20202020 20202020 20202020 20202020 | | 0001a0 | 20202020 20202020 20202020 01300667 | .0.g| 0001b0 | 00080000 00000040 63400667 067101E8 |.......@c@.g.q..| 0001c0 | 416A4578 4D444142 41417854 51564171 |AjExMDABAAxTQVAq| 0001d0 | 49434167 49434167 49434143 41414D77 |ICAgICAgICACAAMw| 0001e0 | 4D444144 4141684F 55314167 49434167 |MDADAAhOU1AgICAg| 0001f0 | 49415141 44444977 4D446377 4F544934 |IAQADDIwMDcwOTI4| 000200 | 4D544979 4E515541 42414141 41416747 |MTIyNQUABAAAAAgG| 000210 | 41414659 43514142 52516F41 44464E42 |AAFYCQABRQoADFNB| 000220 | 55436F67 49434167 49434167 49417341 |UCogICAgICAgIAsA| 000230 | 41303554 55417741 43453554 55434167 |A05TUAwACE5TUCAg| 000240 | 49434167 4451414D 4D6A4177 4E7A4135 |ICAgDQAMMjAwNzA5| 000250 | 4D6A6778 4D6A4931 44674141 2F774430 |MjgxMjI1DgAA/wD0| 000260 | 4D494878 42676B71 686B6947 39773042 |MIHxBgkqhkiG9w0B| 000270 | 42774B67 67654D77 67654143 41514578 |BwKggeMwgeACAQEx| 000280 | 437A414A 42675572 44674D43 47675541 |CzAJBgUrDgMCGgUA| 000290 | 4D417347 43537147 53496233 44514548 |MAsGCSqGSIb3DQEH| 0002a0 | 41544742 77444342 76514942 41544154 |ATGBwDCBvQIBATAT| 0002b0 | 4D413478 4444414B 42674E56 42414D54 |MA4xDDAKBgNVBAMT| 0002c0 | 41303554 55414942 4144414A 42675572 |A05TUAIBADAJBgUr| 0002d0 | 44674D43 47675541 6F463077 4741594A |DgMCGgUAoF0wGAYJ| 0002e0 | 4B6F5A49 6876634E 41516B44 4D517347 |KoZIhvcNAQkDMQsG| 0002f0 | 43537147 53496233 44514548 41544163 |CSqGSIb3DQEHATAc| 000300 | 42676B71 686B6947 39773042 43515578 |BgkqhkiG9w0BCQUx| 000310 | 4478634E 4D446377 4F544934 4D544979 |DxcNMDcwOTI4MTIy| 000320 | 4E545533 576A416A 42676B71 686B6947 |NTU3WjAjBgkqhkiG| 000330 | 39773042 43515178 46675155 6E5A5875 |9w0BCQQxFgQUnZXu| 000340 | 36795045 45654538 772F766F 6C54656E |6yPEEeE8w/volTen| 000350 | 4B357455 4C336777 43515948 4B6F5A49 |K5tUL3gwCQYHKoZI| 000360 | 7A6A6745 41775175 4D437743 4643766A |zjgEAwQuMCwCFCvj| 000370 | 674D6E4F 4C67654C 57756139 6C4F3543 |gMnOLgeLWua9lO5C| 000380 | 39475743 46307267 4168524E 596C3146 |9GWCF0rgAhRNYl1F| 000390 | 70346153 78384F47 6741214C 574E5434 |p4aSx8OGgA!LWNT4| 0003a0 | 6F384B21 33413D3D 0671FFFF 0000FFFF |o8K!3A==.q......| <* RfcListen [1] : returns 0:RFC_OK >>> RfcReceive [1] ... Received RFCHEADER [1]: 01/LIT/IEEE/SPACE/1100 Received UNICODE-RFCHEADER [1]: cp:1100/ce:IGNORE/et:3/cs:1/rc:0x00000023 UUID: ab_rfccheck_uuid compare uuid's {F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} UUID: ab_rfccheck_uuid compare uuid's {F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} *> RfcReceive handle = 1 parameter = <NULL> tables = <NULL> Data conversion On <* RfcReceive [1] : returns 0:RFC_OK <<< RfcOpenEx succesfull >>> RfcCallReceive [1] ... >TS> Fri Sep 28 14:25:58 2007 >>> RfcCall [1] ... *> RfcCall FUNCTION RFC_SYSTEM_INFO handle = 1 DT ERROR> ab_dtrfcSendInfo (rc: 1>>>> [1] <unknown> : EXT <ac: 7> L 127.0.0.1 >>> FLUSH (READ) (85625931) -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} { }_{ }_0- __2

          { }_{ }_0-

          2 UUID: RfcCallNew send the uuid to the partner {F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} >>>> [1] <unknown> : EXT <ac: 8> L 127.0.0.1 >>> WRITE (85625931) -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} { }_{ }_0- __2 000000 | 01360025 40000000 D845DB03 5031DB03 |.6.%@....E..P1..| 000010 | 00000000 00F6BD6D DC8DA7F1 C0A49F00 |.......m........| 000020 | 014A5FAB E3000000 02013605 02000005 |.J_.......6.....| 000030 | 02000B00 03373130 000B0102 000F5246 |.....710......RF| 000040 | 435F5359 5354454D 5F494E46 4F010205 |C_SYSTEM_INFO...| 000050 | 140010DC 6DBDF6A7 8DC0F1A4 9F00014A |....m..........J| 000060 | 5FABE305 14FFFF00 00FFFF00 00000000 |_...............| >>>> [1] <unknown> : EXT <ac: 9> L 127.0.0.1 >>> FLUSH(WRITE) (85625931) -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} { }_{ }_0- __2

          <* RfcCall [1] : returns 0:RFC_OK

          >>> RfcReceive [1] ...

          >>>> [1] <unknown> : EXT <ac: 10> L 127.0.0.1 >>> FLUSH(WRITE) (85625931)

          -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3}

          { }_{ }_0-

          2 >>>> [1] <unknown> : EXT <ac: 11> L 127.0.0.1 >>> READ (85625931) -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} { }_{ }_0- __2 000000 | 05000000 05000503 00000503 05140010 |................| 000010 | DC6DBDF6 A78DC0F1 A49F0001 4A5FABE3 |.m..........J_..| 000020 | 05140512 00000512 02010011 43555252 |............CURR| 000030 | 454E545F 5245534F 55524345 53020102 |ENT_RESOURCES...| 000040 | 03000402 00000002 03020100 114D4158 |.............MAX| 000050 | 494D414C 5F524553 4F555243 45530201 |IMAL_RESOURCES..| 000060 | 02030004 02000000 02030201 00115245 |..............RE| 000070 | 434F4D4D 454E4445 445F4445 4C415902 |COMMENDED_DELAY.| 000080 | 01020300 04000000 00020302 01000C52 |...............R| 000090 | 46435349 5F455850 4F525402 01020300 |FCSI_EXPORT.....| 0000a0 | F5303131 31313030 4C495449 45337063 |.0111100LITIE3pc| 0000b0 | 72616E74 6F6E6974 7363685F 4E53505F |rantonitsch_NSP_| 0000c0 | 30302020 20202020 20202020 20207063 |00 pc| 0000d0 | 72616E74 6F6E4E53 50202020 20204E53 |rantonNSP NS| 0000e0 | 50202020 20207063 72616E74 6F6E6974 |P pcrantonit| 0000f0 | 73636820 20202020 20202020 20202020 |sch | 000100 | 20202020 20204144 41424153 20442020 | ADABAS D | 000110 | 37303020 20203536 3057696E 646F7773 |700 560Windows| 000120 | 204E5420 20333630 30583139 322E3136 | NT 3600X192.16| 000130 | 382E322E 31343720 20373030 20706372 |8.2.147 700 pcr| 000140 | 616E746F 6E697473 63682020 20202020 |antonitsch | 000150 | 20202020 20202020 20202020 20202020 | | 000160 | 20202020 20202020 20313932 2E313638 | 192.168| 000170 | 2E322E31 34372020 20202020 20202020 |.2.147 | 000180 | 20202020 20202020 20202020 20202020 | | 000190 | 20202020 20200203 01300028 5341504C | ...0.(SAPL| 0001a0 | 53524643 20202020 20202020 20202020 |SRFC | 0001b0 | 20202020 20202020 20202020 20202020 | | 0001c0 | 20202020 01300667 00080000 00000080 | .0.g........| 0001d0 | 58400667 FFFF0000 FFFF0000 00000000 |X@.g............| UUID: ab_rfccheck_uuid compare uuid's {F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} ***Discarding unrequested P:CURRENT_RESOURCES ***Discarding unrequested P:MAXIMAL_RESOURCES ***Discarding unrequested P:RECOMMENDED_DELAY Receiving P:RFCSI_EXPORT *> RfcReceive handle = 1 parameter[0].name = RFCSI_EXPORT parameter[0].nlen = 12 parameter[0].addr = 03D4FDA3 parameter[0].leng = 200 parameter[0].type = RFCTYPE_CHAR Data conversion On <* RfcReceive [1] : returns 0:RFC_OK <* RfcCallReceive [1] : returns 0:RFC_OK >>> RfcGetAttributes [1] ... >>>> rfcOrgHandle [1] <<<< rfcOrgHandle returned [1] <* RfcGetAttributes [1] successfull >>> RfcGetTicket [1] ... <* RfcGetTicket [1] : returns 0:RFC_OK >>> [1] RfcSetCodePage (1100)... >>> RfcCallReceive [1] ... >>> RfcCall [1] ... *> RfcCall FUNCTION SUSR_LOGIN_CHECK_RFC handle = 1 parameter = <NULL> tables = <NULL> DT ERROR> ab_dtrfcSendInfo (rc: 1>>>> [1] <unknown> : EXT <ac: 12> L 127.0.0.1 >>> FLUSH (READ) (85625931) -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} { }_{ }_0- __3

          Send RFCHEADER: 01/LIT/IEEE/SPACE/1100

          Send UNICODE-RFCHEADER: cp:1100/ce:IGNORE/et:5/cs:1/rc:0x00000023

          UUID: send_rfcuuid {F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3}

          { }_{ }_0-

          3 UUID: RfcCallNew send the uuid to the partner {F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} >>>> [1] <unknown> : EXT <ac: 13> L 127.0.0.1 >>> WRITE (85625931) -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} { }_{ }_0- __3 000000 | 01010008 01010101 01010000 01010103 |................| 000010 | 00040000 060B0103 0106000B 01010000 |................| 000020 | 01050100 00002301 06000700 0F313932 |......#......192| 000030 | 2E313638 2E322E31 34372020 00070018 |.168.2.147 ....| 000040 | 002D3139 322E3136 382E322E 31343720 |.-192.168.2.147 | 000050 | 20202020 20202020 20202020 20202020 | | 000060 | 20202020 20202020 20202020 20202000 | .| 000070 | 18001100 01450011 00120004 37313020 |.....E......710 | 000080 | 00120013 00043731 30200013 00080020 |......710 ..... | 000090 | 70637261 6E746F6E 69747363 68202020 |pcrantonitsch | 0000a0 | 20202020 20202020 20202020 20202020 | | 0000b0 | 00080006 00807063 72616E74 6F6E6974 |......pcrantonit| 0000c0 | 7363685F 4E53505F 30300000 00000000 |sch_NSP_00......| 0000d0 | 00000000 00000000 00000000 00000000 |................| 0000e0 | 00000000 00000000 00000000 00000000 |................| 0000f0 | 00000000 00000000 00000000 00000000 |................| 000100 | 00000000 00000000 00000000 00000000 |................| 000110 | 00000000 00000000 00000000 00000000 |................| 000120 | 00000000 00000000 00000000 00000000 |................| 000130 | 00000000 00000006 05140010 DC6DBDF6 |.............m..| 000140 | A78DC0F1 A49F0001 4A5FABE3 05140130 |........J_.....0| 000150 | 00135769 6E646F77 73417070 6C696361 |..WindowsApplica| 000160 | 74696F6E 31013001 36002540 000000D8 |tion1.0.6.%@....| 000170 | 45DB0350 31DB0300 00000000 F6BD6DDC |E..P1.........m.| 000180 | 8DA7F1C0 A49F0001 4A5FABE3 00000003 |........J_......| 000190 | 01360502 00000502 000B0003 37313000 |.6..........710.| 0001a0 | 0B010200 14535553 525F4C4F 47494E5F |.....SUSR_LOGIN_| 0001b0 | 43484543 4B5F5246 43010205 140010DC |CHECK_RFC.......| 0001c0 | 6DBDF6A7 8DC0F1A4 9F00014A 5FABE305 |m..........J_...| 0001d0 | 14FFFF00 00FFFF00 00000000 00000000 |................| >>>> [1] <unknown> : EXT <ac: 14> L 127.0.0.1 >>> FLUSH(WRITE) (85625931) -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} { }_{ }_0- __3

          <* RfcCall [1] : returns 0:RFC_OK

          >>> RfcReceive [1] ...

          >>>> [1] <unknown> : EXT <ac: 15> L 127.0.0.1 >>> FLUSH(WRITE) (85625931)

          -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3}

          { }_{ }_0-

          3 >>>> [1] <unknown> : EXT <ac: 16> L 127.0.0.1 >>> READ (85625931) -{F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3} { }_{ }_0- __3

          000000 | 05000000 05000503 00000503 05140010 |................|

          000010 | DC6DBDF6 A78DC0F1 A49F0001 4A5FABE3 |.m..........J_..|

          000020 | 05140512 00000512 01300028 5341504C |.........0.(SAPL|

          000030 | 5355534F 20202020 20202020 20202020 |SUSO |

          000040 | 20202020 20202020 20202020 20202020 | |

          000050 | 20202020 01300667 00080000 00000040 | .0.g.......@|

          000060 | 71400667 FFFF0000 FFFF0000 00000000 |q@.g............|

          UUID: ab_rfccheck_uuid compare uuid's {F6BD6DDC-8DA7-F1C0-A49F-00014A5FABE3}

          *> RfcReceive

          handle = 1

          parameter = <NULL>

          tables = <NULL>

          Data conversion On

          <* RfcReceive [1] : returns 0:RFC_OK

          <* RfcCallReceive [1] : returns 0:RFC_OK

          >>> RfcGetCodePagesInfo [1] ...

          thanks in advance!

          Add comment
          10|10000 characters needed characters exceeded