Null characters in the source file

Hi frnds,
We have a file to file scenario, where in R/3 system will generate the flat files and put in the some folder of R/3 system itself. XI needs to pick this file and process but the problem here is the file contains every alternate character as null character i.e., 1st,3rd,5th.. and so on. Whic is failing during mapping.
Following is the error message displayed:
*com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0x0(:main:, row:4, col:12) at java.lang.Throwable.<init>(Throwable.java:56) at com.sap.aii.utilxi.misc.api.BaseRuntimeException.<init>(BaseRuntimeException.java:58) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:187) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:174) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) a.............t *
Please can any one help how to handle this file with null characters.
Regards,
Shiva.

HI,
On source side make all those fields as optional i.e. occurance will be 0..1 or 0...Unbounded.
Also while mapping with Receiver fields make those also optional or use DefaultValue Node to pass default value as blank space.
Actually the node is unable to generate due to Null value so that might be the problem
Thanks
Swarup

Similar Messages

  • Export pdf and save as using digits.pdf eliminating all the text characters from the source file.

    Hi all,
    Usually when we export pdf from indesign or whatever software,,, the pdf file naming will be as per source file...
    eg.,  123456_dfdfjljf_ULCC.indd will be exported and saved as 123456_dfdfjljf_ULCC.pdf.
    my request is "the pdf should be saved as 12345.pdf avoiding all the characters following first digits.
    hint: first digists may be more or less than 4 digits....
    My request is any number of digits should be saved as 23232.......pdf and avoding the following characters.
    please help me... i have hell lot of pdf to export from indesign.......
    thanks
    bobylon.

    There is no "whatever" here - when you export from InDesign or other software each piece of software makes its own naming decisions. It isn't an Acrobat or JavaScript thing at all.

  • Getting the Source File name Info into Target Message

    Hi all,
    I want to get the Source file name Info into Target message of one of the fields.
    i followed Michal BLOG /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Requirement :
    1) I am able to get the Target file name as same as the source file name when i check the ASMA in Sender & Receiver Adapter , with out any UDF...............this thing is OK
    2) I took One field extra in the target structure Like "FileName" & I mapped it Like
                              Constant(" " )--UDF-----FileName
    I Checked the Option ASMA in Both Sender & Receiver Adapters
    Here iam getting the Target File name as same as Source file name + Source File name Info in the Target Field " FileName".
    I Dont want to get the Target File name as same as Source file name. I want like Out.xml as Target file name.
    If i de-select the Option ASMA in Adapters means it is showing " null" value in the target field "FileName".
    Please Provide the Solution for this
    Regards
    Bopanna

    Hi All,
    Iam able to do this by checking the Option ASMA in only sender adapter itself
    Regards
    Bopanna

  • UDF to truncate some characters in the source field

    Hi all,
      My source field is 18 characters , the target field is 15 characters.Si i need to drop the 3rd, 4th and 5th character from the source file.Can any body help me with the UDF to be written during the mapping

    Hi Priya,
    UDF is not required. Do The Mapping as suggested by RAJA..
    Do It Like This
    Input ------> subString(0,2) -----\
                                       -------->Concat[]----->output
    input ------->subString(5,13)-----/
    Regards
    Jyothi A

  • Publishing the 'button' widget using the source file

    Hi everyone!
    I want to use Captivate 5's 'button' widget, but wanted to change the design of the buttons. The source file I found was located at: Adobe Captivate 5/Gallery/Widgets/Source/ButtonsWidget/Button.fla
    The problem is, when I try to publish this source, I get an error that says "/Applications/Adobe Captivate 5/Gallery/Widgets/Source/ButtonsWidget/comp/transformTool/TransformTool.as, Line 1314    Warning: 3553: Function value used where type Boolean was expected.  Possibly the parentheses () are missing after this function reference."
    What does this mean? Does anyone know how to publish this widget correctly? Please help!
    Thanks.
    Best regards,
    ~edlearner

    If you are on Windows you can just create a message in Outlook Express, then save it as a .eml file. This is just a plain text file in MIME format. (You can probably do the same from most simple email client apps... except Outlook).
    To load this in to a Javamail object, you will still need a Session (which in-turn means you need an SMTP Server, although the server just has to be a valid IP belonging to a computer which is network accessible). I typically use the com.sun.mail.smtp.SMTPMessage for simple SMTPMessage operations. You can load this from you .eml file like this:
    FileInputStream fileSource = new FileInputStream(yourEMLFile);
    Session session = Session.getInstance(null, null);
    SMTPMessage message = new SMTPMessage(session, fileSource);Or if you want to use the javax.mail.internet.MimeMessage class just use this instead. It has the same session/stream constructor

  • In trying to update I received this message: Firefox 3.6.3(2).dmg.part could not be saved, because the source file could not be read.

    In trying to download an update I first received: "There were problems checking for, downloading, or installing this update. Firefox could not be updated because: No data was received (please try again)" It also gave a link to download manually. When I tried from the Firefox website I got: /Users/(deleted for privacy)/Desktop/Firefox 3.6.3(2).dmg.part could not be saved, because the source file could not be read.
    Try again later, or contact the server administrator. I tried this 3 times.
    == This happened ==
    Not sure how often
    == Mon around 11 am, central time, May 17, 2010

    I have tried downloading the file several times and get the same message: "No data received." I have no other system problems, I navigate well to other sites, but I'm unable to download this upgrade. Any suggestions?

  • Windows Easy Transfer (WET) Issues with External Hard Drive - "Can't read from the source file or disk"

    I work for Office Depot, in the tech department. Basically, one of our associates was supposed to do a data backup, and re-install Windows 7, then transfer the files back. He used Windows Easy Transfer and compacted everything into a 163 GB file. 
    Now comes the hard part. When we try to put it back on his computer ((drag-and-drop to the desktop) which has been wiped back to factory settings using the recovery partition), it stops at 79.5 GB remaining (you know how it doesn't give you a % of completion,
    it just shows how many GB are remaining) and then says "Can't read from the source file or disk" and gives you an option to try again, or cancel. It gets hung up on the same point each time.
    Normally, this wouldn't be a huge issue, but the contents on the drive are his wife's architect blueprints and interior design stuff, along with wedding photos, etc, which are the only copies they have. On top of those, they have court documents and other
    important files that we are unable to access now.
    I wasn't involved with this transfer, so I'm trying to clean up the mess as best I can. I remembered that the customer's wife was Russian, and had some files typed with a Russian keyboard, so on and so forth. I wonder if that's the issue? If not, I really
    have no idea how to manually extract things from a ".mig" file, or how to diagnose what area is potentially corrupted.
    In light of this situation, we tried using "Recuva" to recover the files post-wipe, but everything was corrupted or unable to be opened, and it also extracted and recovered all of the "useless" photos, such as the skype logos, up and
    down arrows for browsers, etc (it was 160,000+ photos).
    Trying to avoid a potential lawsuit, unhappy customer, and costing the company lots of money to see if professionals can get into this external hard drive.
    Other relevant information:
    We used a Toshiba 500 GB (465 GB) external hard drive.
    Customer's computer is an HP Pavilion P6000 Series (Model No. p6520y) running Windows 7 Home Premium 64-bit Service Pack 1.
    Any other information that is needed can be provided, thanks in advance, and hopefully we can find a solution to this issue quickly!
    -John

    I think there's a lack of understanding somewhere.
    "If you even can't start the process, please unplug it from your new PC. Then head back to your new computer and plug
    the external drive back in to your new computer. "
    Unplug from new, head back to new, plug it back in? That doesn't make much sense! Haha.
    I knew what you meant though, somewhat. When I search through the drives after clicking yes (Has windows easy transfer
    already saved your files blah blah blah) I click on the transfer file and it says "Windows Easy Transfer could not open the file".
    Rather than drag-and-drop the file to the desktop, I now tried to double-click on the file itself while it was plugged
    into the computer. It opened, and it started transferring until it was about 70% completed, and then an error popped up saying "WET can't open the easy transfer file, make sure your USB device is plugged in or check your internet connection". 
    I checked, and the USB hard drive's light wasn't on. Now, I unplug it and plug it back in, and the light comes back on,
    so I click Retry, and it resets the bar back to nothing and says "Transfer time: 1 minute".
    Rather than continue trying, I clicked "Cancel" instead of Retry, and it says "Your transfer did not complete successfully."
    It says to click "view report" for more information, but there's no "view report button".
    At the moment, I am scanning the External Drive for bad sectors using the check disk tool in properties. It's frozen
    at "0 USN bytes processed".

  • How do I save PDF files by default to the folder of the source file?

    How do I save PDF files by default to the folder of the source file with Acrobat 9.0.0 Standard?

    I am not seeing that behaviour. If I right-click a link to a .pdf file, I get the file saved with the original filename.
    Maybe one of the settings in about:config controls that?
    pdfjs.previousHandler.preferredAction is a setting that has a value of 4 with my setup. I have no idea what that means, and I could not find any explanation anywhere. You could try using different numbers for that value and see if any make any difference. Why has nobody bothered to explain that setting anywhere?

  • How can I change the source file so it is direct from external hard drive?

    I am trying to make a movie on imovie of a snowboarding trip that I went on, there is around 80 to 100 gig of mp4 movies that will not fit on my computer that I have stored on my external harddrive. I had the movie half finished then found I could do no more as I had no space left in my mac. I had to delete everything and start again but I'm not doing this until I can find a way of changing the source file so I can take them direct from my external hard drive as to not use up all my computers available space. I have moved imovie to my external hard drive but it still tries to read from a movie file on my mac, how can I change that so it will read from a source file on my external hard drive, is it possible?? Can someone help me??

    Hi Bengt, Thanks for your input, much appreciated.
    I have a WD 1TIG hard drive and are using usb connection, is it possible to use fire wire with these? I have had trouble with a lot of the videos I Imported, once they downloaded the file in the viewer window showed up blank and when I mouse over them it places a picture of another file in the window and wont drag and drop into the movie window, like their corrupted or something? Had to delete just about all of them and start again. Also is it possible to select a bunch of videos in the viewer window as to change the dates to the correct dates? All I have been able to do is "select all" which is no help.

  • How do I stream purchased movies to my Macbook Pro if I've already downloaded them and moved the source files to an external desktop hard drive and I'm away from home?

    I recently added a number of movies to my iTunes library by redeeming digital copeis that came with Blu-rays. Due to limted disc space on my MacBook Pro, and for safe keeping, once I downloaded the movies, I moved the source files to an external desktop hard drive. When I'm home and I'm able to access that external HD via my home network, I'm able to watch the movies without an issue. However, if I'm away from home and I want to watch them, I'm not sure how to do that. I thought I could "stream" purchased movies from within iTunes  - even after downloading them - using "iTunes in the Cloud" but can't figure out how to do that, or it simply isn't possible.
    What are my options?

    I understand that I can't play my downloaded movies when my external HDD is not connected becuase iTunes is looking for the downloaded files. This is not the issue. The issue is that because my HDD is not connected (as in when I'm away from home) I'd like to be able to stream the movies via the cloud.
    If I hadn't downloaded the movies when I redeemed my codes, would I have been able to keep the movies online via Apple iCloud and watched them anytime by streaming them or must the movies be downloaded in order to be viewed on my MacBook?  I read that Apple allows movies purchased (or redeemed) via iTunes to be stored in the cloud via Apple iCloud so that they can be viewed any time, on any device.  IF this is the case, how does it work? From what I can see, it looks like movies can only be "streamed" from the cloud when useing Apple TV; on my iPhone and MacBook Pro, it looks like they need to be downloaded in order to be viewed.
    Can someone clarify this for me?
    Also - Michael - when you said that If I've already downloaded the film but I'm away from my external HDD I should "Delete the entry from the iTunes library so iTunes only sees the iTunes in the Cloud version", what exactly would this mean? Would this mean that I could then stream the movie from the cloud or would I have to re-download it to my Mac's internal HDD in order to watch it?
    Many thanks!

  • How do I relink my video files when the source files are located in an AVCHD folder structure?

    I am using FCP X 10.1.1 and I was completely done with editing a simple multicam video for a choir track and when I was exporting it it failed. I re-opened FCPX and found that there are several missing files, when I had just been working with them just a second ago! I know about relinking video files, but when I try to locate the source files (knowing where they are), the browser will not let me select ACHD file contents to get at the video files. Also, I cannot open the Library file for my project either.
    Here is a snap shot:

    If it comes down to it, use clip wrap to carve your .mov files out of the SD. I am confused tho - if you were originally able to import all you needed and still have the original media ? Why can't you do it again to add other clips? To "get in" to your Library, control click on it>show paskage... but do NOT MOVE anything only copy.
      Perhaps soeone else can shed light on this?

  • Where does Lightroom put HDR in the grid view? Is there anyway to have Lightroom stack the HDR file with the source files?

    I can't decipher where (and why) the program is putting the HDR image in the grid. I stack all of my HDR source images so they are easy to track and manage. Other apps/plugins allow you to stack resulting images with their source image. That would be great if there's a way to set that in LR preferences.

    Thanks, but this doesn't really answer the question about stacking the HDR file with the source files. Yes, it does put the file in the same folder, however many of my folders have 100s of images (that often look similar) and as far as I can tell, LR places them randomly in the sort order. It doesn't appear to put them at the beginning or end of the sort (usually by date), but somewhere randomly in the middle. Even if it could be made clear what method it is using to sort them, that would help locate one file among hundreds.
    Ideally, however it should allow you to stack with the stacked source files. Is there anyway to do this? If not, is it a feature that could be requested?

  • Cannot save webpage (.html file) because get error sayting that a " .js" file could not be saved, because the source file could not be read. Any ideas where my problem is? Thx.

    Every time I attempt to save a webpage (.html format) I get a message indicating that some .js-type file was not saved because the source file could not be read.
    I did some "cleanup" of add-ons because there were so many. Is it possible I deactivated one that I need to read .js files, or could/would it be something else?
    Thanks.

    Please help.
    It is getting worse
    Adobe flash player is crashing. I already uninstalled and re installed the latest ver. Also it is hanging randomly.
    Please help.

  • How I can diable in firefox dialog box "download error could not be saved, because the source file could not be read. " when file not downloaded

    How I can diable in firefox dialog box "download error could not be saved, because the source file could not be read. " standart download manager when file not downloaded

    It is possible that anti-virus software is corrupting downloaded files or is interfering otherwise.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See:
    *http://kb.mozillazine.org/Unable_to_save_or_download_files
    You can try to set the browser.download.manager.scanWhenDone pref on the <b>about:config</b> page to false.
    *http://kb.mozillazine.org/about:config

  • I've tried to d/l itunes 3 times and every time I get this message: .....Downloads\iTunesSetup.exe.part could not be saved, because the source file could not be read.  I have no idea what I'm doing. Does anyone have any ideas to help? Cheers.

    I've tried to d/l itunes 3 times and every time I get this message: .....Downloads\iTunesSetup.exe.part could not be saved, because the source file could not be read.  I have no idea what I'm doing. Does anyone have any ideas to help? Cheers.

    I've tried to d/l itunes 3 times and every time I get this message: .....Downloads\iTunesSetup.exe.part could not be saved, because the source file could not be read.  I have no idea what I'm doing. Does anyone have any ideas to help? Cheers.

Maybe you are looking for

  • Safari 7.0.3 crashes: NSTableView error

    Since before installing the 10.9.3 update, Safari 7.0.3 crashes randomly when left open for a period of time. This is on my new Mac Pro (Late 2013), it does not happen on my MacBook Air Crash reports indicate an error inserting rows: *** Terminating

  • Creating a view with existing GeoRaster columns and new SDO_GEOMETRY column

    Hi, In a nutshell, I already have 1 real table, which has several attributes including types such as text, numbers etc. but also a GeoRaster column. This table works great, has its metadata stored properly and is spatially indexed; no worries. I am t

  • Need some help with trying to stop blackberry be over written after sync. ...... had some numbers ect that i need back q

    Hi there am new to this but not new to Blackberry's in gen...ive had loads as had a fair few problems with the Torch 2's and Curve 3Gs...so Im now on the Torch 9800 and find that when ever I sync with my mac it keeps overwritting the contacts is ther

  • TableModel refresh problem!

    I am new to Java so any reply to put me in the right direction is appreciated. I have inquired on New to Java, but the solutions received unfortunely did not help. I believe the I need some help with the CellRenderer, but not sure. I have a TableMode

  • Posting IDocs into the same system

    Hello Experts, We are having a requirement where-in we have to created a IDoc for the failed message in our RFC and hence it should be created in our own system and should be having status Error (Red). Is there any function module by which we can cre