RFC_SYS_EXCEPTION when sending IDOC via tRFC from external program to R/3

Hi all,
using the RFCSDK 6.40 and writing a program in C which sends IDOC' s using tRFC to SAP.
When I send my EDI_DC40 and EDI_DD40 tables to R/3 with:
TCHAR strFktName[] = (_T("IDOC_INBOUND_ASYNCHRONOUS"));
     rfc_rc = ::RfcIndirectCallEx (m_rfc_handle,
                                strFktName,
                                exporting,
                                tables,
                                rfc_tid);
--> rfc_rc gets back an RFC_SYS_EXCEPTION
When I check for
RfcLastErrorEx(&m_error_info);
--> I get back:
Beim Empfangen von Daten für einen Rfc-Call ist ein Fehler aufgetreten
(in english --> an error occured when reciving data from rfc-call)
dump check in R/3 tells:
Fehleranalyse                                                                               
Beim Ausführen eines Remote Function Calls trat ein Fehler auf.                                                                               
"RFC_GET4"                                                                               
Zustand der Verbindung.. " "                                                                  
    Interner Fehlercode..... "RFC_GET4"
Any idea what goes wrong here?
Already checked very detailed the data I send to R/3 - but it doesent matter what I send - I get the same error every time.
Thanks,
Robert

Reviving an old thread...
I'm getting a similar error making RFC calls from a stand-alone program to an ABAP server using JCo:
RFC_GET4, GET_ID-3c05 LINE 990
Any ideas?
Thanks.
Tim

Similar Messages

  • Problems with sending IDOC via RFC from Unicode to NonUnic

    Hello
    I have following problem, sending an IDOC via RFC from Unicode to Non Unicode System. IDoc is not sent with error: codepage of receiver system cant determined. receiver destination was: Message no. B1999
    I have tried different options in sm59, but it didnt help.
    Any ideas? The recipient system is rather old, version 4.0

    hey,
    I had a similar experience. I was interfacing between 4.6 (RFC), PI and ECC 6.0 (ABAP Proxy). When data was passed from ECC to 4.6, RFC received them incorrectly. So i had to send trimmed strings from ECC and receive them as strings in RFC (esp for CURR and QUAN fields). Also the receiver communication channel in PI (between PI and  RFC) had to be set as Non unicode. This helped a bit. But still I am getting 2 issues, truncation of values and some additional digits !! But the above changes resolved unwanted characters problem like "<" and "#". You can find a related post in my id. Hope this info helps..

  • Configuring mail priority when sending mails via SMTP from ECC 6.0 system

    hi all,
    we have the problem, that mails which we send via SMTP out of ECC 6.0 system
    reach our SMTP server with very low priority. So the server usualy send them in the evening.
    Is there a possibility to configure global priority for mails?
    best regards
    Davor

    Goto SCOT transaction, double click on STMP you will find the option
    Maximum waiting time for repeat send attempt procedure:
    Hours/minutes       / 30. define the time over there.
    II option execute the job- start send process,
    Regards,
    Mahesh

  • Recipient name field appears hijacked when sending item via email from apps

    When I am in an application, such as my Photo Library or Twitter and wish to send an item to an email address (my own), the recipient name field has been replaced by what looks to be a spam subject "Holidays in Mexico," instead of my own name. I can find no way to correct this, and it appears to be unique to my iPhone (running most current IOs version), not appearing on my iPads.
    Has anyone else run across this, and more importantly, how can I fix this?

    When I am in an application, such as my Photo Library or Twitter and wish to send an item to an email address (my own), the recipient name field has been replaced by what looks to be a spam subject "Holidays in Mexico," instead of my own name. I can find no way to correct this, and it appears to be unique to my iPhone (running most current IOs version), not appearing on my iPads.
    Has anyone else run across this, and more importantly, how can I fix this?

  • How can I send files via Bluetook from my Tour to other phones?

    How can I send files via Bluetook from my Tour to other phones?
    I have even been able to pair to the other device, but I don't see the option to send/copy/move files through Bluetooth.
    I can only send my Address book via bluetooth.
    Please help!!

    Hi and Welcome to the Community!
    See this KB:
    KB05409 Transfer a file using Bluetooth technology between two BlackBerry smartphones
    Substitute, in the KB, the appropriate instructions for your other device in place of the KB section for the receiving device. Be aware that RIM only supports BT file transfer between BBs...with other devices is technically unsupported. But, it usually works, as long as the two devices are paired, trusted to each other, and each have all of the correct BT services enabled for the configuration of the other device.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Problems with sending IDOC in tRFC.

    Hi All,
    I am sending IDOC to websphere from SAP.
    Problem is very weird. All the IDOCs have status 03, but some of them never reach webshpere.
    I checked SM58 and there are some tRFC entries for the same.
    Following is the error there:
    Check SAP Connector log. Error in BO Handler.
    I think problem is after the data has been sent to ALE layer.
    Can anyone suggest what can be the issue? And how can this be resolved.
    Regards
    Anuj

    Hi Anuj,
    As it seems like from the error message there is some problem with the way BO handler is responding to request BOs .
    The base class to initialize the connector has been set properly though.
    Check the log in SM21 on this and it might give you the detailed information.
    Also check if you are passing the large objects, which might require some additional config.
    Hope these pointers help in solving the issue.
    Cheerio,
    Disha

  • [svn] 949: Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name , it causes a ClassCastException in the server

    Revision: 949
    Author: [email protected]
    Date: 2008-03-27 07:12:59 -0700 (Thu, 27 Mar 2008)
    Log Message:
    Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
    QA: Yes - try again with legacy-collection true and false.
    Doc: No
    Checkintests: Pass
    Details: Another try in fixing this bug. When legacy-collection is false, Actionscript Array on the client becomes Java Array on the server and my fix yesterday assumed this case. However, when legacy-collection is true, Actionscript Array becomes Java ArrayList on the server. So added code to handle this case.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-96
    Modified Paths:
    blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.java

    Hi all!
    Just to post the solution to this if anyone ever runs accross this thread...
    For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
    HashMap primaryFile = new HashMap();
    primaryFile.put("fileContent", bFile);
    primaryFile.put("fileName", uploadedFile.getFilename());
    operationBinding.getParamsMap().put("primaryFile", primaryFile);
    HashMap customDocMetadata = new HashMap();
    HashMap [] properties = new HashMap[1];
    HashMap customMetadataPropertyRoom = new HashMap();
    customMetadataPropertyRoom.put("name", "xRoom");
    customMetadataPropertyRoom.put("value", "SOME ROOM");
    properties[0] = customMetadataPropertyRoom;
    customDocMetadata.put("property", properties);
    operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
    Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
    Good luck all!

  • [svn] 931: Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name , it causes a ClassCastException in the server

    Revision: 931
    Author: [email protected]
    Date: 2008-03-26 11:31:01 -0700 (Wed, 26 Mar 2008)
    Log Message:
    Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
    QA: Yes - we need automated tests for this basic case.
    Doc: No
    Checkintests: Pass
    Details: RequestFilter was not handling multiple headers with the same name properly.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-96
    Modified Paths:
    blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.java

    Hi all!
    Just to post the solution to this if anyone ever runs accross this thread...
    For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
    HashMap primaryFile = new HashMap();
    primaryFile.put("fileContent", bFile);
    primaryFile.put("fileName", uploadedFile.getFilename());
    operationBinding.getParamsMap().put("primaryFile", primaryFile);
    HashMap customDocMetadata = new HashMap();
    HashMap [] properties = new HashMap[1];
    HashMap customMetadataPropertyRoom = new HashMap();
    customMetadataPropertyRoom.put("name", "xRoom");
    customMetadataPropertyRoom.put("value", "SOME ROOM");
    properties[0] = customMetadataPropertyRoom;
    customDocMetadata.put("property", properties);
    operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
    Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
    Good luck all!

  • I am not being able to send pictures via Bluetooth from my Samsung phone to my iPad mini and vice versa. So is there a setting or is it a compatibility issue ? Please help

    I am not being able to send pictures via Bluetooth from my Samsung phone to my iPad mini and vice versa. So is there a setting or is it a compatibility issue ? Please help

    You can also use a wireless flash drive.
    http://www.sandisk.com/products/wireless/flash-drive/

  • TS2755 Can't send messages via iMessage from iPad after iOS6 update.  What steps can I take to begin sending messages again?

    Can't send messages via iMessage from iPad after iOS6 update.  What steps can I take to begin sending messages again?

    HI,
    So you have updated past this point ?
    http://support.apple.com/kb/TS5419
    There also seems to be no issues listed here.
    http://www.apple.com/support/systemstatus/
    8:44 pm      Friday; April 25, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • When sending email via hotmail on both iPhone and iPad, I receive message an error occurred while delivering this message

    WHy all of a sudden, today, I can no longer send emails (via hotmail) from both iPhone 5s and ipad 2? I receive message that says "an error occurred while delivering this message".  I have no problem sending emails from PC.

    *** solved ***
    You have to add another SMTP server as following steps:
    Just go to hotmail acount setting
    Then click on SMTP in outgoing mail server
    Then click add server
    Host name: smtp-mail.outlook.com
    User name: your email
    Password: your password
    So now you can send mail
    Thanks

  • When sending/receiving an iMessage (from gmail address) how can I then receive or access my iMessages on my actual gmail account/inbox?

    When sending/receiving an iMessage (from gmail address) how can I then receive or access my iMessages on my actual gmail account/inbox?

    Hi,
    The Messages app can join 5 different services.
    The "iChat Originals" that include AIM, Jabber and Yahoo (although they were added at different times to the app)
    The Bonjour account that has been present for LAN based Mac to Mac chat and lastly the iMessages account in the Messages app that iChat has become.
    Google email IDs can be used as a Jabber ID in Messages as Google run a Jabber server.
    As the Google server does not follow conventional naming formatting it has it's own Add option in Messages.
    Effectively all the services are separate.
    Any email used as an Apple ID can be the iMessages account.
    Of course this may be a Google one like you have that can also be used as  Jabber/GoogleTalk ID or it may be an Apple issued ID (@mac.com @me.com or @icloud.com) that will also work as a Valid AIM Screen Name.
    It may be that someone has their Yahoo email as their Apple ID.
    8:35 pm      Monday; August 11, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • BAPI_TRIP_CREATE_FROM_DATA works in SE37, but not from external program

    BAPI_TRIP_CREATE_FROM_DATA works in SE37, but gives error when calling from external program.
    The error is "Deserialisation failed". I have the WSDL generated by a Web Service wizard in SE 37,
    so there should not be any problem like element name or case(upper/lower) mismatch etc. I populate all mandatory fields.
    I am using the web service created by wizard in a InfoPath form.
    This is the exact error:
    The SOAP response indicates that an error occurred:
    Deserialisation failed

    Thanks for this pointer. I downloaded the code and looked at the same. It very useful as conceptual and coding guidance. However, there are many BAPis working in our product already, only a few return the same error "Deserialisation failed" The sample you pointed out uses BAPI_FLTRIP_CREATE but we have problem with the following BAPIs:
    BAPI_TRIP_CREATE_FROM_DATA
    BAPI_ADDRESSEMP_CREATE
    BAPI_FAMILY_CREATE
    All of them give error similar to following:
    Deserialisation failed
    <detail>
        <n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates">
                    <MainName>/1BCDWB/WSS0071212021944898000</MainName>
                    <ProgName>/1BCDWB/WSS0071212021944898000</ProgName>
                    <Line>170 </Line>
                    <Valid>X</Valid>
                    <ReferenceFault>
                                    <DescriptionText>Error accessing the ref. node 'EMPLOYEENUMBER'</DescriptionText>
                                    <RefName>EMPLOYEENUMBER</RefName>
                    </ReferenceFault>
                    <Caller>
                                    <Class>CL_SRG_RFC_PROXY_CONTEXT</Class>
                                    <Method>IF_SXML_PART~DECODE</Method><Positions>1 </Positions>
                    </Caller>
       </n0:SimpleTransformationFault>
    </detail>
    Any more suggestions are most welcome and highly appreciated.

  • How to manage firefox from external program

    How I can manage Firefox from external program?
    I have several site's with very complex contents - AJAX, SSL and so on. And I would like to "give tasks" to Firefox - give me HTML of this page after all updates using AJAX or click on that links.
    It's it possible? if yes than how?

    Hai follow the bellow steps
    Sending system side(SEND--800)
    Create function module by using Tcode SE37 or SE80
    goto attributes select remote function
    activate
    Receiving system side(RECE--000)
    goto Tcode SM59
    here select the R/3 Connections-->click on Create Button
    give RFC Desstination : TESTRFC
         Connection Type  : 3 for Connecting two systems
         Description      : Some meaningful Description
    Press enter
    give Target system Name : SEND
              Language      : EN
              Client        : 800
              user Name     : sapuser
              Password      : xxxxxx
    save this connections & click on test connections(f8)
                          & Remote logon(f7)---> it will open a session
                            with client 800 that is your sending system
                            then only your RFC is correct
    create a report in SE38 Tcode
    data : c1 type i.
    data : itab like mara occurs 0 with header line.
    call function 'ZRFCFM' destination 'TESTRFC' --->Function Module 'ZRFCFM' your just create at Sending system
         exporting
         importing
         exceptions.
    Thanks & regards
    Sreenivasulu P

  • How to operate 3d model in adobe reader from external program

    Is it possible to operate 3d model with adobe reader from external program?
    Such as selecting a spefic node of 3d model and and highlighting it in adobe reader.
    Thanks a lot!

    Thanks Irosenth,
    One thing I am still not quite sure. Do you mean I can use "Acrobat 3D API" to create the plugin? But seems the  "Acrobat 3D API" only works with
    Acrobat Pro Extended. 
    That means the plugin will not be able to work with adobe reader. Is that correct?
    Or do you mean any other API which work with the reader?
    Thanks.

Maybe you are looking for