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

Similar Messages

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

  • 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

  • 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

  • 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

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

  • Trying to put my movie from imovies onto itunes but it does the whole download then at the end comes up with error - 34 or error - 41

    trying to put my movie from imovies onto itunes but it does the whole download then at the end comes up with error - 34 or error - 41

    -34
    dskFulErr
    Disk full
    -41
    mFulErr
    Memory full (open) or file won't fit (load)
    Seems like it's having either a RAM or Hard Drive issue. What happens if you reboot the Mac, open iMovie and then try to Share to iTunes again?

  • 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

  • How to delete a character at the end of each line in a file

    Hi
    How to remove a character or symbol at the end of each line in a file?
    I am having a file with every end of line conatins special chars @.
    I need to remove or delete that sysmbol from file.
    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.

  • Adding a pipe character '|' at the end of each line

    How can I add a '|' at the end of each line in a text file?
    Please provide an example.
    TIA

    Using Readers and Writers are often a better choice for text: they are designed for character-based I/O, handling different character set encodings and thus more easily localizable.
    BufferedReader and PrintWriter are buffered which in many cases will increase performance.
    These classes also provide line-oriented methods, readLine() and println(), which will handle end-of-line delimiters in a platform-independant way.
    BufferedReader in = null ;
    PrintWriter out = null ;
    try {
        in = new BufferedReader(new FileReader("infile.txt")) ;
        out = new PrintWriter(new FileWriter("outfile.txt")) ;
        String line ;
        while ((line = in.readLine()) != null) {
            out.print(line) ;
            out.println('|') ;
        out.flush() ;
    } catch (FileNotFoundException e) {
        System.err.println("problem opening file for read: "+e) ;
    } catch (IOException e) {
        System.err.println("problem reading file: "+e) ;
    } finally {
        try {
            if (out != null) out.close() ;
            if (in  != null) in.close() ;
        } catch (IOException e) {
            System.err.println("problem closing files: "+e) ;
    }

  • I need to specifiy the end of line in a delete comand in sed.

    Hi,
    With the substitute option ,s, I can do it easily with \\$.  Example is
    sed '
    s\Serial0\/0\\$\Serial0\/1\g
    This replaces Serial0/0 with Serial 0/1 globally only if Serial0\0 is the whole string to the end of the line i.e. it won't match Serial0/0.1 or Serial0/0.2 etc.
    When I want to remove a line with just Serial0/0 or a series of lines starting with Serial0/0 I try using the same method but it just matches on the $ character and won't allow me to find the line that ends Serial0/0.
    \Serial0/0\\$/d
    Can anyone help me here?
    I have tried all sorts of versions of the $ expression i.e. \'$, \|$. [regex]\$ etc.
    Mac OSX 10.6 with posix sed.
    Thanks in advance.

    Why are you using backslash?  Sed uses forward slash to specify a search string
    sed '/Serial0\/0$/d' input.file >output.file   # delete lines ending with Serial0/0
    sed '/^Serial0\/0/d' input.file >output.file   # delete lines starting with Serial0/0
    sed '/^Serial0\/0$/d' input.file >output.file  # delete lines with ONLY Serial0/0
    The 1 backslash I used was to escape the slash in your search string, so sed does not think that slash was the end of the regular expression.

  • Preserve a single space at the end of line using spool command

    Hi,
    Can you please help me to write the result of an sql query into a file with the last column of the row ending with a single space?
    For example:
    COL1DATA|COL2DATA|COL3DATA<space1>
    As mentioned in the example the col3 value in the file should end with a single space. And there should not be any delimiters at the end of the row.
    I tried with set trimspool on/off. But, it didn't work. When I say trimspool on - it is trimming all the trailing spaces.
    When I say trimspool off - it is retaining all the trailing spaces to the size of the line.
    But, I do not wish to modify the file through shell commands once it is written thru spool. I mean I do not wish to append spaces to the end of a line using shell script or any other method.
    I do not wish to use other methods like UTL_FILE also.
    Please help me how to do it using spool command?
    Thank you.
    Ramana

    My requirement is that all the trailing spaces should be truncated except the last one in the row.Why?
    As you have discovered a single column in sqlplus, is always a fixed length regardless of the size of the data, if the length of the data varies the output is padded to the maximum or line size with spaces. The trim and trimpsool commands are there to remove all the spaces from the end of a line if there are any. There are no commands to trim all the spaces except one, or even to trim all the spaces except two, or three even.
    If you want such custom processing you should post process the file in the OS using sed, awk or perl or something designed for such things.

  • MS Word - words get cut in half at the end of line

    I am doing English editing of a Word document written in Korean and then translated by someone. I am using MS Word 2011 for Mac. I have to edit about 60 of these documents, each is about four pages.
    I edited about eight of them without any problems of formatting.
    Then with the last four of them, I noticed that the words at the end of the line would get cut in half with one half of the word appearing at the end of one line, and the second half of the word appearing at the beginning of the next line.
    I don't know how to fix this.
    The documents have macro with them. Could that be the problem? Before, I was asked whether I wanted to turn on macros or not, and I chose "No" initially, and then I switched to "Yes". Now even though I went into preferences and chose "Warn me before opening macros", the documents open without this opening message.
    I don't know what to do. I know Hangeul (Korean) is written so that it doesn't matter whether words get chopped in half and the original document was written on MS Word for Koreans (and has Korean fonts and things like that).
    But the person who sent me the original document is not available and besides can't speak English so I can't ask her about this.
    It might not have anything to do with macros. I remember vaguely a while ago I had the same problem and I fixed it using some simple measure but I can't remember what I did.
    I browsed the web looking for solutions but have not found any.

    I noticed this formatting problem is present in lists but not all lists.
    If the list is
    1.
    2.
    3.
    there is no problem
    When the list is
    i.
    ii.
    iii.
    there is  a problem.
    When the list is
    A.
    B.
    C.
    there is NO problem.
    When the list is


    There IS a problem.
    I am making these lists using the list function in Word as well as the indenting function. I don't have a choice as the document already came with these lists.
    So I think this is a bug in MS Word because the words don't get chopped in half when the lists are a certain way but they do get chopped when the lists are in  another way.
    Words are chopped:
    Words are not chopped:
    Words are chopped:

Maybe you are looking for

  • Separate clip flashing at the beginning of each clip

    Each clip I insert into my sequence has a brief flash of another clip at the beginning of it. When I select the clip and trim the unwanted piece away, the unwanted piece simply shifts to the the next available point on the clip. This repeats for ever

  • Lenovo Launcher v3.2 Update (but in chinese language)

    Hi there, Just want to share what I've found There is an update of lenovo launcher that can be found in here http://launcher.lenovo.com/launcher/portal.php But there are problems It is not good for persons who don't understand Chinese like me The sit

  • Alv report colour display

    hi i have a requirment in my alv report ,i need to show values of material description i.e  only gsm values in different colour i. 296 GSM and corresponding below values 285 GSM,.below show is sample output onf my alv report. materialno              

  • Dynamic FROM variable

    I need to do something like the following in a PL/SQL package: select from_table into my_var from ref_table where id = 123 select my_text into my_var2 from :my_var where id = 456 Basically, I need to be able to retrieve my FROM table via the first se

  • Oracle Apps secure code review

    Is any documentation available (either Oracle or third party based) to guide secure code reviews for Oracle Apps (or more specifically, Oracle Application Framework)? I'm aware of the usual sql injection bad practices (as related to JDBC and PLSQL).