Skip to Content
author's profile photo Former Member
Former Member



I call via RFC a FB in SAP named Z_ITESOFT_ARCHIV02 with some export parameters, the FB itself works correct but I get allways an exception back:

25.07.105 18:40:22.115 *** Calling RFC Function 'Z_ITESOFT_ARCHIV02'

25.07.105 18:40:22.161 RFC CALL status = RFC_SYS_EXCEPTION

25.07.105 18:40:22.161 RFC Error: RFC_IO27


-Message:connection closed

-Internal Status:IO HANDLE=1 DRV=EXT LINE=1400 CODE=27 : GET ID=ffff LINE=846 CODE=7

25.07.105 18:40:22.161 Function call finished.

FMFOSapRfc;25.07.05;18:40:22;[Info ];ITESOFT;FMFOSapRfc.iCON:LinkBarcode;Func.Call failed: 3 | 'SYSTEM_FAILURE'

here the code snippet in VB:

Set Func = SapFuncs.Add(strFuncLinkBcd)

Func.Exports("IDOCNUM") = strDocnum

Func.Exports("BCODE") = strBarcode

Func.Exports("LOG_SYSTEM") = ""

Func.Exports("CLASSNAME") = strClassname ' from ini file

Func.Exports("CLASSTYPE") = strClasstype ' from ini file

Func.Exports("CONTREP") = strContrep ' from ini file

Func.Exports("DOCUTYPE") = strDocutype ' from ini file

Func.Exports("BDSBARCOM") = strBdsbarcom ' from ini file

CallOk = Func.Call

SapRet = Func.ReturnCode

Any ideas why I get allways this error?


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 26, 2005 at 05:42 AM

    Hi Enrico,

    you should check the function module in SAP. Perhaps this one throws the exception. Who has implemented that?

    Bye, Christoph

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Christoph Claus

      it seems to be a problem with the FB from our Business Partner, there is an export parameter BDSBARCOM, if I set it to 'X', the the error occurs, if I let it empty then the function quits with ok, but now the FB do not works correctly. Thanks for the hint with sm21, there I saw some messages with this field BDSBARCOM!

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.