Module to replace binay 0 (00 in hex) with space ?

Hello everybody,
I have a scenario JMS-MQS -> XI -> RFC
In the sender, the message coming from MQS (plaintext) is transfrom to an XML message by the module     localejbs/AF_Modules/MessageTransformBean . There is no problem at this level but the following mapping doesn't work always because sometimes we receive some binary 0 (hex 00) in the MQS message .
Can somebody tell me if there is a module in  which can replace all these binary 0 (hex 00) by space?
Thank in advance for your collaboration ?
Kind Regards.
E. Koralewski

I made a module which replace that Hex '00' by hex '20' and that solved my problem.
Best Regards.
E. Koralewski

Similar Messages

  • How to replace a rowman letter a filed with space

    Hi All,
    please let me know. how can i repalce a rowman letter in a field.
    In one of the HR field  ( for job descriptiuon ) i have to replace the rowman letter with space.
    example:  Sr Develoiper I.   i have to replace I with  space.
    Regards,
    kishan

    Try with this,
    *-reverse string
        CALL FUNCTION 'STRING_REVERSE'
          EXPORTING
            string  = maktx
            lang    = 'E'
          IMPORTING
            rstring = temp_str.
    But I have a doubt, for Roman char, which are anywhere in String, this will work.
    If you have limited Numbers - like may be I, II, III or may be upto X.
    Write REPLACE statement no. of times.  (Generally not suggested, but for Roman letter fetch I don't find other option)
    REPLACE ALL OCCURRENCES OF 'I' IN maktx WITH ' '
                 REPLACEMENT COUNT cnt .
      IF cnt > 0.

  • How to replace apostrophe with space

    Hi Experts,
    I need to replace the Apostrophe in Material description with space. I am getting a error as the text literal .....longer than 255.
    highly appreciated for immediate response.
    REPLACE ALL OCCURRENCES OF ''' IN WA_MAKTX WITH ''.
    thanks,
    RRR

    Hi Rammi,
    Hi have tried with the below code and I am getting the proper output as well.
    DATA wa_maktx(10) TYPE c.
    wa_maktx = 'as"dfg'.
    REPLACE ALL OCCURRENCES OF '"' IN WA_MAKTX WITH SPACE.
    write:/2 wa_maktx.
    output:
      asdfg
    Regards,
    Md Ziauddin.

  • How do I replace someone else's Mac ID with my own? Bought iPhone second hand. Previous owner re-set the phone but his ICloud account stayed on now my phone. He uses his macID on his new iPhone now?? Any ideas, as this issue is blocking my access to iTune

    How do I replace someone else's Mac ID with my own?
    Bought iPhone second hand on TradeMe.
    Previous owner re-set the phone but his ICloud account stayed on now my phone. He uses his AppleID on his new iPhone now and, understandably, does not want to give me his password. Any ideas?? Please.
    This issue is blocking my access to iTunes and any other file from my home computer. It keeps on telling me that I have to autorise my computer to pass on files, yet, it seems, for all this to happen, I need to get logged in through the phone's Apple ID. This of course is different to my one on my computer - and I have no password for it.
    This phone is not stolen!! I payed still a fair bit for it. Am still in contact with the previous owner. He doesn't know how to fix the problem either.
    Would appreciate any suggestion ????
    Thanks
    SamSings

    Settings>general>resets>erase all content and settings.
    That will put it back to its out of the box state. Set it up with your own apple Id.

  • How do i replace a newer version of itunes with an older version of itunes

    how do I replace a newer version of iTunes with an older version?

    go to help then check for updates should show up then click on that an it should work

  • How can I replace ALL Contacts on the iPhone with my MobileMe Contacts?

    I have removed all duplicates in AddressBook on my various Macs and have uploaded the master copy to MobileMe. I would now like to replace all Contacts on my iPhone with that MobileMe master.
    I have followed the steps in the KB article for syncing the iPhone but when I get to the step of turning on the iPhone Settings for the Contacts it looks like the sync wants to merge the contacts. Of course, I do not want to "merge" since that will reintroduce all those duplicates.
    I suppose I could manually delete each of the the hundreds of contacts that are on my phone until it is empty ... and then turn on the iPhone setting for Contacts. That way it will have no option other than "add." But surely there is a more efficient way.
    (FWIW, when I turned OFF the setting for the Calendar it did empty the iPhone's calendar, which is what I wanted. But it didn't do that for the Contacts -- I turned that setting off but I was not asked if I wanted to keep or toss the Contacts. They are all still on the phone.)
    This is an OG iPhone, if that matters.

    Matthew Smith wrote:
    ... The only way I can think of doing it otherwise is possibly by syncing via iTunes via another Mac OS X user account where the address book is empty and then deleting them there and resyncing. ...
    Brilliant! That worked like a charm.
    I created a new User Account on one of my Macs and logged into it. I connected my iPhone to its iTunes and checked my iPhone's Sync Contacts option in iTunes. Since that account's address book was basically empty (two dummy contacts, one for Apple and one for this new user), I ended up with only those two Contacts on the phone. Then, going back to my real User account (which does not have syncing turned on in iTunes) the phone synced nicely with the MobileMe account and populated the phone with all the MobileMe contacts and groups.

  • I just replaced my ipod touch 2nd gen with another how can i get my itunes back

    i just replaced my ipod touch 2nd gen with the same model and cant seem to get my iyunes back

    Don't understand question, Changing iPod shouldn't affect iTunes on the computer you sync with.  Plug in new iPod, it should take you through some screens of options asking how you want to setup the new iPod.
    Just did this when going from 7+ year old iPod video to iPod Touch 5th gen.

  • How do I transfer music from my ipod to my computer without replacing the music on my ipod with the music on my computer?

    How do I transfer music from my ipod to my computer without replacing the music on my ipod with the music on my computer?

    You can't do that with iTunes (except for songs you purchased from the iTunes Store).  However, there are third-party methods and utilities that can transfer songs files from iPod to computer.  If you do a Google search on something like "ipod transfer," you should get some links.
    Once the songs files are on your computer, add them to your iTunes library.  Then, you can sync your iPod to that iTunes library, as desired.

  • How do i get all my data and info from my old iphone onto my new one without access to the original itunes that i set my first iphone up on? my partners itunes keeps telling me that its going to replace all my apps and data with his stuff

    how do i get all my data and info from my old iphone onto my new one without access to the original itunes that i set my first iphone up on? my partners itunes keeps telling me that its going to replace all my apps and data with his stuff

    ok so i have my own i tunes library - how do i get all my old apps onto my new library?

  • I need to install CS6 on a replacement hard drive and need help with deactivation/reactivation

    I have had a major hard drive crash that is resulting in my replacing the drive in my Mac with a new one, then re-installing my programs onto it. I have a copy of CS6 on the current bad hard drive that is activated. Do I need to deactivate it before installing it on my new hard drive even though it will be on the same computer, just a different hard drive? If so, how can I deactivate it when the drive the Creative Suite is on is bad? Is there a place on Adobe's website that I can log in and manage my activations if I have to deactivate in order to put CS6 on my replacement drive?

    hi. I have the exact same problem. I'm getting the 'configuration' error, and my uninstall application for each application with CS6 'can't be found' since it is apparently an alias. I'm not getting any answers from Adobe and getting frustrated. Would simply like to know how to uninstall or start from scratch. I'll let you know if I hear anything. I posted the question on the 'creative suites' forum.

  • Can we replace hp mini 110-1033CA keyboard with 110-1125NR 110-1012NR 110-1033CL Keyboards?

    I'm having issues with my hp mini 110-1033ca  keyboard. There were few keys (A,S...)  not working and then I unpuluged the keyboard and plugged it again. Now only the Tab key is working . I'm going to buy new keyboard . the question is Can we replace hp mini 110-1033CA keyboard with 110-1125NR 110-1012NR 110-1033CL Keyboards or with any other hp mini 110 series keyboard ?

    Hi
    Please find the link given below might help you check page number 47.
    Removal and replacement procedures
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • Replacing a value of a node with CDATA (as is)

    Hi All,
    How do I replace the value of a node such that it's CDATA format is preserved and not re-encoded. Currently, when I do similar to the following:
    replace value of node doc(doc_name)/parent/node with "<![CDATA[[the data]]]>"
    the less than and greater than signs are replaced with &lt ; and &gt ; respectively, losing its CDATA section status.
    How do I replace the value such that within the resulting XML it is exactly "<![CDATA[[the data]]]>" and not "&lt ;[CDATA[]the data]]&gt ;" ?
    Thanks in advance
    Cecil
    Edited by: user5969022 on Jan 8, 2009 9:41 PM
    Edited by: user5969022 on Jan 8, 2009 9:42 PM
    Edited by: user5969022 on Jan 8, 2009 9:44 PM
    Edited by: user5969022 on Jan 8, 2009 9:45 PM

    John,
    I am aware that it's synatic sugar. However, I actually need it to look that way. Thing is after edits, the resulting XML will be read by a component (that I have no access to change) which requires that node to have CDATA (as is) as it's value.
    Anymore ideas; Anyone?
    Instead of replacing the value (ie. replace value of node doc()...), I replaced the node (ie. replace node doc()...) with something similar to: <node>CDATA-section</node>. However, as expected only the data within the CDATA section gets persisted.
    In this case could I turn something off or on such that xmldb leaves the CDATA-section as is? e.g. http://www.xquery.com/tips_and_tricks/including_CDATA_in_results.html
    Thanks,
    Cecil

  • How to replace a character in a string with blank space.

    Hi,
    How to replace a character in a string with blank space.
    Note:
    I have to change string  CL_DS_1===========CM01 to CL_DS_1               CM01.
    i.e) I have to replace '=' with ' '.
    I have already tried with <b>REPLACE ALL OCCURRENCES OF '=' IN temp_fill_string WITH ' '</b>
    Its not working.

    Hi,
    Try with this..
    call method textedit- >replace_all
      exporting
        case_sensitive_mode = case_sensitive_mode
        replace_string = replace_string
        search_string = search_string
        whole_word_mode = whole_word_mode
      changing
        counter = counter
      exceptions
        error_cntl_call_method = 1
        invalid_parameter = 2.
    <b>Parameters</b>      <b> Description</b>    <b> Possible values</b>
    case_sensitive_mode    Upper-/lowercase       false Do not observe (default value)
                                                                       true  Observe
    replace_string                Text to replace the 
                                         occurrences of
                                         SEARCH_STRING
    search_string                 Text to be replaced
    whole_word_mode          Only replace whole words   false Find whole words and                                                                               
    parts of words (default                                                                               
    value)
                                                                               true  Only find whole words
    counter                         Return value specifying how
                                        many times the search string
                                        was replaced
    Regards,
      Jayaram...

  • How do I replace one JPanel on a JFrame with another?

    I want to replace one JPanel on a JFrame with a different JPanel when the user clicks on a certain menu item. The menu item is working corrrectly but I cant seem to repaint / refresh the component.
    My code is as follows:
    c.add(knotPanel, BorderLayout.CENTER);
    c.add(stepPanel, BorderLayout.NORTH);
         if (stepChoice != 9) {
         c.remove(ownPanel);
         c.add(lessonPanel, BorderLayout.EAST);
         else {
         c.remove(lessonPanel);
         c.add(ownPanel, BorderLayout.EAST);
         c.invalidate();
         c.validate();
         c.update(c.getGraphics());
    Any ideas?

    I think you should use CardLayout manager.
    With CardLayout you can switch beetwen JPanels without removing or adding.

  • Replacing a part of a String with a new String

    Hi everybody,
    is there a option or a method to replace a part of a String with a String???
    I only found the method "replace", but with this method I only can replace a char of the String. I don't need to replace only a char of a String, I have to replace a part of a String.
    e.g.:
    String str = "Hello you nice world!";
    str.replace("nice","wonderfull");   // this won't work, because I can't replace a String with the method "replace"
                                        // with this method I'm only able to replace charsDoes anyone know some method like I need???
    Thanks for your time on answering my question!!
    king regards
    IceCube-D

    do check java 1.4 api, I think there is a method in it, however for jdk1.3 you can use
    private static String replace(String str, String word,String word2) {
         if(str==null || word==null || word2 == null ||
               word.equals("") || word2.equals("") || str.equals("")) {
              return str;
         StringBuffer buff = new StringBuffer(str);
         int lastPosition = 0;
         while(lastPosition>-1) {
              int startIndex = str.indexOf(word,lastPosition);
              if(startIndex==-1) {
                   break;
              int len = word.length();
              buff.delete(startIndex,startIndex+len);
              char[] charArray = word2.toCharArray();
              buff.insert(startIndex,charArray);
              str = buff.toString();
              int len2 = startIndex+word2.length();
              lastPosition = str.indexOf(word,len2);
         return buff.toString();

Maybe you are looking for

  • Display a cell in ALV report as Pushbutton

    Hi, I am having an ALV report. I want to display one cell of the ALV report as a Pushbutton. How is it possible ? Thanks and regards.

  • Search Feature in version 11.0.06

    I have an issue with this version of adobe reader. When I use the find fuction it comes back with no results even if I can see the word or number that I'm searching for. These are PDFs that are being created by using Print (pdf995) any help is appric

  • IPhoto 6.0.6 keeps crashing

    My iPhoto keeps crashing. I can't seem to figure out why. I've read a post about reinstalling Garage Band, but I've never even used that program. I open the program, I can see my Library, and then crash! I've option-apple opened the program and rebui

  • Want to Learn about J2ME

    I am begineer in J2ME I have a good knowledge of J2SE and some of J2EE. so I want to learn about J2ME

  • Can i design newsletter in muse and use catalyst E-mail markating system to send it

    hi what i want to do is to design a newsletter in muse as a page in my site and then go to catalyst and use e-mail marketing to create a campaign and use this page as my content is it possible?