BOX character at the end of line when file transferred from SAP to  WINDOWS

Hi,
We have a file interface program which creates a comma seperated '.txt' file in application server. Once it is created in application server in provided path an UNIX script runs which transfers this file from SAP application server to a network drive in WINDOWS platform. This file looks fine  when opened through WINSCP from SAP application server but when checked the file in network drive opened with note pad, it found each line come at the end of another line seperated by 'BOX' character.
If we opened the file in word pad instead of note pad it looks fine.
If any one of you have any idea to resolve this issue it will be a great help.
Thanks,
Ranadev

Hi Ranadev,
This happens because when you transfer the file to the Windows platform using the UNIX script it removes uses only a newline character at the end of each line instead of the Windows platform standard which is carriage return/newline.  The Notepad program displays this character alone as the box that you see.  If you want to verify take the same program and convert to Windows format using Notepad++ and you'll see that the same file then displays properly in Notepad.
Regards,
Ryan Crosby

Similar Messages

  • Character # at the end of line with transaction AL11

    Hi gurus,
    In version 46c if I upload a file to application server with program RC1TCG3Z and in mode BIN when I display the file with transaction AL11 the file is correct.
    In version 60 if I upload a file to application server with the same program and in mode BIN when I display the file with transaction AL11 appears character # at the end of some lines. How it is possible?
    Thanks,

    > I don't have access to OS level.
    Check the file on OS level (ask the admin to copy that file), it may be a display issue in the GUI.
    Markus

  • At the end of line # is coming in output file at application directory

    Hi experts,
    I am doing a file to file tunneling in which from a file server I am picking the file and putting it into SAP application server nothing is done in IR .However when the file is reaching in application server its end seprator is coming as # .I am surprised from where the #is coming at the end of every line.When  i am dowloading the same file to my local directory in that file # is not there.
    Please help me as my client is not accepting the file with endsepeartor as # .
    Might be # is coming as the apllication server is in uniq env . But how to get rid of it .Please guide me with whatever input you have in this regard.
    Regards,
    Neha

    Hi Neha,
    I think you do not have to do anything because see you said on saving the file locally, you are not able to see the # character at the end of line..........but when you are seeing in SAP window, then this # character is displayed..............so your SAP server can be a UNIX server and it is displaying the End of Line and Carriage Return ASCII characters as # because these are non-displayable characters.....
    But still if you do not want this # character to be displayed, then you can try Binary and no character encoding........then see if your file is displayed without # character.
    Regards,
    Rajeev Gupta

  • Is it possible to export to PDF without a Return character at the end of every line?

    I am the author of a book whose first edition has been typeset and extensively amended in InDesign.  I now need to rewrite the first edition to produce a second edition.
    When I copy-and-paste from the PDF with which the publisher has supplied me into MS Word, I get a Return character at the end of every line, which means that text doesn’t automatically wrap and sentences are fragmented so that I get spurious grammar errors.
    I know that not all PDF files have a Return at the end of every line.  Is it possible to restrict Returns to the end of paragraphs when exporting from InDesign to PDF?  If so, what should the publisher be asking the typesetter to do?

    Thanks for your lightning-swift and helpful replies, Mike & Ellis.
    I don't have InDesign myself, so I know hardly anything about how it's used.  I'm just trying to research what an internationally-known publisher should already know how to do, but apparently doesn't!
    Following your suggestion, Mike, I have downloaded the trial version of Acrobat and exported the PDF to a Word file.  This has been moderately successful as there are far fewer spurious Return characters, just a few that I suspect may be hangovers from the typesetter having introduced soft returns in ID.
    As you've suggested Peter and Ellis, I'll suggest that the publisher asks the typesettter to export from ID to RTF and Text to see if that's even better.
    Message was edited 15:24 GMT by: AlanS5100

  • Character # at the end of file in transaction AL11

    Hi gurus,
    In version 46c if I upload a file to application server with program RC1TCG3Z and in mode BIN when I display the file with transaction AL11 the file is correct.
    In version 60 if I upload a file to application server with the same program and in mode BIN when I display the file with transaction AL11 appears character # at the end of some lines. How it is possible?
    Thanks,

    Hi,
    U need to use one class. Refer below given code.
    TYPES : BEGIN OF lt_record_input,
              rec(1000) TYPE c,
            END OF lt_record_input.
    DATA : li_record_input TYPE TABLE OF lt_record_input .
    DATA lv_cr TYPE c.
    lv_cr = cl_abap_char_utilities=>cr_lf.
    CONCATENATE '/opt/isv/cti_app/DOCU/INCOMING/PROCESSED/UNSUCCESSFUL/'
    gv_filename INTO lv_path.
    OPEN DATASET lv_path FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc = 0.
      DO.
        READ DATASET lv_path INTO lw_record_input-rec.
        IF sy-subrc EQ 0.
          REPLACE lv_cr IN lw_record_input-rec WITH space.
          APPEND lw_record_input TO li_record_input.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
      CLOSE DATASET lv_path.
    ENDIF.
    Hope it help u.

  • How to delete the ends of line ["\n"] in a String before parsing

    hi, i'd want to parse a String with Regex/Pattern.
    This String contains ends of line i want to delete before applying my parsing treatment.
    I've tried to do that by replacing the character "\n" with "" :
        // the original text
        String orgTextToParse = new String(buffer);
        //we create a pattern to recognize the ends of line
        String regExpEol = "\n";
        Pattern patternEol = Pattern.compile(regExpEol);
        Matcher matcherEol = patternEol.matcher(orgTextToParse);
        // the new text without end of line
        StringBuffer newTextToParse = new StringBuffer();
        // we replace the "\n" by ""
        while(matcherEol.find()) {
          String REPLACE = "";
          matcherEol.appendReplacement(newTextToParse,REPLACE);
        matcherEol.appendTail(newTextToParse);
        System.out.println("[new string start] " + (newTextToParse.toString()) + " [end of new string]");Is there an appropriate way to delete "\n" ?
    (perhaps a method of the Pattern or Matcher classes... ?)
    thanx
    Edited by: jfact on Dec 29, 2007 11:05 AM
    Edited by: jfact on Dec 29, 2007 11:06 AM

    The second (optional) argument to Pattern is a set of flags. Take a look at the Javadoc.
    The 'genomic' implication is that the EOL is an arbitrary line break for human consumption so it does look like you need to remove the EOL. I would just use replaceAll() since it can be done with one line of code (or just a couple if you pre-compile the regex) without the need for any looping.
    line = line.replaceAll("\n","");Edited by: sabre150 on Dec 29, 2007 10:27 AM

  • Strange character at the end of some file/folder names

    I'm getting a strange character at the end of some of my file and folder names. This is it:  When I enlarge it, it says "private use" on the top and bottom, "E000" on the left side, and "F8FF" on the right side. It acts like a character within the font, but I'm not sure why it's there.
    In case that didn't work, I'm going to try to attach or embed a gif of the character. I'm not sure if it will work or not.
    Also, some longer file names seem to be dleeting some of the letters and are inserting a pound sign and a few numbers (e.g. #34) in place of the letters.
    What's going on?
    As usual, thanks in advance,
    Lloyd

    I thought that might be it...at first. Then I found some file names that were nowhere near 32 characters long whose names were truncated.
    It's not a huge problem, except in QuarkXPress when I collect the files for output and I have to reconnect to the ones whose names have been changed (to protect the innocent, I suppose).
    Thanks for the input mark.
    Lloyd

  • "\" Character at the end of alias source in databas

    Recently our application developer team faces a problem with crystal report v.14.0 (2011). They require to place “\“character at the end of alias source in database and there are no other character to replace the backslash. All the clients that do the designing, operate on x64 bit operating system (windows 7_x64) and this version of crystal report replaces “ \”  with  “ _ “ character.
    We recently found a patch file that in the following registry category fixes the mentioned issue only in 32bit operating systems but no solution can be found so far for 64bit OS.
    HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\Database]
    "InvalidAliasCharList"="!(){}"
    As the demands in the market force us to move to 64bit OS versions, finding a solution for this issue is crucial and we require your assistant to solve this subject.
    Regards,

    JoeBorland wrote:
    File is large about above 20,000 lines.
    I need to find the optimum solution.
    Like reading a file and find the end of character and writing into a file.
    The above way is correct or any other way?Try it and see. Such a program will only be a dozen lines long.

  • Ftp/xml: @ character at the end

    I receive a file from an AS/400 machine. The process is as follows: AS/400 generates an xml file. It ftps the file to a folder location. Biztalk uses the file adapter to pick this up.
    The weird thing that's happening is that the AS/400 generates a proper xml file. But when the AS/400 ftps this file to a Windows, it appends a bunch of @ characters at the end. Does somebody have an explanation? Additionally, can I workaround with this in
    Biztalk?

    Never seen a case when files from AS/400 had ‘@’ in it. Even you have secured ftp (FTP-S), the chances for some character to be appended at the
    end is less. I have seen BOM (Byter Order Marks) which appear at the beginning of the file content as opposed to end of the file content. Just to remove the probability of this problem due
    to “secured” part of ftp, drop (or ask the hosting team) the file manually at the ftp folder and see what comes to BizTalk. Just remove AS/400 from the picture and drop the file manually to see whether is it due to the end
    system (AS/400) to due to any process in the transportation (network infrastructure) add this extra character at the end of the file.
    If it’s the problem due to the source system (AS/400) or infrastructure, try to resolve the problem at their end, if not only solution is to use the custom receive pipeline component to remove the any additional characters from
    the file.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • TS1424 trying to add Itunes match, and am almost at the end of installation when an error message pops up. it says  error 4010 cannot connect to ittunes store at this time try again later. what is the problem?

    trying to add Itunes match, and am almost at the end of installation when an error message pops up. it says  error 4010 cannot connect to ittunes store at this time try again later. what is the problem?

    Contact Apple support for warranty service.

  • I'm uploading a photobook I made to be published.  I need assistance in getting it to apple.  The book is assembled and gets to the end of uploading when I get an error message, an error occurred while uploading.  I have been trying all night.  Help!

    I'm uploading a photobook I made to be published.  I need assistance in getting it to apple.  The book is assembled and gets to the end of uploading when I get an error message, an error occurred while uploading.  I have been trying all night.  Help!

    Welcome to the Apple Community.
    I have seen previous versions mentioned in a pop up message before on iCloud.com, but I'm not really sure at all how it would help, as I couldn't get it to do anything.
    The best advice I have at this time is to back up your work on your iOS device by regularly saving it to iTunes, if anything goes wrong you can then either load it into the numbers app again on the device or recover it via iTunes on your computer.
    My syncs are immediate, I never get chance to see if it works in the background, sorry.

  • Good afternoon ladies and gentlemen!   My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In t

    Good afternoon ladies and gentlemen!
    My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In the settings Adobe Bridge - in "open RAW-files by double-clicking in Adobe Camera Raw» box is checked. When you try any changes in the settings Adobe Bridge system displays a message:
    Bridge's parent application is not active. Bridge requires that a qualifying product has been launched at least once to enable this feature.
    The entire line of Adobe products on my computer updated to the latest updates. Previously, a family of products Adobe Photoshop on your computer is not set. Computer - PC, Windows 7 Enterprises.

    <moved from Adobe Creative Cloud to Bridge General Discussion>

  • The end of data was reached while from reading from a container

    I keep on getting "The end of data was reached while from reading from a container" error message when I try to use the Filter > Camera Distortion Feature on Elements 11. How can I clear this?

    Thanks Barbara B.
    Yes that was along the same lines as the solution I found. Tried reinstalling a few times with no change. Eventually uninstalled and deleted all related files in my User folder, then reinstalled and bingo...back in business!
    My workflow thanks you!
    Cheers
    SP

  • I would like to use slideshow in lightroom to export my video as a full screen 1920x1080 video with text overlays.  I am using text overlay in lightroom as it reads from the metadata that is easy for me to input in the library screen.  When i export from

    I would like to use slideshow in lightroom to export my video as a full screen 1920x1080 video with text overlays.  I am using text overlay in lightroom as it reads from the metadata that is easy for me to input in the library screen.  When i export from lightroom slideshow and choose the 1920x1080 resolution the end product is a very small video in the middle of a black background.  i have double checked and do not have any borders turned on.  Another option would be to export from the library but lr mogrify does not seem to put text overlays on video either.  Any input would be welcome.

    I dont understand anything you said in your post.
    Do you have a specific question about video production?
    The forums are for individual technical or creative issues that users have with video production. I am sur someone will be able to help you, but and to get a response it is best to ask a specific question.
    Is this about a technical problem you have or something about setting up a web site? If its the latter this is the wrong forum.

  • HT1600 I have an Apple TV 2nd Gen, iPad 2 and can't get the icon to appear when i swipe from left to right. What am I missing? I am able to get the 'Home sharing' 'user and password on my Mac.

    I have an Apple TV 2nd Gen, iPad 2 and can't get the icon to appear when i swipe from left to right. What am I missing?
    I am able to get the 'Home sharing' 'user and password on my Mac.
    Also using IPad 2 I am able to get the ITunes to accept the user name and same password as the Mac.
    However, the only way I can see the 'Home sharing; icon is in Music on the Ipad. When I tap on the Icon it asks for a password.
    When I give the same password, it is rejected.
    Help!!!!
    Jaxxdiggs

    Personally I think the iOS devices are poor at reconnecting  - Airplay establishes that a link is available but when the iPhone/iPad has been away from the house and rejoins the network i think AppleTV already thinks it's connected with a different IP address and fails to recognise it has joined the network again with new credentials.
    Something along those lines anyway.
    I find that a combination of restarting AppleTV, router and iOS device tends to fix it, but not for everyone.
    AC

Maybe you are looking for

  • Mid 2010 macbook pro recall?

    details: Macbook Pro Mid 2010 15 inch Serial Number: W8****AGW Keeps crashing and showing black screen and restarts unexpectedly whilst doing any thing with  MS office and other apps How I can find whether my macbook pro is under Callback option Is t

  • Time Machine crashes and freezes the OS, I fixed it!

    Hello, My MacBook Pro (OS X 10.8.2) has experienced this week troubles when backing up with Time Capsule, and I searched on the community and the web where is a lot of same cases, but I didn't found any solution that fit on my case. The problem ? Sim

  • If you cannot sync contacts this might be the problem...too many contact groups

    I have a Centro and MAC book and was trying to use ISync and then Missing Sync to sync data. In both programs the contacts would not sync but all else did just fine. I have many contacts but did not need all of them on my phone so I organized them in

  • Automatic Plant determination logic in the order line item level

    Dear all, I would like to know if there is a possibility to determine plants automatically, avoiding the standard plant determination logic at line item level, to determine plant based on stock availability. The process will be to skip the standard p

  • C410 software will not reinstall windows 7

    I cannot reinstall the installation software package rendering the printer useless.  I get an already installed message on the software.   I tried multiple times to use control panel to unistall the HPsoftware associated with the original install.  M