CarriageReturn and lineFeed in the File

Hello,
This is my scenario. I am using the standard program RSEINB00 to convert a idoc flat file to xml and then passing it through the Interface. When the flat file is converted to XML, the End of line of the file is going as a special character into the XML. There is no File sender adapter in this case..The Program in XI picks up the file and converts to XML..and that xml is mapped to the target structure..In that target structure, this special character is causing the problem.
I cannot remove this special character in the mesage mapping between idoc xml to target structure bcz there are lots of fields and this problem occurs for similar interfaces.
I am thinkin of a universal solution for this..I have an idea in mind..but want to know if anyone has come across this problem and could find a solution in XI. Please let me know..Thank you..Any help is greatly appreciated..
THankyou
Thanujja..

Dear Thanuja,
As you are getting flat IDOC and you are not using any adapter to pick this flat IDOC. Is there any specific reason behind that?
I agree the program RSEINB00 is doing adapter job. so that we can skip content conversion.
normally the files generated on the unix system has LF (Line feed) as end of the line in hexa decimal we can see this as OA.
the files generated on the windows system has CRLF (Carriage return Line feed) in heaxa decimal (ODOA).
So your flat IDoc contains CRLF after end of the every segment.
if the program is converting flat idoc into xml successfully and added with special characater after end of the every segment.
It means last xml tag of the segment contains this special character. As you are mapping this to the tatget field. so your target field contains this extra special character.
so we write a small function as follows and use this for every last field of the segment which is used in the target field mapping.
suppose if special character is *
int index = a.indexOf("*");
if (index !=-1){
return a.replaceAll("*", "");
return a;
Give me a shout if i didn't understand your problem correctly..
Cheers,
/Hidayat.

Similar Messages

  • I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.

  • I recently had some 8mm film transferred to DVD. I am trying to edit the film clips using Premier Elements 4.0.  Some of the film clips copy into the project but others don't. I tried copying the VOB filed onto my hard drive and then changing the file ext

    I recently had some 8mm film transferred to DVD. I am trying to edit the film clips using Premier Elements 4.0. so I can reburn the films on a single BluRay disc. Some of the film clips copy into the project but others don't. I tried copying the VOB filed onto my hard drive and then changing the file extensions on the VOB files to MPEG but this was no help. Some of the VOB files contain numerous film clips but my software does not appear to be able to recognize them as such. I need to know if replacing my old Premier Elements with the new Version 13 would solve this problem or not. Any advice would be greatly appreciated!
    Bob

    Bob
    What do you have now.....
    What computer operating system do you have?
    We can go into the finer points of source and your intentions, but for now it would appear that you are using SD 4:3 source media to get to a HD 16:9 result. Lots to discuss in this regard.
    What was given to you on the DVD disc? DVD-VIDEO 4:3 or something else?
    If DVD-VIDEO on DVD disc, you should expect to find on the disc a folder named VIDEO_TS. That is your target for your video files.
    If you were given a DVD-VIDEO on DVD disc, then all you want from it are the video files, specifically
    VTS_01_1.VOB, VTS_01_2.VOB, and so on through that series until possibly getting to
    VTS_02_1.VOB, and so on. How many files you have beyond the VTS_01_1.VOB file will depend on the size of the DVD-VIDEO.
    Does the above scenario apply to you?
    The alternative might be someone giving a DVD disc (data disc) which contains just the VTS files mentioned which were copied from
    the VIDEO_TS Folder. So, you do not get the whole VIDEO_TS Folder, just the essential video files. Does this scenario apply to you.
    I see no need to replace your Premiere Elements 4 with a later version unless you have a huge project and need a later version that will be a 64 bit application running specifically on Windows 7, 8, or 8.1 64 bit computer.
    Consider...Premiere Elements 4 and if you have DVD-VIDEO on DVD....
    1. Place the DVD disc in the burner tray
    2. Open Premiere Elements 4 and set the project preset for NTSC DV Standard (assuming you are working in a NTSC setup)
    3. Go to
    Get Media
    "DVD, Digital Camera, Mobile Phone, Hard Drive Camcorder, Card Reader"
    "Adobe Premiere Elements - Media Downloader" and its Advanced dialog.
    Set the Source in the latter dialog for the drive which has your DVD disc inserted in its tray
    You should see your VTS_01_1.VOB thumbnail in the "Adobe Premiere Elements - Media Downloader" Advanced dialog.
    With this VOB selected, click on Get Media to get the file from there into the project.
    Should work fine.
    Complications may be involved if the people who processed your footage gave you something other what is described above.
    Please review and consider, and then we can plan our project strategy accordingly.
    Thank you.
    ATR

  • I am using Numbers app for the ipad and it has been working absolutely fine but now, when I want to email a spreadsheet as a PDF via the 'share and print' option, the file now doesn't appear as an attachment to the recipient. Any ideas please?

    I am using Numbers app for the ipad and it has been working absolutely fine but now, when I want to email a spreadsheet as a PDF via the 'share and print' option, the file now doesn't appear as an attachment to the recipient. Any ideas please?

    Hi mafiose15,
    Thanks for visiting Apple Support Communities.
    Restoring your iPod to factory settings is the best way to try and get it back to working order. You can use the instructions below to restore it:
    How to restore iPod
    Verify that you have an active Internet connection, because you may need to download new versions of the iTunes and iPod Software.
    Download and install the latest version of iTunes if necessary.
    Open iTunes. Connect your iPod to your computer using the USB or FireWire cable that came with your iPod.
    After a few moments, your iPod will appear in the Source panel in iTunes.
    Select your iPod in the Source panel. You will see information about your iPod appear in the Summary tab of the main iTunes window.
    Click Restore.
    If you are using a Mac, you will be asked to enter an administrator’s name and password.
    A progress bar will appear on the computer screen, indicating that stage one of the restore process has begun. When this stage is done, iTunes will present one of two messages with instructions specific to the iPod model you are restoring.
    Disconnect iPod and connect it to iPod Power Adapter (typically applies to older iPod models).
    Leave iPod connected to computer to complete restore (typically applies newer iPod models).
    During stage two of the restore process, the iPod displays an Apple logo as well as a progress bar at the bottom of the display. It is critical that the iPod remain connected to the computer or iPod power adapter during this stage.
    Note: The progress bar may be difficult to see, because the backlight on the iPod display may be off.
    After stage two of the restore process is complete, the iTunes Setup Assistant window will appear. It will ask you to name your iPod and choose your syncing preferences, as it did when you connected your iPod for the first time.
    You can find the instructions in this article:
    Restoring iPod to factory settings
    http://support.apple.com/kb/ht1339
    All the best,
    Jeremy

  • HT1473 Help I just moved my music files to a external hard drive and am using the new crappy version ( i know my opinion) of itunes and cant add the files to my libray it gives me the add file to library option but not the add folder to library option wha

    Help I just moved my music files to a external hard drive and am using the new crappy version ( i know my opinion) of itunes and cant add the files to my libray it gives me the add file to library option but not the add folder to library option what am i doing wrong?

    In iTunes 11 uncheck the preferences setting in in the iTunes Preferences panel "Advanced > Copy Files to iTunes Media folder when adding to Library"

  • I am a Windows Vista User. I updated my iTunes Version 10.3. Then, when I re-opened my iTunes, all files were gone! Good thing I consolidated the files and just imported the files again. But, this happens every time I close and open my iTunes. Help?

    I am a Windows Vista User. I updated my iTunes Version 10.3. Then, when I re-opened my iTunes, all files were gone! Good thing I consolidated the files and just imported the files again. But, this happens every time I close and open my iTunes. Help?

    In iTunes 11 uncheck the preferences setting in in the iTunes Preferences panel "Advanced > Copy Files to iTunes Media folder when adding to Library"

  • I get the following error everytime I download something from the internet:-"/Users/vinaypunjabi/Downloads/Ontario Colleges Chart(2)(1).pdf could not be opened, because an unknown error occurred.  Try saving to disk first and then opening the file".

    I get the following error everytime I download something from the internet:-"/Users/vinaypunjabi/Downloads/Ontario Colleges Chart(2)(1).pdf could not be opened, because an unknown error occurred.  Try saving to disk first and then opening the file".
    Then it shows as downloading failed.But if I click on it twice ,it opens up .
    this has started happening since last week.Before this ,it never happened.
    Please suggest what has gone wrong somewhere and how can I rectify it.

    Please install the following add-on to see if it helps.
    https://addons.mozilla.org/en-US/firefox/addon/pdfjs/

  • My Adobe Illustrator is CS6 and it corrupts the file if I save it using accents

    My Adobe Illustrator is CS6 and it corrupts the file if I save it using accents. How do I fix this?
    I mean, if I save a file called "crachá" I'm using an accent on "a" so it showed as "á" but if I do this Illustrator says the following error:
    "The file may be read-only, or another user may have it open. Please save the document with a different name or in a different foulder"
    and when I try to open it says:
    "The file "Crachá.ai" is in an unknown format and cannot be opened."
    So, my solution is to create a new file and call it "Cracha", without the accent. But it never happened before. How can I fix this legitimately?
    Thanks.

    As for the resolution problem: upsampling an image doesn't improve its quality, because there's simply not enough information there.
    As for the warning you get: it's most likely caused by RGB color mode or by placed RGB content that interacts with other content in the file (e.g. because you applied transparency)
    In English it's this one:
    As far as I see it there's no alternative to learning the basics of printing, color management and transparency. This is nothing that can be done by some forum posts.
    Printing:
    http://rufus.deuchler.net/2011/06/adobe-publishes-a-new-creative-suite-555-printing-guide. html
    You need to understand what's happening on conversion of RGB to CMYK color space, which will happen when printing to offset presses. When you print on office printers, something else happens and all kinds of color may come out, because these machines sometimes do their own color correction and everything depends on how you set up the machine.
    Provided you check the PDF in Acrobat: you need to set up color management there as well. This might lead to the differences (greenish) you're seeing.
    Find a good book on color management and read the manual:
    Creative Suite * Understanding color management (there's more about the subject)
    As for transparency:
    http://partners.adobe.com/public/asn/en/print_resource_center/Transparency-DesignGuide.pdf
    http://partners.adobe.com/public/asn/en/print_resource_center/TXPGuide.pdf
    Before sending files to a print service provider you need to get information on how they need the file. Most providers won't accept PDFs generated with "No color conversion". Or they won't guarantee for the output.
    What you see on your monitor won't necessarily match the printed result unless your system is correctly calibrated and color management set up. And even then there might be differences.
    Can't you contact this former colleague, pay him an amount of money and let him teach you the tools of the trade?

  • Hello, I am attempting to install Camera raw from a .zip file provided via a link provided by adobe for a Nikon D810. The .zip file unzips fine and I moved the files to the recommended folder. But the operation is failing

    I am attempting to install Camera raw from a .zip file provided via a link provided by adobe for a Nikon D810. The .zip file unzips fine and I moved the files to the recommended folder. But the operation is failing

    Can you describe what “the operation is failing” means?  What is happening and how is it different than what you expect?
    Also, what product are you trying to update manually, and do you have a link to the page of instructions, so we know what your attempting to do?

  • Final Cut Crashed and then corrupted the file. So Final cut wouldn't open up. I tried reloading the backup, trashing the prefs file, systematically going through the 3 previous versions and opening them by themselves one by one to no avail.

    Final Cut Crashed and then corrupted the file. So Final cut wouldn't open up. I tried reloading the backup, trashing the prefs file, systematically going through the 3 previous versions and opening them by themselves one by one. I found Final Cut now loads but each of the backups and files in the previous 3 versions won't load. I've worked on the project for 3 weeks. Im suprised the backup files won't load either!?! I've only rendered 1 low res version. I am thinking I will have to rebuild the project in Final Cut 7. That is simply too risky to have all my back ups not load up!!

    I'm a little confused by this?
    Final cut now opens if launch older projects. But if I actually click on the project it crashes. Im not sure what you mean by events? I've moved them from the events folder.
    but when I open up and of the projects the FInal Cut opens but then wont load the project even with no events in the FInal Cut Events folder.

  • I have "migrated" my Time Capsule files to my new iMac and most of the files to me "I don't have permission to view files" I am they admin....will I thought I was. What gives?

    I have "migrated" my Time Capsule files to my new iMac and most of the files to me "I don't have permission to view files" I am they admin....will I thought I was. What gives?

    You should be able to change the permissions on the files.. this is yet another bungle by Mavericks I suspect.
    http://support.apple.com/kb/PH13799
    Sometimes it is because you Migrated wrongly.
    http://pondini.org/TM/E10.html
    It is not up to Mavericks because sadly the guy who wrote all this great info died recently.

  • During and after downloads, the file is not viewable in the download window. I can find the file later by going to Explore and selecting my documents/downloads.

    When I download a file the download window opens but not files are viewable. I cannot execute a file from this window. I can open the download file using Explorer and then execute the file from there. Why are the files not viewable.

    In the Finder,navigate to your projec folder. Look in the Shared Items folder. Is there a video ffile inside? Does it play intact?
    Russ

  • I bough a Mac Pro 2010 second hand and deleted all the files without backing up now is asking me for the Apple ID of the person who installed maverick,any ideas

    I bough a Mac Pro 2010 second hand and deleted all the files without backing up now is asking me for the Apple ID of the person who installed maverick,any ideas

    If the Mac's firmware was updated, you can try this Internet Recovery:
    Hold down Command + Option + R during restart or bootup; hold until you see a spinning globe (takes up to 10 minutes). Once in the Utilities window, use Disk utility to wipe the drive, then return to the window and choose to reinstall OS X. If that works, the OS will be installed without being tied to an Apple ID.
    FWIW, if the firmware was updated, you will not be able to use the Snow leopard disk to install - I just did several tests and it does not work. You can, however, possibly install the SL onto an external drive and then clone it to the internal or (if you have a clone), boot from that and clone it back - I just tested that as well.
    If the firmware was not updated, then you can use the SL install disk.

  • In Keynote09, if i set custom presenter display settings (large presenter notes), and i save the file, will i see my notes in the same way on another computer? Are the presenter display setting saved in the file?

    In Keynote09, if i set custom presenter display settings (large presenter notes), and i save the file, will i see my notes in the same way on another computer?
    Are the presenter display setting saved in the file?
    Thanks for your help!

    it wont.
    Presenter note display is set per machine.
    Surprising nobody in this community knew this.

  • Hey i have ios 4.3.5 on my ipad and i wanna update it to ios 5.1.1 and ive downloaded the file made by apple but every time i try to update it to ios 5.1.1 it allways says error 3194. can anyone help?

    hey i have ios 4.3.5 on my ipad and i wanna update it to ios 5.1.1 and ive downloaded the file made by apple but every time i try to update it to ios 5.1.1 it allways says error 3194. can anyone help?

    alanangert1 wrote:
    ... every time i try to update it to ios 5.1.1 it allways says error 3194. ...
    3194  = http://support.apple.com/kb/ts4451
    If the above Support Article does not resolve it... then you have a problem.
    Perhaps a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is required..
    Be sure to make an appointment first...
    Note:
    That error message may be indicative of the Device being Hacked / jailbroken.... If this is the case then you are on your own.
    Unauthorized modification of iOS...
    http://support.apple.com/kb/HT3743

Maybe you are looking for

  • Stolen Mac has been locked via Find my Mac, anyway to get IP address of where it was connected so i can trace that way

    So my Macbook Air was stolen last year (May 2012), recieved an email this morning from Apple saying it had been "Locked".... Besides the locked indication i want to be able to find out where it is... Surely Apple will keep a log of the IP address tha

  • Reflecting credit note to the stock

    Dear MM Gurus, we have a requirement as below. We will create a PO and do GR and IR. Later after some time if the material crossed expiry date, the vendor will replace the same with free of cost. Some times if he cannot replace , he'll give credit no

  • Problem to read an external file in a web application

    Hello everybody. I'd like to know a method for reading a file (how I may connect to it?) This file is in a directory is in an external computer. I don't want to use a client/server application. I think that I must to use JNDI but I'm not sure. I thin

  • Disable addressbar in Assigned Internet Explorer

    In my assigned user account I want to run Internet Explorer to display the configured start page. This works. However, the user is still able to see the address bar and can enter a new address. Does Modern IE support hiding the address bar like Deskt

  • Nomad Muvo2 h

    I just got this player today, but in the instructions it doesn't say how to convert cd files to mp3's so that i can play them on my player. There was a program called Creative Audio Converter that came with it, but when i tried converting the .cda fi