How to handle preceding space characters in file to file(FCC on both sides)

Hi All,
We have scenario with file to file (FCC on both sides).
Issue is: Sender side we are converting source file (CSV) into XML. But while converting it is ignoring preceding spaces.
Example:
Suppose Source file(CSV) contains one record as mentioned below ( for ur understanding purpose I mentioned 'X' instead of space. )
XXXXXXXXXX12345     78945  23548    23446
The above record is getting converted into XML as
<text>12345     78945  23548    23446</text>
But we need the record to be converted into XML as mentioned below
<text>XXXXXXXXXX12345     78945  23548    23446</text>
i.e we need spaces before "12345" also.
As both sender and receiver having same structure, we are not using any mapping also.
Please suggest in this regard.
Thanks & Regards,
Nagaraju

Hi,
In your sender content conversion use the parameter:
NameA.fieldContentFormatting     nothing
For further ref:
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
Regards,
Manjusha

Similar Messages

  • Problem launching Firefox from Windows with file path that contains space characters in the html file's file name

    We have a software application that programmatically launches the default web browser using the Windows shell execute function ("ShellExecuteA" in the "shell32.dll" library of the Windows API) along with a file path for a saved local html file that is to be displayed. In the case that FireFox is the default browser and the file path for the html file contains any space characters in the html file's file name, Firefox (in this case v7.01) will display an error message "File not Found..." and then will also proceed to open tabs for each of the individual words in the file name, launching as the URL path, each individual word appended to ".com".
    In the following example, the path "C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm" when launched programmatically, resulted in the error message "File not Found...Firefox can't find the file at /C:/KSSecOfState/Forms/Kansas." and opened up browser windows for "http://www.secretary.com/", "http://www.of.com/", "http://www.state.com/", "http://www.and.com/", and attempted to launch "http://forms.htm". If the same file (renamed) is launched using the path string "C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm" the file opens up correctly in Firefox. Clearly the presence of spaces in the file name is causing the problem.
    I should also note that either path (with or without space characters) works properly if pasted directly into the Firefox URL path menu bar for a live instance of Firefox. The test path strings I used were:
    C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm
    C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm
    Does anyone know anything about this problem or how to work around it (other than the obvious answer of taking the spaces out of the file name which is not possible for this application). It seems the problem is specific to Firefox. IE works properly if launched programmatically with spaces in the file name passed to it. I haven't tested other browsers yet.
    Thanks!

    If starting from ShellExecute works the same as starting from the command line then there are two options:<br>
    Put everything inside double quotes<br>
    '''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''"c:\test\svg test.htm"'''<br>
    Convert to a valid url with file:// protocol and percentage-escaping the space<br>
    '''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''file://c:\test\svg%20test.htm'''<br>

  • How to I eliminate space in my start up file so I can increase more space to add onenote?

    how to I eliminate space in my start up file so I can increase more space to add one-note?

    Go step by step and test.
    1. Start up in Safe Mode.
        http://support.apple.com/kb/PH11212
    2. Backup your computer.
    3. Empty Trash.
       http://support.apple.com/kb/PH13806
    4. Disk space / Time Machine ?/ Local Snapshots
      Local backups
       http://support.apple.com/kb/ht4878
    5. Delete old iOS Devices Backup.
        iTunes > Preferences > Devices
        Highlight the old Backups , press “Delete Backup” and then “OK”.
        http://support.apple.com/kb/HT4946?viewlocale=en_US&locale=en_US
    6. Re-index Macintosh HD.
        This will take a while. Wait until it is finished.
        System Preferences > Spotlight > Privacy
        http://support.apple.com/kb/ht2409
    7.Try OmniDiskSweeper. This will show the storage size details of the items.
       https://www.omnigroup.com/more
       Select Macintosh HD and click  “Sweep Selected Drive” at the bottom.
       Delete the files you don’t want to keep.
       Be careful. Delete only the files that can be safely  deleted. If you are not sure about any file, don’t touch it.
    8. Move iTunes, iPhoto and iMovie media folders to an external drive.
        iTunes
        http://support.apple.com/en-us/HT201562
        iPhoto
        http://support.apple.com/kb/PH2506
        iMovie
        http://support.apple.com/kb/ph2289

  • How to handle the control records in case of file to idoc scenario.

    Hi All,
    can you please clarify me how to handle the control records in case of file to idoc scenario.

    Hi,
    In File to Idoc scenario even though you selected apply control record values from payload and you are not getting those correct values which you have provided in the mapping.
    Also check the checkboxes Take sender from payload and Take receiver from payload along with the Apply control record values from payload checkbox
    Regards
    Seshagiri

  • 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.

  • How to handle trailing Null columns in a Batch file when ESB reads the file

    Dear All,
    How can I handle trailing Null columns in a batch file (csv file) that is been used by an ESB FTP adapter for batch file processing.
    Since ESB is some times taking up the whole next record as the last column data..
    Please update
    many thanks...

    If your file is not designed to be amazingly large, then you don't need to use a temporary file -- you can just read the data into memory and manipulate it there. (Like, into a Document object or something.)
    But if you are dealing with really large files, you might want to consider using a database back end instead of a text file, which is a completely different approach I know but... well, that's why databases were invented.

  • How to handle blank root element in xml source file

    Hi There,
    I have a dataflow which using xml source file. The job keep failing and I guess it might be caused by one of the root element which is blank. Can anyone advise me how to handle it?
    The xml file look like this:
    -<orderinfo>
    --<orderdetail>
    ---<orderid>1</orderid>
    ---<orderdate>20110101</orderdate>
    --</orderdetail>
    --<abc />
    -</orderinfo>
    element <abc> is blank
    Thanks and Regards,
    BL

    Hi Suneer,
    The issue is DS cannot validate the source file at all. It returns error message when I try to preview the source file in the dataflow. Is there any work around I can implement other than request the source team to change the file layout?
    Thanks,
    BL

  • How to handle hyphenation while saving pdf into word file by Acrobat XI

    Hi All,
    When I am saving my searchable pdf file into word document hyphenation at the end of line are appearing with a space in word file.
    Any idea to handle such cases.
    Thanks
    Karan

    This has to do with the way the file was originally created. There's
    nothing much that can be done about it, except for running a Search&Replace
    command in Word to remove any hyphens followed by a line-break.

  • How to handle a problem of Interop.SAPbouiCOM.dll file in SAP b1 9.0 PL11

    Hi all,
    I have a problem in creating addon of SAP b1 9.0,
    At start time when I build my project but it does not create a file of Interop.SAPbouiCOM.dll except that it creates the file of SAPbouiCOM.dll in Bin folder of project. And as I thing, that missing of Interop.SAPbouiCOM.dll file is causing my addon to be not registered in SAP b1 9.0 PL11.
    How can I solve that problem? I edited system form (Employee master data in VS2010(VB.NET)) that form runs correctly in SAP b1 at run time, the problem is missing file of Interop.SAPbouiCOM.dll which will be associated with project1.exe in Bin folder. even if I create another new project, it can not create that file,
    What is the problem?
    please anyone can help me.

    Hi Edy,
    Thank you so much, so how can I add reference of SAPbouiCOM in my project? Because I have added those 2 references DI and UI API version 9.0 but they give errors in  each line contains SAPbouiCOM..... in menu.vb.
    if it's possible can you try to explain me step by step as you explained to this link http://scn.sap.com/thread/3440046
    Your help is highly appreciated Edy.

  • How to handle escape sequnce characters.

    hi,
    when i upload file from html page to a servlet
    I getting problem with escape sequence character ..
    that ie .. wheni upload file from <input type=file name=flieUpload>in servlet
    String path=req.getparameter("fileUpload");
    File f=new File(path);here getting error,
    i think string contains c:\prgms\images\kk.gif
    but windows accept c:/:prgms/images/kk.gif
    so what i have to do?

    No, that's not how you do a file upload.
    When you upload a file from HTML (assuming you have the correct HTML, which you probably don't) it's the contents of the file which is uploaded, not the name of the file.
    You might also get the name of the file, but the server can't open the file using that name, because it's on a different computer. You have to process the contents of the request to get the uploaded data.
    However since you don't have a clue what you are doing yet, you won't be able to do that. And nobody bothers to do it themselves any more because there's the Apache FileUpload package which takes care of all of the ugly details of HTTP.

  • How to handle free space fragmentation index 30

    hi
    i need help with tablespaces that have free space fragmentation index lower than 30%..
    how will i be able to increase the value to best at 100..
    any suggestions?
    thanks.

    jjwhtn wrote:
    Ok, resizing the boot camp partition failed, but being unable to delete it and resize the os x partition is weird, and I'm thinking there must be a way to get that free space back into that partition. That is the current issue.
    If you don't believe me when I said you have to erase and format your drive then reinstall OSX, search this forum. Your issue has been addressed dozens or hundreds of times.

  • How to handle text of iframe to send to remote printer in client side?

    Hello everybody,
    I am having problem to handle the printing text of iframe to send to remote printer. I am using JDK 1.5, JSP and JBOSS. My clients have to print the information displayed in iframe to their remote Printer. I am using javascript code below to print:
    /* CODE IS IN JAVASCRIPT */
         document.frames[frameName].focus();
         document.frames[frameName].print(); But the main problem is that it takes a lot of times about 2 mins. Why is the above code taking so long time? Is it due to javascript code or the printing process? Is there any method or function to send printing text of iframe to printer faster?
    can anyone help me to solve this problem.....
    Thank You.
    Edited by: ritesh163 on Aug 20, 2008 2:45 PM

    ritesh163 wrote:
    Hello stevejluke,
    I am seeking for the suggestion whether it can be done through javascript or there is any other function or method in JSP that can replay javascript code and also work faster.
    Thank you.But JSP has nothing to do with it. JSP lives on the server, not the client. If can't control the client printer, can't know about it, and can't print to it. This is purely client-side, which means not JSP.

  • Deskjet 5525 printing random characters, one line per page when printing both sides of page

    Hi. I have a deskjet 5525 wireless all in one printer. 
    I have installed all of the necessary hardware and have updated it. We have two computers running windows 7, 64 bit. I have not been able to update the firmware on the printer because the HP Device Updater program that does it cannot communicate with the printer via usb cable or wireless on two different computers I have tried.
    When trying to print two sided documents, it will print ok for about two pages, but then, it will start printing on line per page of random characters, blurred lines of text, gargabe basically.
    This is the second printer as the vendor replace the first one with the same problem. You would say, oh a software problem, but I have reinstalled the HP Deskjet 5520 series SW a couple of times, reinstalled the printer, but the problem continues. 
    An old HP deskjet 3845 worked for us pretty well on the same computers.
    Please help.

    Hi Onemangosta,
    I would like to help with the garbled text you are experiencing. I have found a great document for you to use and I can also help you with the firmware update.
    Troubleshoot text that might be gibberish, nonsense, or look garbled or scrambled
    In order to update the firmware on your printer ensure the printer is on the wireless network and touch the Web Services icon (this icon is the 1st of the 4 that run across the top of the front panel - looks like 2 little cell phones). Scroll through the Web Services menu, find and select Product Updates, select Check for Product Updates.
    If the printer is already up to date the front panel will say so, if it is not, the download and install will begin. It is possible you were unable to do the update form the computer because the printer does not need an update. The HP Device Updater will only see a printer that requires the update.
    Hope this helps.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • How to handle special characters in NWDI

    Dear All
    I am trying to update the Description from JSP form. Through JCO we are calling the RFC of ABAP. We are passing these description from Java to RFC of ABAP and this RFC update the text in Database.
    We have noticed that if there is some special character in description like as : š or ž, complete description is not getting updated in to the SAP database.
    Can anyone help me how to handle these special characters in Java. There may be N number of special characters. We want to generalize it. We want to replace these characters by s and z respectively.
    For example : We want to update this description.
    APPLERR H'4301 H'FA03 H'254C na Zagreb TC4 riješen je cleaning procedurom, te je i kroz CSR odgovoreno da trap korekcija N01TCADG-0052 u bloku UPDC više nije potrebna, te se može izbaciti (AP143).
    Uspješno su završene HR17/CN-A3 FOA-e na tranzitnom nivou, te slijedi roll-out u dva termina 12/13.04 i 19/20.04. ETK je na sastanku isporu&#269;io SW, te ALEX i mini PLEX za sve objekte.
    AP147. Poslati finalnu dokumentaciju za uvo&#273;enje paketa (implementacijsku instrukciju i sve popratne datoteke).
    WHile updated text is as follows :
    APPLERR H'4301 H'FA03 H'254C na Zagreb TC4 rije
    N01TCADG-0052 u bloku UPDC vi
    Uspje
    sastanku isporu
    AP147. Poslati finalnu dokumentaciju za uvo
    Regards
    Bhavishya

    Hi Bhavishya,
    Apparently your SAP database isn't configured to support Unicode. That would be the first solution to your problem, but I can imagine it's a bit drastic to convert your DB.
    A second solution would be to encode the input description to ASCII before storing it in the database. When reading from the database, decode again to Unicode. This way, no information is lost. A suitable encoding would be Base64. e.g.
    String description = "šunday žebra";
    String descriptionBase64 = new sun.misc.BASE64Encoder().encode(
      description.getBytes("UTF-8")); // ""
    // store descriptionBase64 in the DB
    // later, when reading descriptionBase64 from the DB
    String description2 = new String(
      new sun.misc.BASE64Decoder().decodeBuffer(descriptionBase64), "UTF-8");
    Instead of using Sun's implementation, a better alternative is to use the open source implementation
    org.apache.commons.codec.binary.Base64 from Commons Codec . 
    The 3rd approach is indeed to normalize the description by replacing all special characters with their ASCII equivalent. A rather easy solution is as follows:
    String description = "šunday žebra";
    String descriptionNormalized = sun.text.Normalizer.normalize(
      description, sun.text.Normalizer.DECOMP, 0).replaceAll(
      "[^p{ASCII}]", "");
    sun.text.Normalizer decomposes the string, e.g. "éàî" becomes "e´a`i^", after which non-ASCII characters are being removed using a regular expression.Again, note that it's usually a bad idea to use sun.* packages, see note about sun.* packages. The above code only works with J2SE 1.4 and J2SE 5.0, but it breaks in J2SE 6.0 (where
    java.text.Normalizer became part of the public API ;-). A good open source implementation can be found here: ICU4J (com.ibm.icu.text.Normalizer). 
    Kind regards,
    /Sigiswald

  • 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

Maybe you are looking for

  • The "go back or foreword arrows are not active" on FF 4.0 using iMac

    On my iMac when I log on to FF 4.0 the arrows in the upper left of the screen which are designated to move one page back or one page forward are not on (grey) and do not control the subject on the screen -

  • Batch: From Bridge; cannot change destination folder

    I'm suddenly unable to change the destination folders for batches. When I try to change the folder, I only see the current folder I am in and unable to change to another one. CS4 Windows 7

  • New ipad out of the box will not boot up?

    I have a new iPad2 new out of the box and will not boot up.  It is fully charged and when I touch the sleep/wake botton a usb cable appears with an itunes icon in the center.  Nothing happens when I touch the screen.  Any thoughts?

  • Pfile is static or dynamic

    hi, i got a question pfile is static or dynamic.i think it is static.if it is true why so

  • Can't access workstation joined to domain

    I have a 2008 Server with just a few workstations attached.  I turned on remote desktop on these stations and can remote to them from another workstation joined to the domain.  I plugged in my laptop onto the same lan but not joined to the domain and