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..

Similar Messages

  • Character conversion problems when calling FM via RFC from Unicode ECC 6.0?

    Hi all,
    I faced a Cyrillic character convertion problem while calling an RFC function from R/3 ECC 6.0 (initialized as Unicode system - c.p. 4103). My target system is R/3 4.6C with default c.p. 1500.
    The parameter I used in my FM interface in target system is of type CHAR10 (single-byte, obviously).
    I have defined rfc-connection (SM59) as an ABAP connection and further client/logon language/user/password are supplied.
    The problem I faced is, that Cyrillic symbols are transferred as '#' in the target system ('#' is set as default symbol in RFC-destination definition in case character convertion error is met).
    Checking convertions between c.p. 4103  and target c.p. 1500 in my source system using tools of transaction i18n shows no errors - means conversion passed O.K. It seems default character conversion executed by source system whithin the scope of RFC-destination definition is doing something wrong.
    Further, I played with MDMP & Unicode settings whithin the RFC-destination definition with no successful result - perhaps due to lack of documentation for how to set and manage these parameters.
    The question is: have someone any experience with any conversion between Unicode and non-Unicide systems via RFC-call (non-English target obligatory !!!), or can anyone share valuable information regarding this issue - what should be managed in the RFC-destination in order to get character conversion working? Is it acceptable to use any character parameter in the target function module interface at all?
    Many thanks in advance.
    Regards,
    Ivaylo Mutafchiev
    Senior SAP ABAP Consultant

    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..

  • Sending IDocs via RFC Adapter

    Hello!
    In an itegration scenario, we need to send (non XML) IDocs via RFC to a remote R/3 system (4.6C). As we don't want to get these IDocs persisted on the target system, it's intended to address the remote functions directly.
    Now the problem:
    - RFC Adapter only works with XML IDocs (so we cannot transfrom back to native IDoc)
    - IDoc-Adapter sends native IDocs, but only to IDOC_INBOUND_ASYNCHRONOUS on target system (and the Idocs will be persisted)
    In a next step, we also tried to implement a workaround with a local ABAP proxy on the XI system. But it seems, that it's not allowed to call a abap proxy locally on the integration engine.
    Has anybody any idea to solve this problem? Maybe I'm thinking too complicated Help is highly appreciated!
    Cheers,
    Matthias

    Hi,
    what kind of document you want to post?
    most (many) IDOCs use BAPIs so you can
    just call the BAPI (RFC) from XI
    >>>But it seems, that it's not allowed to call a abap proxy locally on the integration engine.
    you can call it on another client on the XI
    (which is set as application system in SXMB_ADM)
    Regards,
    michal

  • Problems with sending IDocs into R/3 using BPM

    Hi Vishnu,
    as I have read the forum, you have experience with sending IDocs into R/3 from XI using the BPM.
    Did you have problem, that this sending takes very long time?
    My BPM splits the xml, sends IDoc into R/3 immediately, but the processing of the 2nd IDoc takes 6-10 minutes!
    Do you have any idea, what could be wrong?
    Thanx 4 answer, Peter

    Vishnu, I was discussing this problem in another thread, but no helpful answer was sent, and I have read, that you have experience, so - just for explanation
    Well,
    yes, this situation is really strange.. New facts are:
    when I send into XI XML, which is splitted in the BPM only into 1 IDoc, it is processed immediately. When I send there XML for 2 IDocs, the first is processed immediately, the 2nd starts immediately, but end of process is after 6-10 minutes, it depends... Then I tried to send there XML for 10 IDocs - and now attention please! 5 of them have been processed almost immediately, 5 of them after 8 minutes...  The last test was with 16 items - 6 processed immediately, 10 after 10 minutes...  And all these 10 minutes was my 4 processor XI box unavailable, with over 60% load... But finally the IDocs arrive!!
    Any explanation???
    This is really unbelievable situation!
    Port name is SAPDEV, rfc destination DEVCLNT100
    Actually, when I was creating the scenarion using the wizard and trying to add my communication channel(IDoc type) to receiver agreement, I got error - communication channel is not configured correctly, use another one. But somewhere I read, that I should create the receiver agreement manually. So I did.
    To my BPM:
    -receive MSG
    -switch (but I'm testing only one branch now) - and the MSG message is always passed here, it's ok
    -then I have transformation to MultiMSG (message with multiple DATA for multiple IDOCS)
    -then comes the split mapping Multi2SingleMSG
    -then ForEach Block with sending the Single MSG
    this is the end of the BPM, and outside the BPM comes the mapping Single2IdocMSG and sending the IDoc into R/3
    before I had the Single2Idoc mapping in the BPM, but thought, that this could be the bottleneck, so moved the mapping after the BPM... It didn't help...
    So, what do you say?
    Peter

  • 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

  • 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

  • Send idocs or RFC from R/3 to biztalk

    hi All,
    We have an requirement of transferring master data from R/3 to biztalk whenever any cahnge to the master data is made.
    We are contemplating using IDocs or RFC to do this transfer. If it were a R/3 to R/3 transfer then I have come across many docs where it is stated that idocs is by far a better option than RFC but I am just wondering if same applies when we do it to biztalk.
    The reason I had the above doubt was because I dont know if we can use ALE as means of transporting the idocs ( i vaguely remember creating partner profiles. since biztalk is not a SAP system how can I create a partner profile for it ).
    I was wondering if someone has come across a similar situation and probably point me in the right direction.
    thanks,
    Gautam

    Hi Gautam,
    Yes, IDoc can be trigerred by configuring change pointer from SAP R/3 on change in master data. There are many ways to integrate SAP with Biztalk. Have a look at these links for more details -
    1. http://www.microsoft.com/isv/sap/technology/interop/biztalk.aspx
    2. http://download.microsoft.com/download/5/7/f/57f1490e-8a8d-497b-bbae-ec2a44b3799f/BizTalkSAPXIInterop.pdf
    3. http://social.msdn.microsoft.com/Search/en-US?query=idoc%20from%20sap&ac=8
    Regards,
    Sunil Chandra

  • GUI_DOWNLOAD problems with CR+LF when transfering from unicode system

    Hi,
    I was successfuly used FM GUI_DOWNLOAD in a non-unicode systems for years. Lately I faced a challenge to rewrite my code for a unicode system. The configuration is:
    - SAP R/3 unicode system;
    - data to be downloaded at presentation server in a non-unicode codepage (cp 9504).
    I have successfuly used a GUI_DOWNLOAD-parameter CODEPAGE and the data is translated correctly when checking local file, but due to some reasons CRLF are replaced with '#' (which is default value of REPLACEMENT parameter of this function) - means at the end of each row as a result I have '##' instead of CRLF.
    My question is: how can I force correct behaviour of GUI_DOWNLOAD in order to get my output file at presentation server with CR+LF?
    Any help would be highly appreciated.
    Many thanks in advance.
    Regards,
    Ivaylo Mutafchiev
    SAP/ABAP consultant
    VBS Ltd.
    P.S. In order to find some other way to fix my problem I'm still playing with the instanciation of a CL_ABAP_CONV_OBJ and its methods create & convert, but without success for now - resulted strings are not as expected.

    Hi,
    in fact, I never placed CRLF in my lines before your suggestion. The rest was done by the FM 'GUI_DOWNLOAD'. It works fine even when I use unicode file as output - means I got my CRLF at the end of the record in MY OUTPUT FILE ONLY but not in my internal table - I never placed CR+LF in there.
    The problem occures when I tried to use GUI_DOWNLOAD with parameter CODEPAGE = '9504' (some non-unicode codepage), and the original data (my internal table) is in unicode. Then (in my opinion) this function doesn't translate the unicoded CR+LF into non-unicode ones (if thats possible at all, I can't be sure) and the result is '##' in the output file.
    I checked the value of CL_ABAP_CHAR_UTILITIES=>CR_LF by getting it in my variable - and it is '##'.
    Whet should I put into this class-attribute in order to get it working in this scenario? I have no idea...
    The attribute type is ABAP_CR_LF - which is char 2.
    What next?
    Thanks,
    Ivaylo

  • Problem with send email to recipients From recordset behavior

    Hello
    I use the ^send email to recipients From recordset^ behavior, then words of the subject of  sent email stick and the spaces between words in subject removed.
    E-Mail charset is utf-8 and language is Persian
    for example:
    موضوع ايميل من
    will be change to:
    موضوعايميلمن
    notice: spaces are removed
    To overcome this problem, please help me
    sorry, i'm not good in english
    Thanks

    Persian language is very similar to arabic language
    Please help me, I can't solve this problem

  • Droid Charge - 3rd one, same problem with sending photos via text (MMS)

    Sending photos via text messaging (stock messaging client) does not work consistently.
    In a 4G area, the texts go through fine with minimal errors (perhaps 1 out of 20 failures to send)
    In a 3G or less, the texts give me an error message of "Failed" or pending, whether or not the recipient gets it (usually the recipient does not get the message) - this is true of recipients with AT&T, Sprint and Verizon service with smartphones and Blackberries.
    If I do not delete the thread, I get the message "Too many unsent multimedia messages" and the phone will not initiate the send.  The phone will, however, continue to try to sending the photo, causing very rapid battery drain.
    The last phone was replaced because the phone was not closing out the message, according to the last technician to whom I spoke.
    Is there something else I can do to get the full functionality of the phone I paid for?  This is an extremely frustrating issue, and makes me regret switching to Verizon.

        Hi moonchef!
    Sending pictures is something I do on a daily basis, so I know how important this is! It is true that pictures have to be sent over the VZW network and not Wifi. I would like to ask you if you resent the same picture that failed? Or did you send the same picture again, but in a separate message? Please try sending it again separately and let me know the results. Thanks!
    Christina B
    VZW Support
    Follow us on Twitter @VZWSupport

  • Problem with sender agreement in rfc

    My scenary is RFC -> XI -> FILE.
    I created one message interface with atribute asyncronous and output message the rfc.
    I created one interface mapping and message mapping
    In integration directory I created one chanel of comunication,the receiver determination, the interface determination, the receiver agreement and the sender agreement. In the sender agreement in interface I put the same name of message interface and then I activated all.
    When i execute the rfc i have one dump. This dump is "senderAgreement not found: lookup of binding via CPA-cache". But i declarated and activated the sender agreement.
    Somebody knows the problem.
    Thank's for all.

    Hi Antonio,
               A few things that you should know:
    1) You need not create a message interface for RFC, as RFC iself is an interface.
    2) You need to create one inbound message interface for file message.
    3) You will need two message mapping, one for request message and one for response message in case yours is a synchronous scenario. But only one message mapping (request) in case of asynchronous scenario.
    4)One interface mapping both for sync and async scenario.
    In Integration Directory:
    1) 2 communication channels: sender RFC and receiver File.
    2) 1 Receiver determination, interface determination and sender aggrement.
    Regards,
    Ashish

  • Problems with sender IDoc scenario

    hi experts..,
    when i create message Interface for a Outbound Idoc my scenario is not working.
    if i use idoc directly instead of message interface its working properly
    And in Interface Determination if i gv interface mapping we are gting errors and without mentioning interface mapping in Configuration its is working fine
    can any one explain me what is the reason for my two questions
    thx in advance
    john wesly

    Hi,
    I will explain one example by taking one IDOC
    we have ORDERS05 Idoc and we are using the same Idoc for two scenarios
    Scenario1 -
    IDOC---File( FTP Server)
    Scenario2----IDOC-JDBC
    Now let us assume that we have configured two scenarios.
    If we trigger the IDOC Orders05 from SAP R/3 means
    1) The Idoc will be triggered and it will reach to XI.
    Now your doubt is which Receiver will be take place and to be executed.
    This time the problem my come or may not come, let it be like that.
    If your requirement is like the above mentioned thing means
    1) We can develop a single scenario like
                     IDOC-------File( FTP Server)
    JDBC
    Here what we have to do is when the idoc comes to xi we have route the Idoc to the particular receiver based on some condition in Receiver Determination
    And one more thing is in mapping also if we have two mappings then we can use Interface determination based on condition which interface mapping to be execute.
    I hope this clears yor doubt
    Regards
    Seshagiri

  • Problem with image capture via firewire from sony camcorder TRV20E

    I'm new to premiere pro. Have checked compat. of camcorder with PProCS3 and am told by Adobe technical team it is ok. So what am I not doing? I've followed the on-line help but still no video. It must be in the settings PLEASE can someone offer me some pointers. I've gone back to the Preferences - Device Control - options and having not found the model of the camcorder I've put the settings back to the default - but that made no difference.
    I'm working on a Mac and have even tried opening the camcorder in i-movie but it doesn't pick up the connection from the camcorder. Is this an oh so simple thing I'm missing? I'm really stuck and would really appreciate some feedback. Thank you

    Susan,
    Several folk have had issues with Capture from a myriad number of cameras. As Matthew noted, his Capture worked with a certain sequence. Others have noted different sequences, that worked for them.
    Sequences to try:
    1.) Plug in camera (iLink) and turn it on. Start PP and then Capture
    2.) Plug in camera, but do NOT turn it on. Start PP, then Capture, then turn camera on
    3.) Start PP, plug in camera, turn it on, then start Capture
    4.) Start PP, plug in camera, but do NOT turn it on. Start Capture, then turn on camera
    It would be great if all cameras worked exactly the same way, but it seems that they do not.
    One note: if your iLink cable is a powered cable make sure that the camera is turned off, BEFORE you plug in the cable. With a powered cable, I make sure that the device is both off and its power cord is not attached. Too many fried IEEE-1394 sockets can result from having the computer on and the device on. Do not make this mistake. This is for the powered IEEE-1394 cables - the ones with the "U" shaped, large plugs. Please read this paragraph again, if you have a powered cable, or read the specs to see if you do. Most camera IEEE-1394 connections are not powered, but make sure first!
    I'd even suggest that you do a search of the Premiere forums, not just CS3, and plug in "Firewire," "iLink," "cable" and read.
    As for sequences that worked with certain camera models, Jim Simon posted several articles on his findings. I think that Steven Gotz did, as well.
    Hunt

  • Problems with sending via url

    Hi there, I've got a problem with sending via an URL. If I send and receive something I use a method called connect. This method works well, I construct a URL, connect and receive an ObjectStream.
    But as I only want to set some values in another use case I do not want to receive anything,
    But it doesn't work - my servlet does not receive any request.
    Could anyone please help me to solve this?
    Thank you.
    Regards
    Tarik
    private synchronized static void connectOneWay(String data)
                throws IOException, ClassNotFoundException {
            try {
                URLConnection connection = null;
                URL testServlet = null;
                Class classLock = ServletConnector.class;
                while (locked)
                    classLock.wait();
                locked = true;
                testServlet = new URL(servletURL + data);
                if (MMSCMSTree.debug)
                    System.out.println("Servlet URL: " + testServlet);
                connection = testServlet.openConnection();
                connection.setDoInput(false);
                connection.connect();
                locked = false;
                classLock.notify();
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

    Hi
    There was not a problem with this, the problem was on the server side, infinite loop ... :-)
    Regards
    Tarik

  • Problem with Send and Receive Emal In SAP System

    Hi gurus!
    I have a following quote:
    Dear !
    I have a problem with send and receive email in SAP system following :
    I want to test send and receive email in local network at my company. I
    had two server
    Server 1 : I setup Exchange Mail Server 2007 with domain controller is
    fes.com
    Server 2 : I setup SAP ERP ECC 6.0
    On Server 1 : I created 2 account ( u1Afes.com and u2Afes.com ) and then I tested send and receive email between u1 and u2 in local network through Microsoft Outlook 2007 -> OK
    and then
    On Server 2: I had configured send and receive email on SAP system
    through tcode SBWP, SCOT and SOST as Note 455140 - "Configuration of
    e-mail, fax, paging or SMS using SMTP"
    for example :
    I logged in SAP system with user Basis01 (with email u1Afes.com ) -> then,using tcode SBWP -> new message -> send to u2Afes.com with Internet Mail type and then status message with green light -> sending ok
    and then I have used Microsoft Outlook 2007, I logged with account u2 ->check email -> Ok. I saw message which send from u1
    Finally, My problem is how can receive mail in SAP system without using Microsoft Outlook
    For example:
    Login system SAP with Basis01 account (with  u1Afes.com ) -> tcode SBWP ->New Message -> send to u2Afes.com
    and then
    Login system SAP with Basis02 account (with u2Afes.com ) -> tcode ??? ->
    To receive email from Basis01 (with u1Afes.com )
    Please help me now
    Thanks
    I replace "@" with "A" because of banning email of this forum.
    This quote is about sending email in local network. And we can't receive any email from the outside email address. Addition if I wanna send email to internal email in Internet (we've just tried with email address in local network) What should I config in SAP and Exchange ?
    By the way, Is SAP Server IP added to Relay Agent for sending or receiving mail ?
    Regards
    An NLP
    Edited by: An NLP on Apr 6, 2010 7:03 PM

    Hi,
    This problem is a classic problem of mail routing via Exchange. Exchange like most mail servers use the domain part of the email address as a means to route mails. So I will make an assumption that your main company mail addrss is "User @ fes.com".
    So when you send a mail to the "User @ fes.com mail" address the mail is delivered to your Outlook mail address as this is the default route for company.
    (Q) So how do you get your Exchange server to relay the mail into the sending SAP system?
    (A) The easiest way would be to setup and unique mail domain for your SAP system. I always recommend "user @ client.sid.company.com" which in your case would be "u1 @ 100.PRD.fes.com". You can then instruct Exchange to send any emails addressed to 100.PRD.fes.com domain to your SAP system. Also using this format of address you can configure multiple mail connections into multiple SAP systems.
    (A) Another answer would be to enter the "Full" email address (LOcal and Domain part of address) into the routing rule for Exchange e.g. "U1 @ fes.com" so that all emails addressed to this user will be delivered into SAP. However this method requires a lot of Admin as you will have to update Exchange with ALL email address that need to receive emails. Also if your corporate mail address is "U1 @ fes.com" then all mails will be forwarded to SAP.
    I would definitely NOT recommend this method but the decision is up to you.
    P.S. The IP address of the SAP system is entered into the mail header of the email. This is standard practice in SMTP relay. You can suppress this header in Exchange
    Hope this helps
    Michael

Maybe you are looking for

  • Vista 64bit t and itunes 7.5

    I just installed Itunes 7.5 on my windows vista 64bit machine. The software loaded fine but the cd burning function doesn't work. Anyone have a solution to this problem? I know that Itunes 7.5 is not a vista 64 bit piece of software. Notwithstanding

  • Message for Dirk Herzog . Routine Help

    Hello, I saw in Eugenes blog a routine you have provided for removing invalid/HEX characters during loads .When i try to use that routine in my transformations in BI 7.0 i get an error message .This is my code, followed by the error on the bottom. DA

  • Size of tape cartridge

    Hi, I have a DAT 72 tape drive connected to 280R/v240 running Solaris 8/10. I would like to know whether I can find out how much space is left on the tape cartridge. I can figure out how much space has been occupied, but not what is remaining (unless

  • Folders in Webmail

    Hello all my mail is now sending and receiving. My issue to solve now is when I look at it through web-mail I get an error "ERROR: Could not complete request. Query: CREATE "INBOX/Sent" Reason Given: Invalid mailbox name". I see no folders just the e

  • Dreamweaver CC Won't Open Files

    I'm a DW newbie, and I just installed DW CC after getting a CC subscription. Upon opening up DW, I discovered that it won't open any locally saved HTML files; the interface will flash for a millisecond, as if the file is about to open, but then...not