How to remove # from the end of each lines of .csv file.

Hi ,
I have uploaded .csv file from my local m/c (windows) to application server (unix) thru. FM 'ARCHIVFILE_CLIENT_TO_SERVER'
Issue is when I open the file in AL11 it is showing # at end of each line. Click below link to see the output file.
[https://docs0.google.com/document/edit?id=1PzjhljdCC2Wgj9L1dZ51G4pHJ0G_7jJwQAMqcJHdggc&hl=en#]
Pls. help me how to remove all the # from the file.
Thanks in advance.
Devinder

Hi ,
use this
Declare this 
that # value is actually use of   Tab in file 
so in order to remove that  use below code 
DATA :C_TAB(1) TYPE c VALUE   cl_abap_char_utilities=>HORIZONTAL_TAB .
loop at it_data .
refno = it_data-line .
REPLACE ALL OCCURRENCES OF c_tab IN refno WITH ''.
modify it_data .
endloop.
Regards
Deepak.

Similar Messages

  • 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) ;
    }

  • HT2486 how can I export the contact book data to a csv file for editing?

    how can I export the contact book data to a csv file for editing?

    You can edit a card right in Contacts. No need to export and re-import.
    Select a name and on the right side, click the Edit button:

  • How can I eliminate automatic "quotation marks" that are appearing at the end of each line?

    I keep getting "quotation marks" at the end of every line when I type. How can I eliminate these marks as they are even showing up when I print and I will not have on my wedding programs! Please help (from a desperate bride-to-be)!

    It sounds like you are using an East Asian font and unless you are issuing invitations in Chinese, Japanese, or Korean that doesn't sound like a good idea.
    Peter

  • Urgent -open purchase orders existed in asset how to remove from the asset

    Hi,
    Some assets I am going to delete if the open purchase orders existed how to remove the open purchase orders from the asset  what is the t/code to view the open purchase ordes.
    Can any body give the details please.
    Regards,
    Prabhakar.

    Use ME2N and give the required paramets in field Selection Parameters.  Some of the available choices are
    Open invoices
    Open target value
    Open issue quantity
    Issue quantity reversible
    Open goods receipt
    PO AA link is established through Account Assignment Category A mentioned in PO.  Select the PO with above and change the PO through ME22N

  • Getting weird symbols end the end of each line in Action script panel . Please help!!!!

    Let me know if anybody have got any clue to resolve this issue

    In the far upper right of the Actions panel is a small menu icon.  That includes the option for the menu-based route to turning the hidden characters on and off in case it ever happens again and you can't find this posting to help recall it.

  • How can I add a response to the end of each item question in an email list of questions and send that back to the originator?

    I have emails that ask for certian items to be addressed such as "please fix leak in bath sink" and then the next line will have another request and on and on. I would like to answer each question at the end of each line with a response (preferably in a different color font to stand out) such as "yes - will fix" or "that can't be done" or "you will have to fix that yourself". Then I want to send that reply back to the original sender.

    ''sfhowes [[#answer-697423|said]]''
    <blockquote>
    I suggest you consider this add-on: [https://addons.mozilla.org/en-US/thunderbird/addon/clippings/ Clippings] ([http://chrisramsden.vfast.co.uk/3_How_to_install_Add-ons_in_Thunderbird.html How to install]).
    </blockquote>
    I did look int this but I need to have each answer different in a lot of cases but i thank you and did get an answer that does help greatly - Thanks

  • Space at end of each line in the RDF report.

    Hi All,
    I am developing one HRMS report for sending salaries to bank. Bank has given one format, there should be 24 spaces at the end of each line in the report. But I am not getting any spaces in the report at the end of line. I have tried soo many ways to get that, but I unable to get spaces. If I put any character it is coming, but if I put space that is not coming.
    Anyone please tell me how to get spaces at end of each line in RDF report. Its urgent guys...... Anyone please help me out.
    Thank you,
    Phani

    Hi,
    I am developing one HRMS report for sending salaries to bank. Bank has given one format, there should be 24 spaces at the end of each line in the report. But I am not getting any spaces in the report at the end of line. I have tried soo many ways to get that, but I unable to get spaces. If I put any character it is coming, but if I put space that is not coming. For the line that is set the height of the Repeating Frame long enough to have the blank space. Vertical Elasticity should be expand.
    Also you can try by setting the property *"Vert. Space between frames"* for the Repeating frame.
    Hope this helps.
    Best Regards
    Arif Khadas

  • Square at end of each line in entourage mail

    Help please! I have searched the internet, unsuccessfully, to find out how to remove a square box that shows itself at the end of each line of text in my entourage mail... whether incoming or composed mail....
    Does anyone have an answer?
    Thanks so much,
    Wildlife....

    Help please! I have searched the internet, unsuccessfully, to find out how to remove a square box that shows itself at the end of each line of text in my entourage mail... whether incoming or composed mail....
    The best place to ask would be in the forums which MS runs to help people with its products:
    http://groups.google.com/group/microsoft.public.mac.office.entourage/topics

  • Question marks at end of each line in messages sent with 10.4.6 mail

    Some Outlook users are finding ?s at the end of each line in my emails sent from 10.4.6. I did not have this problem in 10.3.9. The problem appears to be resolved when I choose UTF-8 message encoding. There appears to be no way to make Mail automatically choose UTF-8, and I am reluctant to enter Terminal to direct Mail to do so as suggested in one discussion. So 3 questions: 1. how do I get Mail to choose UTF-8 automatically? 2. why hasn't Apple fixed this? 3. how friendly is UTF-8 to non-Outlook users? I don't want to make a change in Terminal so that all email goes UTF-8 and then find out that this messes something else up. Help?

    So 3 questions: 1. how do I get Mail to choose UTF-8
    automatically?
    See this note. Perhaps you would be more comfortable with the "dingbat" fix.
    http://homepage.mac.com/thgewecke/woutlook.html
    2. why hasn't Apple fixed this?
    I don't know. Perhaps they are tired of adjusting their stuff to conform to bugs in MS products.
    3. how
    friendly is UTF-8 to non-Outlook users?
    All modern mail clients can read it fine, but webmail is unpredictable. Best thing is perhaps to try it and see if you get any complaints.

  • Reg. Special Character at end of each line

    Hello Experts,
    I have an internal table of type string which has to be uploaded into the directories
    Each line has to be ended with a comma and for which I concatenated the work area and ',' before appending to the internal table.  This is fine till this point.
    After downloading the file from the directory, when opened with a notepad, i could see a special character (LINE FEED rectangular box) at the end of each line. 
    I couldn't understand why this character got appended at the end of each record.  Pl suggest me on how i can overcome this special character.
    Thanks
    RK

    Hi,
    I am developing one HRMS report for sending salaries to bank. Bank has given one format, there should be 24 spaces at the end of each line in the report. But I am not getting any spaces in the report at the end of line. I have tried soo many ways to get that, but I unable to get spaces. If I put any character it is coming, but if I put space that is not coming. For the line that is set the height of the Repeating Frame long enough to have the blank space. Vertical Elasticity should be expand.
    Also you can try by setting the property *"Vert. Space between frames"* for the Repeating frame.
    Hope this helps.
    Best Regards
    Arif Khadas

  • Finding the end of a line in a JTextArea and inserting a comma

    Hi,
    At the moment I am reading in a comma delimited file into a JTextArea.
    This part is ok I can see the file in the window correctly.
    The problem that I am having now is that I want to add a comma to the end of each line in the JTextArea.
    Does anyone know how to do this?
    Thank you

    Well you have to get the String value of the JTextField.
    String text = YourJTextField.getText()
    Then you have to make a loop and check each single character if it equals '\n', that means "RETURN" or "NEW LINE".
    That is the direction I would go. Inform yourself about String manipulations first, like how to look for character, how to compare them and how to add them.

  • Inserting a '|' at the end of a line

    Is there a Windows script out there where you can add a '|' at the end of each line in a text file? Can you please provide an example?
    TIA

    Which version of photoshop cs6 are you using and operating system?
    Did you try resetting the type tool or resetting the photoshop cs6 preferences?
    Right click on the Big T on the tool options bar and click Reset Tool
    reset preferences:
    http://forums.adobe.com/thread/375776?tstart=0

  • Text in the textfield  has "=" symbols at end of each line. how to remove ?

    For certain cases, if one does cut & paste (multiple lines of text ) into the text area from email, the symbol ("=") appears at end of each line. I was told to handle such cases and remove the "=" at end of each line from the text area. If I replace "=" with space, It would replace every single appearance of "=" with space instead of just only at the end. Any help will be greatly appreciated.
    -thanks

    Hi
    Try to find out new line character.And if position of thses "=" is specific to new line char. you search it out from there and then can replace with any char or space.
    Hope this will work .

Maybe you are looking for

  • MBA1A error

    Hi iam trying to post goods movement by using tcode MBA1a but iam geting this error Account XXXXXX requires an assignment to a CO object the account is cost account i assigned cost center in KA02 but it it is getting same error Message no. KI248 Diag

  • EtreCheck log - help needed please!

    Hi, lately my iMac has slowed down very noticeably. I have tried many things but it does not seem to help). I was wondering if one of you could assist me with decoding the EtreCheck log? Thank you! Hardware Information:           iMac (21.5-inch, Mid

  • Trying to add PC - Do I have to change from WPA to WEP?

    Here's my set up: iMac iBook Tiger Airport Express (Main BS) Airport Extreme (Remote BS) WPA & WPA2 encryption I've just got a laptop from work which is a PC running XP, but without Service Pack 2 as SP2 has, I'm told, all sorts of server related pro

  • Version in MCP8

    Hi , I am using MCP8 for goods receipt analysis . In the report i want to see the comparison of planned  vs actual for the GR quantity. I selected the GR quantity column and from the menu selected "edit" and PLAN/ACTUAL Comparison. The key figure sel

  • No sound after update to 2.4

    After the update, my Apple TV is silent. I checked the audio settings, did a restart and got sound with the start up page. This doesn't seem to be content related, no sound on my mp3 files, no sound with YouTube, no sound with anything! What do I do?