Unicode or non-unicode RFCSDK

Has someone experience with connecting an unicode SAP-system with a non-unicode subsystem? Which version of the rfcsdk do I need to compile the subsystem, unicode or non-unicode?

Even though this post is really old, I thought I'd reply for the benefit of others.
Your best bet is to use the unicode version of RFC SDK. Then, irrespective of whether the SAP system is unicode or non-unicode, you only need to send unicode bytes. the SDK will take care of the conversion to the code page of the SAP system.

Similar Messages

  • How to verify if the RFC/BAPIs on ECC6 ides are unicode (UTF16) enabled

    Hello,
    I am not a SAP expert however I have knowledge about SAP RFCSDK. Let me give some background about what I am trying to do which would help to clear my question a bit more.
    1. I have a program written in "C", which uses RFCSDK to communicate with SAP server for  integration. This program works fine with non unicode RFCSDK 6.40
    2. For one of my need, I need to add UTF16 support to this code. So I am using unicode version of RFCSDK 6.40 with SAPwithUNICODE flag set. And using librfc32u.dll (Build : Tue Apr 08 09:22:11 2008, File version : 6405, 5, 228, 5755, Product version : 6405.5.228)
    3. I am using code page : 4103 (UTF16LE) in RfcOpenEx while communicating with SAP server.
    4. I am able to logon to the SAP server (version ECC6) successfully and also able to execute RFC_GET_FUNCTION_INTERFACE successfully to get interface info of the RFC. I am using function "RfcGetStructureInfoAsTable" from RFCSDK to get structure info, which also seems to be OK.
    After gathering the above info when I am trying to execute a BAPI I am getting "RFC_SYS_EXCEPTION" error.
    5. I am trying to execute "BAPI_EMPLOYEE_GETLIST" and I have already checked all the import parameters (including field values in RFC_PARAMETER structure) and they all seems to be correct. On execution I am getting following error in the trace file (.trc).
    T:3480 Error in program 'nleiact': ======> "SELECT ... LIKE ..." with leading, but no closing inverted comma.
    T:3480 Error in program 'nleiact': <* RfcReceive [1] : returns 3:RFC_SYS_EXCEPTION
    T:3480 Error in program 'nleiact': <* RfcCallReceive [1] : returns 3:RFC_SYS_EXCEPTION
    I was wondering if the RFC/BAPI on the SAP server might not be unicode (UTF16) enabled as one of the cause of this failure.
    Could somebody help me to point out a method to verify whether the RFC/BAPIs on this SAP server are unicode enabled or not?
    Also (I know it is against guidelines of forum of having multiple questions in one post) could somebody point out if I am doing something wrong or missing something in procedure (as described above.) of using unicode RFCSDK?
    Thanks
    Prasanna Joshi
    Edited by: Prasanna Joshi on Feb 4, 2009 4:15 PM

    Finding out the system code page you may need to first look this fm SCP_CODEPAGE_BY_EXTERNAL_NAME  and also check other function module under function group SCPA
    PS These fm are not RFC's you may need to write wrapper above these to use.

  • Cannot locate Non-Unicode SAP RFCSDK 6.20

    Hi,
    I downloaded saprfc-1.4.1-5.2.2 and Installed PHP 5.2.2, I then went to download on-Unicode SAP RFCSDK 6.20 for my platform (Windows XP, or I can use 2000/2003 server 32bit if I need to)
    So I went to download SAP RFC SDK but its not there ?!?
    Support Packages and Patches - My Company's Application Components- SAP WEB AS - SAP WEB AS 6.20 - SAP RFC SDK>)   "No Data Available"
    Under 6.40 I can see some exist but only for IA64 etc and the saprfc php connector notes tell me to use 6.20.  Did anybody else have this problem? Can somebody do me a favour and e-mail me this file?
    Many thanks
    Rob
    rob.arundel AT freecom.com

    Hi Again,
    I have SAP GUI 6.40 installed on my PC and so it seems I did not need the SDK, its all working now;o)
    Now that testing has worked I am now planning on doing this from a Linux box without the GUI installed so will I now need the SDK? Where can it be obtained from?
    Many thanks
    Rob

  • Facing an issue with error "RSTG_FREE_ILLEGAL_ADDRESS"

    Hello,
    I am facing one issue while reading interface information for "BAPI_EMPLOYEE_GETDATA", from SAP ECC6 server while using "librfc32u.dll".
    The "librfc32u.dll" and "librfc32.dll", used are the one that get installed with SAP GUI client 7.10. File version is "7100.3.125.5937".
    I am getting this error while using unicode RFCSDK dll (librfc32u.dll) only, If I carry out this operation using non unicode DLL (librfc32.dll) I am not getting this error.
    While using unicode RFCSDK, I am using code page "4103", and operating system is Windows XP SP2.
    We have a program which does data exchange with SAP using RFCSDK. In this program first we try to read the interface info of a BAPI using RFC_GET_FUNCTION_INTERFACE.
    While Reading interface info of BAPI_EMPLOYEE_GETDATA, I am getting "RSTG_FREE_ILLEGAL_ADDRESS" while releasing the table handle. Below I have listed deatils of the trace (from .trc file).
    <* RfcGetStructureInfoAsTable [1] : returns 0:RFC_OK
    Error in program 'nserver': ***************************************************************
    Error in program 'nserver': * Error in application program.
    Error in program 'nserver': * SAP error code : RSTG_FREE_ILLEGAL_ADDRESS
    Error in program 'nserver': * Try ABAP/4 report RSNAPDOK to read complete message text.
    Error in program 'nserver': * Also look at the system log in the target system
    Error in program 'nserver': * function/module/line : rstg_free/abstor0./421
    Error in program 'nserver': * Parameters
    Error in program 'nserver': * 0: 0EC489A8
    Error in program 'nserver': * 1: 1094861136l
    Error in program 'nserver': * 2: 32
    Error in program 'nserver': * 3:
    Error in program 'nserver': * 4:
    Error in program 'nserver': * 5:
    Error in program 'nserver': * 6:
    Error in program 'nserver': * 7:
    Error in program 'nserver': * 8:
    Error in program 'nserver': ***************************************************************
    Error in program 'nserver': ***** closing all connections ...
    >>>> [1] <unknown>    : EXT  <ac: 52> L 9.153.165.236 >>> CLOSE abrfcio.c 2830 (74572601)
    Before executing "RFC_GET_FUNCTION_INTERFACE" to read interface info of "BAPI_EMPOYEE_GETDATA", for table "PARAMS", we create handle using following code
    tab[0].ithandle= ItCreate((rfc_char_t *)tab->name, tab->leng, 0, 0);
    Where, tab->name = "BAPI_EMPOYEE_GETDATA" and tab->leng = 400
    Once we read all the required info we release the table handle, mentioned above using following code
    ItDelete(tab[0].ithandle);
    To troubleshoot this what I did is as soon as I execute "RFC_GET_FUNCTION_INTERFACE" and get table handle. I immediately tried to release this handle without doing any further oprations in the code. I am still getting the same error.
    I have observed this error with this BAPI (BAPI_EMPOYEE_GETDATA) only. The operation works fine with other RFCs and BAPIs
    Could you please suggest how I could resolve this error? I have gone through the different threads listed in the forum for this error however they did not help to resolve the issue.
    Thanks.

    Hello,
    I am facing one issue while reading interface information for "BAPI_EMPLOYEE_GETDATA", from SAP ECC6 server while using "librfc32u.dll".
    The "librfc32u.dll" and "librfc32.dll", used are the one that get installed with SAP GUI client 7.10. File version is "7100.3.125.5937".
    I am getting this error while using unicode RFCSDK dll (librfc32u.dll) only, If I carry out this operation using non unicode DLL (librfc32.dll) I am not getting this error.
    While using unicode RFCSDK, I am using code page "4103", and operating system is Windows XP SP2.
    We have a program which does data exchange with SAP using RFCSDK. In this program first we try to read the interface info of a BAPI using RFC_GET_FUNCTION_INTERFACE.
    While Reading interface info of BAPI_EMPLOYEE_GETDATA, I am getting "RSTG_FREE_ILLEGAL_ADDRESS" while releasing the table handle. Below I have listed deatils of the trace (from .trc file).
    <* RfcGetStructureInfoAsTable [1] : returns 0:RFC_OK
    Error in program 'nserver': ***************************************************************
    Error in program 'nserver': * Error in application program.
    Error in program 'nserver': * SAP error code : RSTG_FREE_ILLEGAL_ADDRESS
    Error in program 'nserver': * Try ABAP/4 report RSNAPDOK to read complete message text.
    Error in program 'nserver': * Also look at the system log in the target system
    Error in program 'nserver': * function/module/line : rstg_free/abstor0./421
    Error in program 'nserver': * Parameters
    Error in program 'nserver': * 0: 0EC489A8
    Error in program 'nserver': * 1: 1094861136l
    Error in program 'nserver': * 2: 32
    Error in program 'nserver': * 3:
    Error in program 'nserver': * 4:
    Error in program 'nserver': * 5:
    Error in program 'nserver': * 6:
    Error in program 'nserver': * 7:
    Error in program 'nserver': * 8:
    Error in program 'nserver': ***************************************************************
    Error in program 'nserver': ***** closing all connections ...
    >>>> [1] <unknown>    : EXT  <ac: 52> L 9.153.165.236 >>> CLOSE abrfcio.c 2830 (74572601)
    Before executing "RFC_GET_FUNCTION_INTERFACE" to read interface info of "BAPI_EMPOYEE_GETDATA", for table "PARAMS", we create handle using following code
    tab[0].ithandle= ItCreate((rfc_char_t *)tab->name, tab->leng, 0, 0);
    Where, tab->name = "BAPI_EMPOYEE_GETDATA" and tab->leng = 400
    Once we read all the required info we release the table handle, mentioned above using following code
    ItDelete(tab[0].ithandle);
    To troubleshoot this what I did is as soon as I execute "RFC_GET_FUNCTION_INTERFACE" and get table handle. I immediately tried to release this handle without doing any further oprations in the code. I am still getting the same error.
    I have observed this error with this BAPI (BAPI_EMPOYEE_GETDATA) only. The operation works fine with other RFCs and BAPIs
    Could you please suggest how I could resolve this error? I have gone through the different threads listed in the forum for this error however they did not help to resolve the issue.
    Thanks.

  • Error during Upgradation SCM 5.0 to SCM 5.1 Non-Unicode System

    Hi,
    I am Upgrading SCM 5.0 Non-Unicode System to SCM 5.1 Non-unicode on Windows 2003 Server with MSS 2005 DB. During the initial PREPARE (EXTRACTKRN_PRE) phase I am getting an error like
    init
    2010/06/15 07:03:45 PREPARE: START OF PHASE EXTRACTKRN_PRE
    ERROR: Cannot find file 'C:\SCM_2007_Upgrade_Media\51033508_8\NW_7.0_SR3_Kernel_WINDOWS__LNX_X86\KN_WINDOWS_X86_64_AUPG
    KERNEL.TOC'
    SEVERE ERROR(S) OCCURRED IN EXTRACTKRN_PRE !!!
    The file name it is looking for does not exist in any of the Kernel versions I have checked. If I try to skip this step it is asking for the PASSWORD. How can I get this password? (only from SAP Support or any note?).
    What is the Solution for the above ERROR. Please help.
    Thanks,
    Ajay.

    > I am not posting the question in the same group. I am posting in different groups due the confusion of in which group to post > > and of course to get faster response. All people cant check all the groups to answer. Moreover I am not keeping the questions > open. As soon as I get the answer I am proving the answer in every group and immediately closing the question.
    > So what is the problem with that? I do not think this is creating any inconvenience to any one, just increasing the number of questions in the group.
    This is not wanted as written in the "Rules of engagement". This is a public forum, not a "help desk".
    > OK, As you said If I post only in a single group do you guarantee that you will check every time all the groups to answer my question/ find my question?
    Again, this is a forum where the question are answered on a volunteered basis. "Demanding" help is not the way to go, you can ask for help but there's no guarantee that you'll get an answer. If you urgently need help use the official support channels or get yourself a consultant on-site who can answer all your question instantly.
    > And please paste the URL of those rules that this is wrong. Since I didnt read that.
    It's the first entry in every forum, it contains the "Rules of Engagement" which say:
    Please do not Cross post.
    Post your question in the most appropriate forum; not multiple forums. This is bad netiquette and will might only aggravate potential repliers.
    Just imagine if everyone like you would paste questions in several forums.
    Markus
    Edited by: Markus Doehr on Jun 15, 2010 5:29 PM
    Edited by: Markus Doehr on Jun 15, 2010 5:30 PM

  • Unicode Errors - Interface with non-Unicode 3rd party system

    Does anyone have an experience working with an interface between a Unicode SAP system and a non-Unicode 3rd party system? Would appreciate your input on existing data declaration and logic (prior to SAP Unicode conversion), if changes need to be made to the character types and upload/download functions.
    We are doing our testing in a newly converted Unicode system which has interface sending files through SAP Business Connector, and uses TDAccess/COMM-PRESS to encrypt the payment file.
    We are getting an COMM-PRESS error that it's not able to get the private key
    ERR=>RC=107#Error building signature segment (S1A/S2A) ERR=>#Error getting private key: #PUBLIC KEY FINGERPRINT = , rc = 524
    The issue seems to be that the passphrase is not received correctly in COMM-PRESS (codepage 1100) from Unicode SAP (codepage 4102). The passphrase is uploaded from a text file (codepage 1100?) to T_PPLOC and then to W_PPLOC.
    TYPES: BEGIN OF T_PPLOC,
             FLINE(64) TYPE C,
           END OF T_PPLOC.
    DATA: W_PPLOC(64)  TYPE C
    CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            FILENAME                = W_FILENAME
            FILETYPE                = 'BIN'
          TABLES
            DATA_TAB                = T_PPLOC
        LOOP AT T_PPLOC.
          IF W_PPLOC IS INITIAL.
            MOVE T_PPLOC-FLINE TO W_PPLOC.
          ELSE.
            CONCATENATE W_PPLOC T_PPLOC-FLINE INTO W_PPLOC.
          ENDIF.
        ENDLOOP.
    Comparing the results between a Unicode and non-Unicode system, the uploaded passphrase is different because of the codepage. But even if I convert the passphrase first from 1100 to 4102 codepage, it still fails.

    Hi,
    Try this by sending value to the CODEPAGE parameter of the function module GUI_UPLOAD.
    aRs

  • Unable to load German characters in NON Unicode Essbase Cube

    Hi Guys,
    This is what we want to do:
    Build a Cube for Germany on our Essbase server in US. Our users will access cube using Excel Add-In from Germany. But since the Essbase server is in US, system environment variable ESSLANG is set to English_UnitedStates.Latin1@Binary.
    The version of Essbase we are using is 7.1.3.
    What we tried & failed:
    To load German characters from our dimension build Text file, we added a header: //ESS_LOCALE German_Germany.Latin1@Default
    at the beginning of the dim build Text file hoping the rule file will understand that the file contains German characters & load it correctly. Then using EAS I load the dimensions using its corresponding rule file.
    Essbase loads the dimensions correctly, with NO Error, but when it encounters German characters it Replaces it with a Question Mark "?"
    Some of the German characters are:ß Ü ü Ö ö Ä ä Å Ä Ö
    Lastly, the reason we do not want to build Unicode cube is because Excel Add-In will not work with Unicode cubes.
    Its urgent. Please help.
    Thanks.

    The simple and easy way to check
    non-unicode character sets are not supported on unicode system any longer. Am I right?
    Transaction code i18N
    Select
    trouble shooting --> printing  test --> smartforms --> multiple scripts, select your output device and see print preview. it will display all supported characters.
    I guess, above information will be useful for closing the thread.
    Regards,
    SaiRam

  • Unable to Open unix file in UNICODE system which created NON-UNICODE system

    Unable to Open unix file in UNICODE system which created in NON-UNICODE system
    We have two SAP systems both are ECC6.0 but System 1 is NON-Unicode and System2 is Unicode system.
    There is a common unix directory/folder for both system.
    Our requirement is to create one file on unix common folder and write the data to file from system1 .
    In system2 open the same file for appending mode to write the data .
    The file in system 1 created with below sentence.
    OPEN DATASET g_unix_file FOR OUTPUT IN TEXT MODE ENCODING UTF-8.
    Now I have to append the data from system 2 to same file.
    I have tried to used below statement in system 2 to open the file but sy-subrc value comes as '8'.
    1> OPEN DATASET g_unix_file FOR APPENDING IN TEXT MODE ENCODING UTF-8.
    2>OPEN DATASET g_unix_file FOR APPENDING IN legacy TEXT MODE CODE PAGE
    cdp IGNORING CONVERSION ERRORS  .
    3>OPEN DATASET g_unix_file FOR APPENDING IN TEXT MODE ENCODING Default.
    4>OPEN DATASET g_unix_file FOR APPENDING IN TEXT MODE ENCODING NON-UNICODE.
    Tried out all the possibilities as per F1 help given for open dataset , but still there is problem with opn file in appending as well output mode.However the file successfully open in Input mode(Read).
    Please advice suggestion to resolve this issue.
    Thanks.

    Messgae captured as 'Permission Denied". The program gets triggered with system user Id PPID.
    How to check the security access of the User ID.

  • 0CUSTOMER data from Unicode R/3 to Non-Unocode BW Error

    Hi,
    I am getting error data when extracting 0CUSTOMER_ATTR.
    the error is similar to SDN Link: [Extraction from a unicode ERP to a non unicode BW|Extraction from a unicode ERP to a non unicode BW]
    We don't have any Languages installed at present.
    we are getting this error for Chinese char. In the above link there is a mention to do Initialization of SPRAS in INCLUDE ZXRSAU02. Can anyone explain this.
    in the Table T002: SPRAS=ZH is set to Chinese; if we initialize to ZH how about other languages.
    Please Suggest.
    Thanks,
    Joseph M

    Did anyone face similar issue...

  • Windows 8.1 Pro Non-Unicode Issue: CS6 Standard

    I use WIndows 8.1 Pro English, I installed the CS6 Standard in Spanish, I changed the language for the non-unicode programs to spanish but still cannot use the Illustrator, I am having issue only with the Illustrator, noting that in the installation I was prompt for Spanish(Latin America) or Just Spanish, I clicked on Spanish(Latin America), but in the non-Unicode languages there is no Spanish(non-Unicode) they have Spanish per countries.

    I have the same problem did you manage to find the solution? is impossible to contact adobe helpers, they just hide all contact

  • Gettin data from SAP R/3 4.7 unicode sys to SAP ERP non-unicode sys via RFC

    We are trying to get data from SAP R/3 4.7 unicode sys to SAP ERP non-unicode sys via RFC. We are reading field from the database via FM and this field got converted by SAP standard Method (CL_ABAP_CONTAINER_UTILITIES=>fill_CONTAINER_C) from structure. When reading this field from ERP sys and converted back to structure using SAP standard Method the value is un-accurate, and different(blank) giving values.
    How, if the data originally was a char or numeric it works fine, but not for decimal.
    best regards,
    Abu-Qaht

    I have a range fields with different type of ranges, am saving these to the database by converting them to a string via the same method. I got the same problem so I tried to convert the string to xstring using function “SCMS_STRING_TO_XSTRING”, before send it to the other system, but the function raised an exception: CX_SY_CONVERSION_CODEPAGE

  • Post-process after the upgrade to non-Unicode

    Hello all,
    I'm doing a CU&UC and just completed the first part - non-Unicode.
    Since it will be followed immediately by a Unicode conversion, do you really need to do all the post-upgrade tasks? And if not, which are the mandatory part?
    Thanks again,
    Terry

    You can take the CU&UC Guide..... after upgrade and before unicode it's mandatory to do some steps, aall about unicode preparation.....after do it you can do the export....
    Has you begun this????.
    Regards,
    Alfredo.

  • RFC destination definition with non-unicode external program

    Hello All,
    we have one issue with our RFID system connecting to WM system (SWD). 
    For most functions, external RFID server/middleware makes RFC call to SAP system.  Means, from outside system to inside SAP.  This seems to be working fine.
    But in one case, SAP needs to print label to RFID printer.  In this case, SAP is calling external RFID server/middleware using RFC destination.  Means, from inside SAP to outside system.  This is failing.
    We think this has something to do with ECC60 being unicode system, and the RFC destination setup.  We define rfc destination "ZRFID_SSI" in SM59.  We define it same way as in as-is SSI 4.6B production system.  But in SWD ECC60 system, SM59 has more options.  We define as 'non-unicode' because target RFID server/middleware is non-unicode Windows server.  RFC destination is actually working ok.
    To send label to printer, SWD calls function ZFSSIRF202 with remote destination ZRFID_SSI.   Listener on RFID server/middleware will respond to function call.  This also seems to be working.  But then, RFID server/middleware cannot process the data from ZFSSIRF202, log says that data is "0".  (Actually, the first time SWD calls, log says 0 data, the 2nd time there is connection failure, the 3rd time it is 0 data, 4th time connection failure, etc, etc.)
    Compared with production environment, everything is the same, except that SAP is unicode system.  So, our suspicion is, that when ECC60 system sends data, it is encoded somewhat a little different than when SAP 46B system sends data.  I have similar experience with our other interface (XSI), also involving RFC desintion, but XML file exchange.  Here, ECC60 is encoding XML file with UTF-16, but SAP46B was encoding with UTF-8.
    Anyone know how to help ?

    Hi Jeongbae,
    as of NW 7.0 EhP2, it is possible to directly set the code page in SM59.
    In earlier releases, this is not possible.
    In general, SAP systems use the logon language (SY-LANGU)  to determine the code page, if this is available.
    Please check SAP note 788239.
    Please also have a look at SAP note 991572 for possible alternative settings, if SY-LANGU is not available.
    In addition I would recommend to have a look at SAP note 1021459.
    However in order to analyze the problem properly, you need to know the exact short dump text (via rfc trace).
    For XML processing, please read SAP note 1017101. UTF-16 should NOT be used in an XML file !
    Best regards,
    Nils Buerckel
    SAP AG

  • RFC Destination - Unicode / non - Unicode behavior

    Hi All,
    In our current production system the RFC destination from R3 to Xi is non-unicode.We have currently 300 Interfaces running using this RFC destination in production.
    In few upcoming requirements for some 15 Interfaces some special characters will come from R3 to Xi system.In this case we need a unicode RFC Destination.
    I have a query here , can i go ahead and change the existing RFC destination to Unicode or is it suggestible to create a new RFC destination only for these 15 Interfaces?
    Need expert advice on this?
    <<Text removed>>
    Regards,
    RK
    Edited by: Matt on Oct 5, 2011 9:38 AM

    Hello,
    The Non-Unicode Single code page systems are supported by SAP for older applications for historical reasons - unicode was not available when they were released. These systems are restricted to only processing characters from their specific code page. This means their can be restrictions if they need to support language combinations that span multiple code pages - basically it is not possible. In addition some languages are not fully available at all for single code page systems like Thai. In addition the Euro symbol is not available.
    Unicode is the future for all applications - SAP or otherwise. The significance at the moment is where customers who needs to convert to unicode to support additional business requirements like additional languages. Converting a system, although a simple process is not a trivial process in terms of time and resources.
    So u can go ahead and change the existing RFC destination to Unicode .it will not create any prob. for other interfaces which are using non unicode setting.
    Regards
    Monica

  • Client Copy between unicode system and non-unicode system

    Hello,
    we have to build up a new system for japan. It is planned to install a new 4.7Ext200 unicode system and then make a client copy from a non-unicode 4.7Ext200 (language= german, english) system to the unicode system. I don't think that this is possible way, but I can't find information regarding client copies from non-unicode to unicode. I would advice the project to convert the existing non-unicode system to unicode, make a system copy for the new system and then install japan languages. Any information, which can help me.
    Regards,
    Alexander

    Hi,
    without conversion client copy is not possible
    look at following
    Re: Client copy between unicode and Non-unicode
    regards,
    kaushal

Maybe you are looking for