Handle "0X0B" Hex Characters

Hi, how to deal with hexadecimal values in XI. There are some values in file like "0X0B"
regards
reema

Hi,
This can be avoided by using proper encoding scheme in ur communication channel.try using encoding scheme UTF-8 which will not convert the character into any special characters.
in case of ur file adapter it can performed by giving the basic type as text and encoding scheme as UTF-8.try implementing the encoding scheme.
Thanks
swarup

Similar Messages

  • Handling Invalid(Hex) Characters Code for Unicode BI 7.0

    Hi All,
    I went through the beautiful weblog given by Eugene.. https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4059. [original link is broken] [original link is broken] [original link is broken] [original link is broken] In the comments section of the weblog there is a code given by Dirk. I tried to use the code in my transformation logic and here how it looks.. I am using BI 7.0 and it is unicode system..
    ============================================================
    DATA: l_d_length like sy-index,
    l_d_char type c,
    l_d_index type sy-index.
    l_d_length = strlen( result ).
    RESULT = SOURCE_FIELDS-POO_TAG.
    DO l_d_length times.
    l_d_index = sy-index - 1.
    l_d_char = result+l_d_index(1).
    CALL FUNCTION 'RSKC_CHAVL_OF_IOBJ_CHECK'
    IMPORTING
    I_CHAVL = l_d_char
    I_IOBJNM = 'ZPOTSTFL'
    *" I_S_COB_PRO =
    *" I_T_COB_PRO_CMP =
    EXCEPTIONS
    CHAVL_NOT_ALLOWED = 1.
    IF SY-SUBRC <> 0.
    result+l_d_index(1) = ' '.
    ENDIF.
    ENDDO.
    ===========================================================
    I am using this to load from PSA to DSO, the info-object name is ZPOTSTFL(Length 3, No master, No text) and source field name is POO_TAG, since in the source the field is a free form text field and it has some hex characters ...we need to keep the free form (like $, lowercase letters, ###. etc..) but we need to eliminate the hex characters with space as it is affecting our load.
    I tried this code and it gives me syntax error. In the blog Pedro has suggested to declare some 30 char string and assign that string to info-object name... I don't know that much ABAP can somebody help me with the code??
    Regards,
    Nikhil

    Hello Dilip
    Out of three two of them are definitley possible. i.e
    1) CU&UC
    2) Upgrade first and then do Unicode Conversion ( 2 different downtimes)
    third option is possible with R3 but with BW you need to consult the master guide. ( i am not sure).
    you need to decide one of them based on your hardware sizing, database size, Downtime possible.
    I would suggest Make a copy of production server. and perform the upgrade and then perform unicode conversion. this whole activity will give you exact timing you need. and possible errors you will face during upgrade and unicode conversion.
    i hope this helps.
    Thanks
    Mona

  • Hex Characters in Comments Field

    Hey there,
    I was wondering if I could get an opinion/confirmation about something weird that I'm seeing after installing 5.0 on my Windows XP Home Operating System.
    I get pretty elaborate in my Comments field, filling in Mood or "Feel" for each individual song, so I can pull up smart playlists of the exact soundtrack that I want to hear at any given time.
    too much information here
    So I download iTunes 5.0 and all of the sudden I notice that many of my comments have been overwritten with Hex characters.
    Again, too much info here and here.
    Do you think this may be related to iTunes' "SoundCheck" functionality? There is some talk on the innerweb about that, but not really confirmed anywhere.
    Thoughts?
    Would this make any sense?
    The links I gave illustrate the issue with screenshots, pie charts and everything except blood samples, so it may help describe what I'm talking about.
    Anyhoo, I'd be interested in any opinion/thoughts.
    Thanks,
    Zac

    Is it possible that version 5 is "calling up" the wrong portion of the comment?
    Possible? Obviously so. You're seeing it, after all.
    Weird as ****? Definitely. It doesn't do that to me.
    I don't know what to tell you other than to retag the comments on these files. I don't understand how an MP3 tag could break in that particular way. It's possible that Windows Media Player changed the tag in such a way that it damaged that bit (WMP likes to retag files that it finds without any sort of notification or anything), but it's very odd nevertheless.
    There is a script available for "The Godfather" tagging program that will remove these hexadecimal comments. These comments are not actually needed by iTunes anyway, so removing them won't break anything. I don't know much about the godfather and scripting though. Go here for more info: http://users.otenet.gr/~jtcliper/tgf/

  • Search Box Error: LockFailedException Illegal hex characters

    When I enter any data into the JDeveloper Search Box (top right hand side of the IDE) the IDE throws up an error and wants to exit telling me that the system is unstable.
    This is a new install of Oracle JDeveloper 11g Release 1 11.1.1.2.0, everything worked fine in the previous version of JDeveloper I was using.
    I've tried restarting JDev and rebooting my PC, but the problem persists. It seems to be a problem with projects converted from the previous JDev version as well as for new projects.
    The Details of the error message are:
    19/11/2009 2:54:27 PM oracle.ideimpl.searchbar.index.IndexProvider searchProject
    SEVERE: Failed to search project AdminConsole.jpr
    oracle.ide.index.LockFailedException: java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: ".j"
         at oracle.ideimpl.index.IndexRoot.lock(IndexRoot.java:319)
         at oracle.ideimpl.index.IndexImpl.lock(IndexImpl.java:161)
         at oracle.ideimpl.searchbar.index.IndexProvider.searchProject(IndexProvider.java:272)
         at oracle.ideimpl.searchbar.index.IndexProvider.search(IndexProvider.java:178)
         at oracle.ideimpl.searchbar.BaseController$SearchTask.run(BaseController.java:213)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: ".j"
         at java.net.URLDecoder.decode(URLDecoder.java:173)
         at java.net.URLDecoder.decode(URLDecoder.java:83)
         at oracle.ide.util.PatternFilter.matchesImpl(PatternFilter.java:285)
         at oracle.ide.util.PatternFilter.matches(PatternFilter.java:138)
         at oracle.ide.util.PatternFiltersOptimizer$VanillaEvaluator.matches(PatternFiltersOptimizer.java:118)
         at oracle.ide.util.PatternFiltersOptimizer.getMatchingFilter(PatternFiltersOptimizer.java:184)
         at oracle.ide.util.PatternFilters.findMatchingFilter(PatternFilters.java:145)
         at oracle.ide.util.PatternFilters.isIncluded(PatternFilters.java:164)
         at oracle.ide.util.IntersectedFilters.isIncluded(IntersectedFilters.java:145)
         at oracle.ideimpl.index.file.AbstractFileTable.filePassesFilters(AbstractFileTable.java:706)
         at oracle.ideimpl.index.file.DirFileTable.updateDir(DirFileTable.java:368)
         at oracle.ideimpl.index.file.DirFileTable.processQueue(DirFileTable.java:288)
         at oracle.ideimpl.index.file.DirFileTable.fullUpdate(DirFileTable.java:201)
         at oracle.ideimpl.index.file.DirFileTable.updateFileTable(DirFileTable.java:136)
         at oracle.ideimpl.index.file.AbstractFileTable.update(AbstractFileTable.java:379)
         at oracle.ideimpl.index.file.AbstractFileTable$FileTableUpdater.call(AbstractFileTable.java:914)
         at oracle.ideimpl.index.file.AbstractFileTable$FileTableUpdater.call(AbstractFileTable.java:903)
         ... 5 more
    oracle.ide.index.LockFailedException: java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: ".j"
    o.ii.index.IndexRoot.lock(IndexRoot.java:319)
    o.ii.index.IndexImpl.lock(IndexImpl.java:161)
    o.ii.searchbar.index.IndexProvider.searchProject(IndexProvider.java:272)
    o.ii.searchbar.index.IndexProvider.search(IndexProvider.java:178)
    o.ii.searchbar.BaseController$SearchTask.run(BaseController.java:213)
    j.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    j.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    j.util.concurrent.FutureTask.run(FutureTask.java:138)
    j.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    j.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    j.lang.Thread.run(Thread.java:619)
    Caused by:
    java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: ".j"
    j.net.URLDecoder.decode(URLDecoder.java:173)
    j.net.URLDecoder.decode(URLDecoder.java:83)
    o.i.util.PatternFilter.matchesImpl(PatternFilter.java:285)
    o.i.util.PatternFilter.matches(PatternFilter.java:138)
    o.i.util.PatternFiltersOptimizer$VanillaEvaluator.matches(PatternFiltersOptimizer.java:118)
    o.i.util.PatternFiltersOptimizer.getMatchingFilter(PatternFiltersOptimizer.java:184)
    o.i.util.PatternFilters.findMatchingFilter(PatternFilters.java:145)
    o.i.util.PatternFilters.isIncluded(PatternFilters.java:164)
    o.i.util.IntersectedFilters.isIncluded(IntersectedFilters.java:145)
    o.ii.index.file.AbstractFileTable.filePassesFilters(AbstractFileTable.java:706)
    o.ii.index.file.DirFileTable.updateDir(DirFileTable.java:368)
    o.ii.index.file.DirFileTable.processQueue(DirFileTable.java:288)
    o.ii.index.file.DirFileTable.fullUpdate(DirFileTable.java:201)
    o.ii.index.file.DirFileTable.updateFileTable(DirFileTable.java:136)
    o.ii.index.file.AbstractFileTable.update(AbstractFileTable.java:379)
    o.ii.index.file.AbstractFileTable$FileTableUpdater.call(AbstractFileTable.java:914)
    o.ii.index.file.AbstractFileTable$FileTableUpdater.call(AbstractFileTable.java:903)
    j.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    j.util.concurrent.FutureTask.run(FutureTask.java:138)
    j.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    j.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    j.lang.Thread.run(Thread.java:619)
    About
    Oracle JDeveloper 11g Release 1 11.1.1.2.0
    Studio Edition Version 11.1.1.2.0
    Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
    Copyright © 1997, 2009 Oracle and/or its affiliates. All rights reserved.
    IDE Version: 11.1.1.2.36.55.36
    Product ID: oracle.jdeveloper
    Product Version: 11.1.1.2.36.55.36
    Version
    Component     Version
    =========     =======
    ADF Business Components     11.1.1.55.36
    Java(TM) Platform     1.6.0_14
    Oracle IDE     11.1.1.2.36.55.36
    Versioning Support     11.1.1.2.36.55.36

    :) yeah it's a super useful search box especially with projects with lots of files nested down in some deep packages ;p
    The interesting thing is I'm not searching for .j.
    The same error message comes up regardless of what I search for.
    For example:
    MyFile.txt
    or
    FuBar
    both return the same error and both report errors list .j and Illegal hex characters.... it must be some weird config thing under the hood that got munted during the install.
    Edited by: T-Syd on Nov 20, 2009 9:36 AM

  • I want to take a series of hex characters in a string control and produce an HDLC string indicator for example if the data string control is 3F27 then the HDLC string indicator is 7E003F2700B57E

    I want to take a series of hex characters in a string control and produce an HDLC string indicator for example if the data string control is 3F27 then the HDLC string indicator is 7E003F2700B57E

    "thanks for your help "
    Does that mean you figured it out already?
    If not, see this thread for some HDLC related code.
    http://forums.ni.com/ni/board/message?board.id=170&message.id=146859&query.id=3388#M146859
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Regd: Handling of special characters in XML

    Hi ALL,
    i am using java mapping to conevrt IDOC XML to Flat file using SAX parse and then reading the whole content into a single Filed,the output of the java mapping is the input for graphical mapping .
    My problem is there may be some special characters  in the input IDOC. when ever these special characters come my java mapping is not able to Parse the IDOC.
    Please let me know how can handle this special characters.
    Thanks,
    hemanth.

    Hi ,
            Java has some characters reserved which is normally used to declare the Entity Name. To handle such kind of situations, you can replace these characters with these special characters, which get substituted automatically while parsing the XML file.
    Refer:
    http://www.javacommerce.com/displaypage.jsp?name=saxparser3.sql&id=18232
    I hope it helps.
    Regards,
    Anurag Gargh
    Edited by: Anurag Gargh on Aug 11, 2009 3:41 PM

  • Sender IDOC with HEX characters

    Hi Chaps,
    I have a situation i.e. my sender IDOC is sending some HEX characters in the text fields, XI should interpret them and convert it into text fields to the target system.
    Could some one guide me on the best approach for this?
    Your inputs are highly appreciable.
    Regards,
    Vijaya

    Hi,
    You will need to loop at the string array and read it character by character. You can convert from HEX to unicode using the following line of code in your UDF -
    char c = (char) Integer.parseInt("str", 16);
    where str is the four digit HEX character at i'th position.
    Hope this helps.
    Regards,
    Riyaz
    PS: Calling community members as 'Chaps' does NOT sound professional.

  • Eliminating Hex Characters in Data

    Is there a way to search for specific hex characters in the database?
    I have a phone number field of type varchar2, which has some hex characters I need to remove.
    When I do query I see the following record.
         PHONE     DUMP(PHONE)
    1     +001(718)380 4160     Typ=1 Len=18: 43,48,48,49,40,55,49,56,41,51,56,48,32,52,49,54,48,14
    2     +001(225)292 2812     Typ=1 Len=18: 43,48,48,49,40,50,50,53,41,50,57,50,32,50,56,49,50,14
    The hex character isn't visible in this post, but it is very much there. What's the mechanism to find this specific character? I want to find characters like '0x0E' and '0x01'
    I hope I am being clear in my request. The objective is to ensure that none of these affect the XML transformation mechanism.

    abhijit74 wrote:
    Is there a way to search for specific hex characters in the database?
    I have a phone number field of type varchar2, which has some hex characters I need to remove.
    When I do query I see the following record.
         PHONE     DUMP(PHONE)
    1     +001(718)380 4160     Typ=1 Len=18: 43,48,48,49,40,55,49,56,41,51,56,48,32,52,49,54,48,14
    2     +001(225)292 2812     Typ=1 Len=18: 43,48,48,49,40,50,50,53,41,50,57,50,32,50,56,49,50,14
    The hex character isn't visible in this post, but it is very much there. What's the mechanism to find this specific character? I want to find characters like '0x0E' and '0x01'
    I hope I am being clear in my request. The objective is to ensure that none of these affect the XML transformation mechanism.TRANSLATE() function will do what you desire
    you can display the non-printable characters using ASCIISTR() function

  • How to accept only 4 or less hex characters in string control

    Hi,
    I want to accept only up to 4 hex characters in a string control. I dont want to use "hex display" property.
    How is it possible? I have String control key down? event in event case, I tried it with regular expressions [0-9a-fA-F]{4} but then I have to accept left, right, delete, backspace, home keys as well.
    Solved!
    Go to Solution.

    I agree with Dennis that you seem to be making life difficult for yourself.  However, you did ask the equivalent (as I understand it) "How can I allow the user to type "1", "2", "Ctrl-A", "B", "Ctrl-C", "D" and get this recognized as the string "12BD".  If you really want to do this, here is one way (I was lazy and left the answer as an array of 4 1-character strings).  I use PlatMods to exclude having any "modification" key other than Shift down, convert the numeric Char into a string, then count acceptable Hex letters and conditionally add them to the output array, stopping when I have 4 characters. 
    Bob Schor

  • URLDecoder: Illegal hex characters in escape (%) pattern

    hi ,
    i am getting "java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: \"\u000F\u0016\"
    can any one help how to fix this issue?
    Thanks and regards
    Kavitha

    U+000F and U+0016 are non-printing control characters that are explicitly forbidden in an URL and if I remember correctly even spell trouble when they are encoded.
    If you want to transfer random byte data, then your best bet is to use some ASCII-safe encoding such as Base64 (note that you need to use a [modified Base64|http://en.wikipedia.org/wiki/Base64#URL_applications] in URLs to avoid having to double-encode "+" and "/").

  • Handling Non-English characters in the payload

    Hi Gurus,
    We are currently facing an issue in XI with Non-English characters. When we are trying to process Non-English characters in the payload , they are getting converted in to Junk characters at the receiver end. This scenario inbound to SAP ( File to Idoc scenario ) . Is there a way that Non-English characters can be handled in XI.
    Regards,
    Nick

    Hi Nick,
    I have knowledge of some problems when showing some kind of chinese character when
    dusplaying XML messages. If it's the case, check notes:
    #1135671 - ITS HTML viewer: incorrect display of xml documents
    #1072127 - ITS HTML Control: xml file rendering problem
    With regards,
    Caio Cagnani

  • Handling Double Byte characters

    Hi All,
    We have a requirement to read Japanese characters from a fixed length file.
    The file contains both Single and Double byte characters in a single record.
    The file needs to be read by an ABAP program in terms of bytes and it has to be filled into different fields of a structure.
    If you have encountered a similar situation , please let me know how it was handled.
    Thanks,

    Hi,
    It isn't possible to say which character use only ony and which two bytes. Are you sure that inside your file these one and two bytes characters are mixed?
    Best regards
    Marcin Cholewczuk

  • How to handle scadic letters & characters in sap PI?

    HI experts,
    i am working on file to idoc scenario using XSLT mapping in pi. My concern is to handle scadic letters and & character, messages will going with & character without any fail, if file encoding mode is ISO-8859-1 but if the file contains scadic letters file is failing in PI. If the file ecoding mode id binary then scadic letters will popules in idoc with out any fail but if the file has & character messages is failing in PI.
    Please provide your inputs about how to handle this case?
    Regards,
    Uday.

    Uday,
    Please try UTF-8 encoding.
    Please attach input file, XSLT and screenshots of error, it will help in better understand the issue.

  • Handling of asian characters in CRM ICWC / WebUI?

    hi
    we would like to allow people entering asian text (e.g. chinese) in Interaction Center WebClient / WebUI. they'll be using English as logon language.
    will now everyone (also european users etc.) looking at this text see the correct characters? or will only asian users be able to see it properly?
    thanks for helping out on this.
    regards
    nicola

    The related systems need to be upgraded to unicode (CRM, ECC) and the chinese language loaded.
    The ICWC should then support the asain characters.
    We'll find out for ourselves in the next 3 - 6 months as we are just about to do the unicode upgrade.

  • Handling HTML-reserved characters in passed item values

    I've got a pair of pages in an application where one gets an item value from an inline value of a report on the other page. Since the link I created is conditional, I used the concatenate html string method to create the link. However, some of the values that are getting passed contain "+" as part of the value. How can I get this value to pass via the concated HTML string?
    Here's the SQL I'm using:
    SELECT x.*
    ,decode(x.source,'S','<a href ="f?p=&APP_ID.:403:&SESSION.::&DEBUG.:RP:P403_PAGE_LOAD,P403_LOT_NO,P403_ATTRIBUTE:1,'||x.lot_no||',\'||to_char(x.attribute)||'\">S</a>','P') as icon
    FROM x
    where x.attribute sometimes contains the "+" character.
    Any help would be appreciated!

    Thank you both for replies ....
    Since these urls are generated through code, what is the best way to go about it ?
    Could you please explain a little about using of hash map in this case?
    and excpet using escape characters, is there any other way to do it ?
    Thanks again

Maybe you are looking for

  • How to delete multiple assignments sharing the same application_id

    Hi, I encountered an issue where an employee is having two active assignments. Both assignment_id share the same application_id. User might have created additional application accidentally. Upon hired, one of the assignment_id changed status to 'acti

  • How do you print from safari without the header and footer?

    I may be missing something but... When printing in Safari how do you remove the header and footer.  I am using PDF creator to save pages as PDF for things like online pay slips and want them to be 'clean'. Running Safari 5.1 on Windows Vista Thanks i

  • Event.hits property does not work at Adobe 9

    I have just discovered that the property "event.hits" does not work at Adobe Reader 9 properly. I have some JavaScript, which uses this property: if (event.hits.length > 0) var targetPos = event.hits[0].position; Now, at Adobe Reader 9 the value of "

  • Export from final cut 4.5 to soundtrack pro

    I cannot seem to get my audio to export correctly to soundtrack pro 1.0.1 from final cut 4.5.HD. It is bounced out as a stereo file. when i export to STP it mixes the audio. can some one share a work flow for getting audio tracks into STP from FCP 4.

  • R12 Installation on AIX (64) Dual Nodes

    Hi, I want to install Oracle Application R12 on AIX Dual Nodes. I have 2 servers on cluster, and my need is to install the database on 1 machine and the application on the other machine. How do i go about the installation? Thanks and Regards Shahrukh