Cyrillic characters issue in ABAP mapping

Hello Experts,
I am using ABAP mapping program to convert IDOC XML to flat file. Further i am using FIle adapter to write this file on FTP server.
My problem is:
When Idoc contains CYRILLIC characters in payload, then these characters appear as "#" after the mapping has executed.
If I check in SXMB_MONI in XI, the inbound payload displays data correctly. In "Request Message mapping" node, if I check the output of ABAP mapping program, then cyrillic characters are replaced with "#". The same "#" is then written to File.
Do you have any idea, how do i deal with this problem.
NOTE: I tried passing encoding type = UTF-8 to the function - SCMS_STRING_TO_XSTRING which is used the mapping program to set the encoding type, but it did not work.

@PI Expert: I tried to debug the ABAP mapping using SXI_MAPPING_TEST transaction, however when I paste my payload in the editor, the cyrillic characters appear as junk characters. Due to this, in the output, these junk characters are appear as "#"
@Sarvesh: I too initially thought that this could be problem with AL11, that it is not displaying the data correctly. However when I checked the "Request Message Mapping" node in SXMB_MONI, it showed "#" characters. Also the .csv file generated contains "#" only.
Thanks for your time and response.

Similar Messages

  • Issue in ABAP Mapping

    Hi All
    I am using ABAP mapping.
    After getting children of the root node, i create an iterator by the following statements:
    node_collection = root_node->get_children( ).
    node_iterator = node_collection->create_iterator( ).
    Now, In a loop, i want to get all the children in sequence. So, in the loop i am writing this statement:
    child = node_iterator->get_next( ).
    For the first iteration in the loop, 'child' gets the first child. But, for the second iteration, the 'child' value is becoming NULL.
    Am i doing anything wrong? How can i fix this?
    Thanks
    Chandra

    Hi Chandra,
    you should first check the existence of the node in something like:
    lo_xml_iterator = lo_xml_node_coll->create_iterator( ).
    lo_xml_node = lo_xml_iterator->get_next( ).
    while not lo_xml_node is initial.
      lo_xml_node = lo_xml_iterator->get_next( ).
    endwhile.
    Regards,
    Sergio

  • Special characters issue with Nokia Maps on N95

    Hi there,
    when using Navigation in conjunction with Nokia Maps on my N95, all streets and towns which contain any special character in their name (for example: é, è, ü, ä, ö, etc…) do appear as unreadable garbage on the screen of the N95.
    I only noticed the problem after having purchased the 3 years license Navigation upgrade (EUR 99.99) and immediately notified Nokia. That was back in October. Since then I have called them at least 10 times and ultimately I have asked for a refund as no solution is still available.
    In all these calls with Nokia, the only reasonable argument I heard was that maybe (!!!) the new software update version 20.0.015 released back at the end of November could solve the issue. Unfortunately, for my phone (which is a branded one) the update is not yet available.
    Today, after calling them again, I was told that Nokia’s policies do not foresee refunds and therefore my request has been rejected. I was told to bring my phone to a Nokia Store and see if they can help me (I don’t see how). I was also told that maybe I would have to send-in the phone for repair.
    This is soooo frustrating that despite the 3 months of patience and all the money spent for the N95 (not quite cheap), the navigation upgrade and the phone calls to Nokia, I still have the same issue. I will probably end up filing a complaint with a monthly consumer’s magazine in the hope they will publish my story.
    After all, it may not even be Nokia’s fault but rather the guys who are responsible for the maps, but if Nokia accepts to have a commercial venture with a vendor, than they also accept liability for the joint product. And by turning down my legitimate request for refund, they have proven not to give a **bleep** about people like you and me.
    Forgive me for the long post - needed to release some of the frustration...

    I have been using an N95-8GB since Nov.'07. From my experience with this phone that has a built-in mass memory besides the phone memory. I had trouble retrieving some of the softwares I have installed. For eg. I have saved some themes in the mass memory & I could not find it when I want to delete it. There are some 3rd parties games software inside where I cannot even delete
    This is what I don't like about the phone. I have bought an N82/Black recently as it uses an external memory card.
    Coming back to Nokia maps. Personnaly, I don't think they are that good & I have problem downloading it into my phone from my PC after having downloaded it from Nokia.
    By the way the Nokia map is not even the latest map 2.0. Is still a 1.0
    I used Navfone map software & it works OK in the 8GB. You have to purchase it.
    I have used a couple of N-series phones in the past ie. N-90, N-70, N-71, N-73, N-80/Black, N95, N-95/8GB & now N-82.
    Common with all N-series phones. After you have disconnected when you are done with your call you have to wait for a while before the word "disconnected" disappears.
    The more features it has, the more problem you are gonna to encounter.
    Unless you want to download softwares into your phone & have a good camera thats where the N series phones come in.
    For normal usage, a 40 series phone will suffice.

  • ABAP MAPPING PROGRAM TRANSPORTATION ISSUE

    Hi Experts,
    Our issue is as following:
    Already one ABAP mapping program is there in our DEV and in QA also.
    Now we have changes the code according to some requirement.
    Now we need to reflect the same in QA also.
    For that I have certain doubts.
    1) after releasing the request number in R/3, will it effect there in integration builder of the QA?
    2) Is there any need to do in ADMINISTRATION to reflect the same?
    Please revert urgenly.
    Regards
    sreeni

    hi barry,
    thanks a lot . we have released it into integration it is working fine.
    thanks once again and i wll reward points also.
    I think you can tell my one more doubt is as:
    I have one new ABAP mapping program which is not used till now in any interface mapping in ID of XI.
    now want use this my integration builder ID in as mapping program.
    in this case is any requirement to enable the same in Integration ADMINISTRATION tab.
    plz clarify me.
    regards
    sreeni

  • Chinese Characters in ABAP Mapping

    Hi All,
      I have one problem with chinese characters in ABAP Mapping. Actually there is an ABAP Mapping written in XI which converts IDoc to Idoc Flat file which is provided by SAP and is in the below link.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Chinese characters are properly coming to XI but after this ABAP mapping those characters are being replaced with #. Any idea on this pelase?
    Regards,
    Dinakar

    Hi !
    Check this thread:
    Unable to get Chinese Characters as output.
    Regards,
    Matias
    ps:please award points if helpful.

  • Cyrillic characters in Layer-7 Class Maps statements ?

    Hi,
    For a specific implementation, I need the ACE to parse URIs with cyrillic characters in a Layer-7 class-map. Does the ACE-4710 support it ?
    If yes, how to enter them in a L7 class-map statement like : match http url /Искусство.*
    Thank you for any hints
    Yves

    Hi Yves,
    I cannot find anything regarding this and i don't see a way to put that in there. I tried pasting it in my ACE and it didn't take it. I would suggest to open a TAC case for official confirmation.
    Regards,
    Kanwal
    Note: Please mark answers if they are helpful.

  • ABAP mapping issue

    Hi,
    I am using abap mapping to translate xml source to xml target. Source and Target file remains same except for one particular text node.
    Source Structure is
    <SYNC_PROJINFO_004>
           <CNTROLAREA>
                  <BSR>
                          <VERB value="SYNC">SYNC</VERB>
                  </BSR>
           </CNTROLAREA>
            <DATAAREA>
                 <PROJECT>ABC-01</PROJECT>
                 <DESCRIPTN>ABC - WBS Level 1</DESCRIPTN>
                 <SYNCIND>Z</SYNCIND>
                 <GLENTITYS>HED110</GLENTITYS>
            </DATAAREA>
    </SYNC_PROJINFO_004>
    Target file should be
    <SYNC_PROJINFO_004>
           <CNTROLAREA>
                  <BSR>
                          <VERB value="SYNC">SYNC</VERB>
                  </BSR>
           </CNTROLAREA>
            <DATAAREA>
                 <PROJECT>ABC-01</PROJECT>
                 <DESCRIPTN>ABC - WBS Level 1</DESCRIPTN>
                 <SYNCIND>A</SYNCIND>
            </DATAAREA>
    </SYNC_PROJINFO_004>
    The difference in this file is <GLENTITYS> tag is removed and <SYNCIND> tag content is changed to A.
    How do i get the text content from the tag <GLENTITYS> ?
    I am using following code
    data: inglentitys type ref to if_ixml_node_collection.
    inglentitys = idocument->get_elements_by_tag_name( 'GLENTITYS' ).
    The above does not give me the String? How do i get that?
    Thanks,
    Gowri

    Hi,
    I did add folllowing code
    data: outcode3 type ref to if_ixml_node.
    data: inglentitys type ref to if_ixml_node_collection.
    data : sndprn_1 TYPE string.
    inglentitys = idocument->get_elements_by_tag_name( 'GLENTITYS' ).
    outcode3 = inprj_parent->get_item( index = 0 ).
        if outcode3 is not initial.
         sndprn_1 = outcode3->get_value( ).
        else.
          sndprn_1 = 'XXX'.
        endif
    create element SYNCIND
        data: elem_SYNCIND type ref to if_ixml_element.
        elem_SYNCIND = odocument->create_simple_element(
                               name   = 'SYNCIND'
                               value = sndprn_1
                               parent = elem_PROJINFO ).
    It creates a tag when i give sndprn_1 as value. The abap program works fine. Now, i need to get SYNCIND tag content by calling a function module, which inturns query the table.
    sndprn_1 is the input parameter for the function mentioned below. The abap program errors out with the below mentioned code.
    Kindly help.
    CALL FUNCTION 'ZSET_PROJSTATUS'
        EXPORTING
          SNDPRN        = sndprn_1
          PSPID         = 'GPATIL'
          POSID         = 'GP'
        IMPORTING
          ENTRY         = i_entry.
    Thanks,
    Gowri

  • Mapping Issue ( ABAP Mapping ).... Help me out..

    hi masters.
    i want some help from ur side.
    i just jumped to XI domain..
    and got object of abap mapping..
    can u hep me.. out..
    the steps.. required for mapping..
    i went through some materials..
    still
    do u hv any idea..
    to clear my doubts..
    as
    suppose
             input idoc--
                            segment 1
                            segment 2
                                        segment 2.1
                                        segment 2.2
                                                     segment 2.2.1
                                                     segment 2.2.2
                            segment 3
    i wnat .....
                 a file having record of each  segment with its segment name
                 using   ABAP code..
    10xxxxxxxxxxxx   In advance
    Thanks & Rdegards.
    Someswar.

    Hi Keith,
    Look at these..
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/xi%20mapping%20lookups%20rfc%20api.pdf
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • Enqueue lock object in abap mapping

    Hi,
    In a idoc to file scenario, i need to garantee a unique target filename for message.
    I have a ZXI_I2155 table to mantain a counter by some key fields (cliente, anyo, mes)
    So, in an abap mapping I have:
       CALL FUNCTION 'ENQUEUE_EZXI_I2155'
          EXPORTING
            MODE_ZXI_I2155 = 'E'
            MANDT          = SY-MANDT
            keycli         = d_cliente
            anyo           = d_anyo
            mes            = d_mes
            _WAIT          = 'X '
          EXCEPTIONS
            FOREIGN_LOCK   = 1
            SYSTEM_FAILURE = 2
            OTHERS         = 3.
        if sy-subrc = 0.
          select single * from ZXI_I2155 into wa_registro
                          where keycli = d_cliente and  anyo = d_anyo and mes = d_mes.
              add 1 to  wa_registro-contador.
            modify ZXI_I2155 from wa_registro.
          endif.
          CALL FUNCTION 'DEQUEUE_EZXI_I2155'
            EXPORTING
              MODE_ZXI_I2155 = 'E'
              MANDT          = SY-MANDT
              keycli         = d_cliente
              anyo           = d_anyo
              mes            = d_mes.
        endif.
      concatenate 'ART' d_cliente d_mes wa_registro-contador '.XML' into d_fichero.
      l_record-namespace = 'http://sap.com/xi/XI/System/File'.
      l_record-name = 'FileName'.
      l_record-value = d_fichero.
      dynamic_configuration->add_record( l_record ).
    With a normal situation, this scenario works well, but with a great volume of messages, some duplicate filename appears.
    Why?
    Thanks, in advance
    Carme

    Try increasing the "enque/table_size" parameter to allow more IDOCs to be handled/locked at the same time. You can increase the value for this parameter up to 102400 (beyond that can cause performance issues).
    Please refer to the notes below for more information about the lock queue overflow and management.
    [Note 552289 - FAQ: R/3 Lock management|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=552289]
    [Note 13907 - System error in the block handler, overflow lock table|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=13907]

  • When we wil go for abap mapping ??

    Hi,
    As we know there are graphical, XSLT, JAVA mappings are there apart from ABAP mapping. I have gone through below weblog.
    /people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
    and also help.
    http://help.sap.com/saphelp_nw04/helpdata/en/12/05731a10264057badc32d3d3957015/frameset.htm
    None of them says ABAP mapping is either faster or stable as compared to other mappings. Even though it is the case, still when we will go for abap mapping ??
    Is it like that it is totally depend on the available resources in hand ??
    thanks
    kumar

    > The SAP XI/PI mapping is the most efficient as it
    > only loads the part of the source message that are
    > used to create the target message(s) at runtime.
    >
    > Java and XSLT have to load the whole message into
    > memory to process the message. This can be
    > inefficient and if dealing with large messages can
    > cause issues.
    About your statement.
    If you consider the field mapping (or UDF) runtime, then you are correct. But if you consider the whole mapping runtime, you also have to "load" the full message in message mapping, obviously. What happens is that it is transparent to the developer, since loading and parsing is done by standard. But message mapping also deals with loading and parsing the whole message (and it is done with Java underneath). Then I don't think message mapping will have a significantly better/worse performance, when compared with Java mappings (performing normal xml processing methods).
    As for XSLT, the performance problems happens because you have a XSLT processor running over Java VM. Then, if you have heavy load on it, the mapping runtime will consume the resources necessary to run the xslt processor (which is, by itself, very resource consuming) and also to treat that heavy input.
    Regards,
    Henrique.

  • ABAP Mapping - Message shown in Standard Change List Process Log

    Hi
    I am working with ABAP Mapping program. I had created ABAP class using ABAP workbench. Before this, in exchangeProfile..data was provided for com.sap.aii.repository.mapping.additionaltypes ==>> as " R3_ABAP|Abap-class;R3_XSLT|XSL (ABAP Engine) " and 'Saved'.
    In Interface Mapping, after providing the Class Name under 'Mapping Program' and activated. After activation (Standard Change List), it is showing the following messages under 'Processing Log'.
    --> Standard Change List - Process Log message
    Activation of the change list canceled Check result for Interface Mapping IM_ABAP_MAPPING | http://ABAP_Mapping_SREE:  Type R3_ABAP of
    program ZSREETEST is invalid because it is not registered in the exchange profile . Check the values for the exchange profile parameter
    IntegrationBuilder.Repository.com.sap.aii.repository.mapping.additionaltypes
    --> End of Log message
    Can some one please guide me in resolving the ABAP mapping issue.
    Thanks in advance.
    ..Sree

    Sree,
    The log says that there is ABAP mapping included in your exchange profile. Do the things what michal have told and also check your mapping program whether working fine or not in SXI_MAPPING transaction.
    You can see this weblog for reference:
    /people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
    ---Satish

  • Processing xml in abap mapping

    Hi all,
    I use abap mapping to create XML from Idoc, I use if_ixml interface to do it.
    In my code I use method get_elements_by_tag_name (on object if_ixml_document)
    to find all elements with the same name:
    I checked my mapping in  SXI_MAPPING_TEST and it is working when I put formatted idoc
    (with many lines, one tag in one line).
    But when I put one long line with all tags in one line (XI receives idoc in such format from ECC)
    method get_elements_by_tag_name does not return any result.
    I checked also others searching methods but without results.
    It looks like only first 255 characters are processed. When element, which I am looking for,
    is in further position, it is not finding.
    Does anyone know what is a root cause of such situation and how can I resolve my problem?
    Best Regards,
    Przemek

    Hi,
    get_elements_by_tag_name work fine for all my abap mappings so you must be doing wrong something else
    the code from this page works for IDOCs also:
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm
    with small changes to the nodes so maybe compare it with yours
    Regards,
    Michal Krawczyk

  • ABAP Proxy ABAP Mapping

    Hi All,
    The use of ABAP Proxy is nothing but the Adapterless implementation,as per my assumption.But is there any other reason for prefessing ABAP Proxy over the Adapter while the practical implenentation is done?
    Also,for ABAP Mapping ,I have a qustion that when is ABAP Mapping preferred over other Mappings that is Graphical Mapping and Java Mapping while practical implementation?
    Thanks and regards,
    Amol

    Hi Shweta,
        To answer your first question, we prefer ABAP proxies over RFCs due to the reason that the communication happens directly between the Integration Engine of sender sap R/3 system and the IE of the XI system. It elimintes the need for Adapter Engine(On the sender side).
    However, when there are standard IDOCs avaialble, then we use IDOCs instead of proxies due to the various other advantages of IDOCs like monitoring, reprocxesing etc.
    But, in case the sender is not a SAP R/3 system, then obvious we can not use ABAP Proxy.
    Refer this article to choose the best integration option amongst Proxy,RFC,Enterprise Services.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0e7ae66-be6d-2a10-d385-92e6e67dee10
    Regarding your second question,
    ABAP mapping is least preferred due to issues like Performance, Non-Portability (We cannot use the abap mapping in any other Open-source middleware).
    The only time we go for it is if we have people with only ABAP skills..:)
    Regards,
    Ravi Kanth Talagana

  • Unicode in ABAP-Mapping (u00E9 becomes u00C3u00A9)

    Hello all,
    I implemented this guide to create a flatfile from an IDoc. It works fine, but some characters are not mapped correctly: an "é" for example becomes "é" and an "ú" becomes "ú". Is this a Unicode problem or something? If yes, how can I use Unicode in ABAP mapping?
    As the XML-IDoc is transfered correctly to XI the problem is not in communication channels... it's in the ABAP mapping.
    Best regards,
    David

    Hi David,
    As michal said the problem needs to be isolated whether it is at the mapping level or at the file adapter level.
    In case it the file adapter then you can mention the encoding standard and if its at the abap mapping the your objects should be unicode enabled.
    Regards
    joel

  • XML to ABAP - where the ABAP mapping?

    Dear experts,
    I have to do an ABAP mapping which I have never done before.
    I found blog:
    /people/r.eijpe/blog/2005/11/21/xml-dom-processing-in-abap-part-ii--convert-an-xml-file-into-an-abap-table-using-sap-dom-approach
    which shows the ABAP code.
    I use PI 7.1
    Questions:
    - But where in XI/PI do I implement this code?
    - How can I test the code while I write it?
    - Can I pick up the XML file to map from an FTP server?
    Thank you very much for your help!
    Best regards,
    Peter

    Hi,
    I dont think you really need to develop ABAP Mapping , you can achive this requirement using standard Graphical Mapping.
    But let me know which IDoc/rfc or table you want to update information.
    if it is bapi use RFC  IDoc go with IDoc adapter.
    elase try with proxies.
    normally it is not a best practive to implement ABAP Mapping,sometimes you experience perfromace issues.
    Regards,
    Raj

Maybe you are looking for

  • Mac computer: New Nikon d300s, CS3, and Camera Raw

    I just purchased a Nikon d300s. I had a Nikon d50, Mac, iPhoto, CS3, and Camera Raw 4.6.0.30. With Nikon d50,  no problem opening an image from iPhoto into Camera Raw/CS3. With the new D300s, the image opens into CS3 but does not open into Camera Raw

  • Package while creating Zfield

    Hi Experts, While creating Zfield using AET a pop up is asking for Package...but i can't choose/enter  any package since the field is in display mode.Please guide me here. Regards Anitha

  • 1036601 - Cannot close row in PurchaseSales order documents

    Hi All, while closing a row of SO manually, we are getting an error message , "Document rows cannot be closed concurrently with the other document modifications you have made [Sales Order - Rows - Row status]". I checked sap note and not sure what th

  • Help~~~Could not find Agent_OnLoad function in the agent library

    $ java -agentpath: /home/work/libtest.so SimpleTest Error occurred during initialization of VM Could not find Agent_OnLoad function in the agent library: I'm very sure libtest.so and Agent_OnLoad function are exist. thanks nowonder

  • Adobe Production Premium CS4????????????????

               Does anyone know what the system requirements for adobe production premium cs4 are? I can not find them!