In mapping & symbol should be removed

Hi Experts,
I am doing one scenario file to idoc.
In my file structure i am getting '&' symbol and should be mapped to idoc structure.
But '&' symbol should be removed and get mapped to target structure.
In idoc i should not find '&'.
I have tried with replace string and varialble substitution but it not worked.
Can you please advise how this can acheive.
Thank,
Bhaskar

Hi Shabharish,
  We have function replace value, with this function can my prob solve?
or instead of java maping can i go for UDF?
How can change & symbol to &amp in XML coding?
Appreciate your inputs
Thanks,
Bhaskar

Similar Messages

  • Mapping question - how to remove empty recordsets from output XML?

    Hello everyone!
    I have a mapping problem I hope you can help me out with.
    Here is an example of the source message:
    <IDOC>
    .    <HEAD>
    .    </HEAD>
    .    <DET>
    .    .    <Node>
    .    .    .    <nodeA>001</nodeA>
    .    .    .    <nodeB>OA</nodeB>
    .    .    </Node>
    .    .    <Node>
    .    .    .    <nodeB>OB</nodeB>
    .    .    </Node>
    .    .    <Node>
    .    .    .    <nodeA>002</nodeA>
    .    .    .    <nodeB>OC</nodeB>
    .    .    </Node>
    .    </DET>
    </IDOC>
    After testing the above XML in the message mapping, here's what my target looks like:
    <FILE>
    .    .    <Rec>
    .    .    .    <nA>001</nA>
    .    .    .    <nB>OA</nB>
    .    .    </Rec>
    .    .    <Rec>
    .    .    .    <nB>
    .    .    .    <nA>
    .    .    </Rec>
    .    .    <Rec>
    .    .    .    <nA>002</nA>
    .    .    .    <nB>OC</nB>
    .    .    </Rec>
    </FILE>
    "Node" in the "source" message is mapped to "Rec" in my "target" message.
    "Node=" -
    > "Rec"
    You may notice the the "Rec" in the second entry has empty fields. The reason this is so is because I put an "IF" condition in field "nA" and field "nB" that checks whether "nodeA" in the "source" exists/has a value, and if it doesn't, empty values should be given.
    Here's my problem, I need the XML output to be clean. All empty Recs should be removed from the Output XML so that it resembles the one below:
    <FILE>
    .    .    <Rec>
    .    .    .    <nA>001</nA>
    .    .    .    <nB>OA</nB>
    .    .    </Rec>
    .    .    <Rec>
    .    .    .    <nA>002</nA>
    .    .    .    <nB>OC</nB>
    .    .    </Rec>
    </FILE>
    I've tried several ways to get this done to no avail. Would anyone be able to help me out? I would really, really appreciate it!
    Warm regards,
    Glenn

    Hello,
    Here's how the Display Queue looks like from the "CreateIF"
    Default Context:
    0     [false]     [suppress]
    1     [false]     [suppress]
    2     [false]     [suppress]
    3     [true]     []
    4     [false]     [suppress]
    5     [true]     []
    6     [false]     [suppress]
    7     [false]     [suppress]
    8     [false]     [suppress]
    9     [true]     []
    10     [false]     [suppress]
    11     [false]     [suppress]
    12     [false]     [suppress]
    13     [true]     []
    14     [false]     [suppress]
    15     [false]     [suppress]
    16     [false]     [suppress]
    17     [true]     []
    18     [false]     [suppress]
    19     [false]     [suppress]
    20     [false]     [suppress]
    21     [true]     []
    CreateIF Context up one notch:
    0     [false]     [suppress]
    1     [true]     []
    2     [true]     []
    3     [true]     []
    4     [true]     []
    5     [true]     []
    6      [true]     []     
    7     [true]     []
    8     [false]     [suppress]
    9     [false]     [suppress]
    10     [false]     [suppress]
    11     [false]     [suppress]
    Here's how the Display Queue looks like from the "NodeA"
    SUPPRESS     [false]
    SUPPRESS     [false]
    [0000000292]     [false]
    [0000000292]     [true]
    [0000000252]     [false]
    [0000000252]     [true]
    SUPPRESS     [false]
    [0000000078]     [false]
    [0000000078]     [false]
    SUPPRESS     [true]
    [0000000109]     [false]
    [0000000109]     [false]
    SUPPRESS     [false]
    [0000000292]     [true]
    [0000000292]     [false]
    SUPPRESS     [false]
    [0000000076]     [false]
    [0000000076]     [true]
    SUPPRESS     [false]
    [0000000292]     [false]
    [0000000292]     [false]
    SUPPRESS     [true]
    SUPPRESS     [false]
    NodeA context one notch up:
    SUPPRESS     [false]
    [0000000292]     [true]
    [0000000252]     [true]
    [0000000078]     [true]
    [0000000109]     [true]
    [0000000292]     [true]
    [0000000076]     [true]
    [0000000292]     [true]
    [0000000074]     [true]
    [0000000077]     [true]
    [0000000081]     [true]
    [0000000292]     [true]
    [0000000252]     [true]
    [0000000081]     [true]
    [0000000081]     [false]
    SUPPRESS
    Hope that helps you help me!
    Glenn

  • Broken map symbol with question mark.

    My parents IMac gives a broken map symbol with question mark when they tried to start the computer. What can I do to solve this problem?

    Flash Player uses its own browser plug-in.
    What happens when you get a QT ? means the association to Flash Media isn't going to the correct plug-in.
    Since QuickTime can't play most modern Flash Media files is throws back an error (QT logo and the ?).
    It also means the Flash Media plug-in is not being used.
    Turning off QuickTime (removing the plug-in) can't fix a Flash Media plug-in error. Each user must remove the association by editing the MIME Settings found in the QuickTime Control Panel (PC) or the QuickTime System Preferences/Advanced tab.
    As always with these edits or adjustments the browser must be quit and relaunched for these changes to take effect.

  • Map Symbols

    Hello everyone! I have a question concerning the symbols on map. You see, I'm making a world map in Photoshop (atlas style), and I am wondering what to use as map symbols (for city sizes and such). So I settled for the standard ones (image below), but I have no idea how to make these, or how to start making these.
    Should I use the brush tool, or perhaps the custom shape tool (and can someone tell me the difference between those two?), or something entirely else? Thanks.
    P.S. Please don't say: "Why don't you just copy the icons?", because they are kind of low-res and I really want to learn this myself.

    I recommend that you perform such a task in a vector programm like Illustrator.
    Barring that and with refernce to
    Should I use the brush tool, or perhaps the custom shape tool (and can someone tell me the difference between those two?)
    the output of the Shape Tool can be significantly better because eps and pdf can maintain vector data which would be beneficial for printing when compared to the pixel data a Brush would produce.
    But both would not initially provide you with two color objects like Hamlet, Village etc.
    but I have no idea how to make these, or how to start making these.
    You might want to read
    http://helpx.adobe.com/photoshop/using/drawing.html
    http://helpx.adobe.com/photoshop/using/drawing-shapes.html

  • Itunes won't open, should I remove and reinstall?

    Itunes on windows pc won't open, should I remove and reinstall?  Will I lose my music, etc?

    Microsoft Visual C ++Runtime Library Runtine error E6034
    An application has made an attempt to load the C runtime library incorrectly.  Please contact the application"s support team for more information.
    Many thanks.
    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates
    Under normal circumstances, an uninstall/reinstall doesn't touch your content. (That being said, it's still always a good idea to maintain a current backup at all times in case of disasters of any sort.)

  • How InDesign comes to know about any changes on document, but not saved. As it shows * on the name of document when it is opened and any changes. And after saving * symbol is get removed from the name of document. How and where indesign@ handles this?

    How InDesign comes to know about any changes on document, but not saved. As it shows * on the name of document when it is opened and any changes.
    And after saving * symbol is get removed from the name of document. How and where indesign@ handles this?

    Are you just asking because you want to know, or do you have a problem you need to solve? I don't know how to write a program, but I think what your are describing is not an unusual thing for a  program to do. The * tells you that changes have been made since the last save, and the program reserves a portion of memory for undo functions. I suppose a coder could tell you how it works, but I don't think it would help an average user to know, but that's just my opinion.

  • Should I remove Java from  my IMac?

    Should I remove Java from my iMac?  Heard  of security problem with Java and  wondered if I should delete it,

    MadMacs0 wrote:
    I've been going entirely on the almost universal statement that installing Lion does not install Java by default. I'm very aware of the fact that older versions of OS X actually rely on the use of Java for some system functions, but I've been told that is no longer the case. If that were so, then there is no need for any Java to be present, yet you say it is there and you aren't the only one who has told me that.
    But exactly how much Java is installed by default? Obviously not enough to use it for browsing. In the days of the Java 6 Preferences app, it used to alert you that Java was not installed and offer to do so.  What happens with standalone apps like CrashPlan in Lion that require Java, do they have enough, by default, to run?
    The only Java component missing in these OSs is the Java Runtime Environment (JRE). Peruse those installations, looking in these directories, and be enlightened:
    /Applicatons/Utilities/->Java Preferences.app
    /Library/Java/
    /Library/Internet Plug-Ins/->JavaAppletPlugin.plugin
    /System/Library/CoreServices/->
            Jar Launcher.app
            Java Web Start.app
            JavaVersion.plist
    /System/Library/Frameworks->
            JavaFrameEmbedding.framework
            JavaScriptCore.framework
            JavaVM.framework
    /System/Library/LaunchAgents/->
    com.apple.java.InstallOnDemand.plist
    com.apple.java.updateSharing.plist
    /System/Library/Java
    /System/Library/PrivateFrameworks/->
            JavaApplicationLauncher.framework
            JavaLaunching.framework
    to name a few, but probably not all the Java components installed with OS Xs. Then, stop saying Java's not installed, when only the JRE component is missing.
    There has been speculation from some that perhaps it migrated from an older system or that Lion was installed on top of the older system. There's also some confusion these days about what actually constitutes a "clean install".
    AFAICT, it's speculated wrongly. As for the clean install, I define it to occur when the user wipes the drive, installs the OS, sets up everything, and then installs all 3rd-party software. Then, the installation is clean. If there's any migration involved, then it's not clean. i've not done one for over ten years and my OSs started with 9.2->Jaguar->to the current three.

  • Should I remove Java plug-ins?

    I've heard there's a security problem with Java plug-ins.  Should I remove them from my MacBook?  If so how?

    Thanks for the help.
    Winifred

  • Update Symbol and Symbol Script without removing from Document library

    Is there a way in fireworks CS5.1 to update a symbol and the corresponding symbol script without removing it from the document library like it suggests in the below article
    http://www.adobe.com/designcenter/fireworks/articles/frwcs3_richsymbol_print.html

    I have done some more research on this question and there appears to be no way to update a symbol script without removing it from the document library, hopefully this bug will be patched in the near future

  • Should I remove listeners?

    I don't understand if it is my responsibility to remove every listeners associated to a variable, before I set it to null.
    JTable aTable = new JTable( new SomeTableModel() );
    aTable = new JTable( new SomeTableModel() );Even if this example isn't very correct, as I should have done setModel on the variable, should I remove the listeners from aTable before the last statement?
    In other words, should one put special care before loose a reference to a complex component?
    Actually, the setModel method in JTable.java removes the old listeners, suggesting to do the same in my example.
    I don't remeber where I read that Sun put a new method into one of the last jdk releases, to obtain the List of listeners.
    Thanks
    Enrico

    Well, yes and no.
    It is good practice to remove listeners but it is not nessecary.
    The garbage collector in your case will after a unknown time notice that your program are not referencing the JTable at the moment and with that, also the table model and all other components are unreferenced from your program (read thread). Altough the JTable and table model might still reference your program, it should not care.
    You might be careful thou if you for instance have an updater-thread running that slowly populates the model. If that thread is not removed, it will be referencing the table, and therefor neither thread, table or tablemodel will be garbage collected.
    Regards,
    Peter Norell

  • Why do I have a E showing where my wifi symbol should be.

    why do I have an E showing where my wifi symbol should be on my iphone.

    Because your iPhone is not connected to a wi-fi network or the wi-fi symbol would be shown.
    "E" means your iPhone is connected to your carrier's EDGE network for internet access.

  • If I create an security scope for a group of SCCM-admins should i remove the "Default Scope"?

    Hi,
    If I create an security scope for a group of SCCM-admins  should i remove the "Default Scope”?
    /PS
    /SaiTech

    Yes, it's OK to not add the Default security scope to an administrative user. You can add any custom security scope to an administrative user and it does
    not has to include the Default
    security scope.
    Just keep in mind that you keep at least an administrative user that contains the
    All and/or the Default security scope to not lock yourself out of the console. 
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Should I remove ini files from my macbook pro or just leave them?

    I regularly move music files from my Windows PC to my MacBook Pro. However I have just realised an ini file which has occurred. Should I remove these files from my MacBook as I don’t want any problems to occur as I use my MacBook Pro for live gigs (to DJ).
    Appreciate your responses.

    Copies them.
    Ciao.

  • Should I remove the blue film on the battery of my brand new Pavilion 15 - n096sa laptop?

    Should I remove the blue film on the battery of my brand new Pavilion 15 - n096sa laptop?

    Hi
    >>I am so sorry about that what happned with your computer 
    >>I would suggest please try doing a system test for F2 fallow the below link 
    Testing for Hardware Failures (Windows 8)
    >>and I belive you have performed recovery using F11 
    >>If still didint work try contacting ebay 
    >>or else call us @ 1800-474 - 6836 and get a set of recovery disc 
    >>try performing recovery using disc 
    Please click "Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the "Kudos, Thumbs Up" on the bottom right to say "Thanks" for helping!
    I am an HP employee

  • Should i "Remove All Website Data" as well as clear Cookies and Data off my iPad

    Should I "Remove All Website Data" as well as Clear Cookies and data?

    Not for normal everyday use.
    Would you have a specific reason to do so?  If not, don't bother.

Maybe you are looking for

  • Reading Dynamic Files using File port

    Hello All, We have a requirement in our project where we have to use File Port to pick a set of IDOC Flat files from a given directory. The File Port only allows us to pick a file with a specific given name and does not allow us to pull file with a p

  • Oracle Forms..  Master/Detail problem

    Hi,.. I have a problem.. I have 2 blocks in a page. One is an single row block and the other one an multirow block.. master/detail relationship. I would like that when I change a specifike item in the master block, a column of a specifike record gets

  • Is Frame by Frame Seek possible in Flex 4?

    Hi, I am working on a Flex player and I want to move frame by frame but the seek() function moves only in seconds.Is it possible using any other function? Plz reply. I am kind of stuck. The functionality I want is available in VLC media player. You c

  • Photoshop Elements 11 Classroom in a book

    I have purchased 3 copies of Adobe Photoshop Elements 11 Classroom in a Book. None of the DVD or CD work. There is nothing wrong with my machine everything else works. Is there any site where I can download the files as if I did not have a drive?

  • Compatibility of MS SURFACE PRO with executable (*.exe) compiled with Visual Fox Pro 6.0 (or eventually upgraded to VFPro 9)

    I develop application in VFPro V. 6.0 wich run OK in Windows up to Vista and 7. I am considering to buy SURFACE 3 PRO and I would like to know if I can run VFPro 6.0 on SURFACE (my V. 6.0 or - if upgrading it to VFPro 9) . In other words can I us SUR