Separeted enter key / new line Txt File

Hi Experts;
I want to send mail with attach file (xxx.txt).
xxx.txt file's source itab.
I'm seeing xxx.txt file at mail.. But It's not separeted enter key / new line.
I'want to see line-by-line my itab at the xxx.txt file.
How can I make?
Best regards.

Hi, Melih.
Try to insert new lines using cl_abap_char_utilities=>newline.
Like this:
DATA:
  BEGIN OF gs_tab,
    string TYPE string,
  END OF gs_tab,
  gt_tab LIKE TABLE OF gs_tab WITH HEADER LINE.
gt_tab-string = 'first row'.
APPEND gt_tab.
CONCATENATE 'second row' cl_abap_char_utilities=>newline INTO gt_tab-string.
APPEND gt_tab.
gt_tab-string = 'third row'.
APPEND gt_tab.
Best regards,
George Shlyahov.

Similar Messages

  • How to enter a new line or paragraph using voice recognition

    Hello,
    Does anyone know how to make the voice recognition enter new lines or paragraphs?
    When I first got my phone I could simply say "enter", "new line" or "new paragraph" rather quickly and it would advance to the next line, or in the case of paragraph it would be two new lines giving a space between the paragraph.
    However, in the last month or so this has stopped working. Now, when I say "enter", "new line" or "new paragraph" it will either spell out the words, or it will add a space.
    It's really frustrating, making the feature almost useless because I have to keep popping out to the keyboard to hit the return key.
    I'm using the voice recognition software to enter text for the applications "S.Memo" or "Google Drive Documents", on a Samsung Galaxy S3 phone with the 4.1.2 Android Version.
    -=John

    You cannot unintall "S.Memo", as it appears to be part of Samsung's base OS. I can do a force stop and disable on it as well as clear the data, but I cannot uninstall it. That is simply not an option for the app. I'm not going to clear the data because that deletes all the files I've made for it.
    I did a force stop on "S.Memo" and then started the app, and the problem persists.
    I power cycled the phone and the problem persists.
    I did uninstall and reinstall "Google Drive Document" but that did not resolve the problem either.
    Also it seems silly to remove and reinstall these apps, when it's the voice recognition software that is having the problem. This problem happens if you simply use voice input. It even happens when editing the phone's contact's information.

  • Pressing Enter inserts new line break instead of "executing" command

    I have noticed a rather strange behavior on my new TPT2. This occurs ONLY when I am using the Windows 8 touch keyboard in the "Metro" environment.
    Whenever I press the Enter key on said keyboard (for example when sending an instant message on Skype), the keyboard inserts a new line in the text box instead of acting like a "normal" Enter key and execute the default command (send the message in this example).
    I have connected an external keyboard and this problem does not show up. Everything works as expected. I also brought up the regular on-screen keyboard (launched from the Ease of Access menu) and it works the way it should. The problem is only with the Metro touch keyboard.
    It seems that for some reason, the Metro touch keyboard interprets the Enter key pressing as "insert a line break".
    Does anyone know how to fix this? It is extremely annoying.

    Just checked that, you are right, Photoshop doesn't recognize Shift-Enter as a line break and treat it as a Return which is a problem with paragraph formatting. Obviously a bug.
    Good news workaround is that it recognizes the line break character if you paste it from another program like Microsoft Word. If you don't have a program that allows you to copy just that character and use paste instead of Shift-Return, you have to type your entire text in some other program and copy paste to Photoshop.

  • Problem in creating New line in --File writing(Urgent)

    Hi all
    I am facing a tipical problem.
    I am writing a Text file using FileWriter and i am using "\n" for writing a new line,
    but when i open notepad all are falling on a single line with a special char
    (if i open the text file in some other editor vie wis very fine)
    C-0-1@C-1-0@ C-2-1
    @ is where i am writing new line.
    but this king of writing is not supported by my third party tool to which i am sending the text file
    as parameter..
    Kindly any one provide me a solution.
    Bye

    newlines differ between windows and linux/unix. Windows' new line character is somthing like "\n\m" where linux uses "/n". So to keep your program platform independent I would suggest using System.getProperty("line.separator") so your code might look like:
    String s = "C-0-1" + System.getProperty("line.separator") + "C-1-0" + System.getProperty("line.separator") + "C-2-1";
    //then write the string to the filethis will give you the appropriate newline character for the platform your program runs on.

  • New Line with File Content Conversion

    Hi there
    I have a interesting question, I need to add a new line in the middle of a flat file. I read an idoc and using content conversion I convert it to a flat file. Is there any way I can divide the idoc into 2 parts separated by a new line?
    Thanx,
    Jan

    > I have a interesting question, I need to add a new line in the middle of a flat file. I read an idoc and using content conversion I convert it to a flat file. Is there any way I can divide the idoc into 2 parts separated by a new line?
    Hi,
    In my opinion using the regular FCC method I guess it will be not possible to create a new line in the middle of flat file. You can take the help of java mapping as described in bleow mentioned blogs to convert it into flat file. I am not sure but you can try with these options...
    "JAVA MAPPING", an alternate way of reading a CSV file
    Java Mapping to handle flat files in SAP XI
    Regards,
    Sarvesh

  • DW BUG - empty new lines on file open

    I can't find a patch or an option for this bug. Everytime I
    open a formated php script(with no empty spaces between code lines)
    it gets a new formatting with 2-3-5 empty new lines betwen my code
    lines, this causes that my scripts will become larger in size just
    because it has almost 70% empty new lines added by DW CS3, 9
    etc..

    What is your local OS? What is your host OS? What is your
    setting for Line
    break type in PREFERENCES | Code Format?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "blackshark10" <[email protected]> wrote in
    message
    news:fsi8pm$3ek$[email protected]..
    >I can't find a patch or an option for this bug. Everytime
    I open a formated
    >php
    > script(with no empty spaces between code lines) it gets
    a new formatting
    > with
    > 2-3-5 empty new lines betwen my code lines, this causes
    that my scripts
    > will
    > become larger in size just because it has almost 70%
    empty new lines added
    > by
    > DW CS3, 9 etc..
    >

  • Help finding key characters in txt file

    Hey I have just been trying to code a script that I can use to search through a bunch of rankings (like 1.Jorden 2.Honza 3.Bill 4.Ted etc) and find how many times each player recieved a vote for each ranking.
    So I might end up with, Jorden was voted 1st 9 times, 2nd 3 times and 3rd 0 times.
    The votes are in a text document, here is the script so far:
    public static void printVotes() {
         int count = 0;
         int a = 0;
         File nFile = new File("Sick1.txt");
         FileReader inStr = new FileReader(nFile);
         BufferedReader inBuff = new BufferedReader(inStr);
         for(int i = 1; i < 15; i++) {
              while(a == 0) {
                   String txtName = inBuff.readLine();
                   if(txtName != null) { //txtName holes the line IE if its like this 1.) Honza
                        StringTokenizer placing = new StringTokenizer(txtName, i);
                        StringTokenizer name = new StringTokenizer(txtName, "Honza");
                        if(placing != null && name != null) {
                             count++;
                   } else {
                        System.out.println(count);
                        a = 1;
    Now it is far from perfect (that being the main reason it does'nt work) but my key question is:
    what is the best way to check how many lines in the .txt document contain the int i (from the for loop) and a givin name (eg "Honza")?

    Your logic needs to look like this:
    for (each line)
       split the line into the rank and name;
       Increment the count for the name/rank pair.
    }I would use a Map to store the rank counts for each name found.

  • I need to combine a few thousand multi line txt files into individual lines in a master file.

    I need to combine lots of text files into one file-but each file is 6 or 7 lines long, and I need to remove the line breaks so each file is an individual line in the output. I feel like I should be able to do this with CAT, but can't figure out how.  Perhaps there's aother tool that would allow me to stip the line breaks before I cat them all together? (and perhaps this is a question that should be posted somewhere else?)

    You can remove the line breaks with tr -d '\n', :
      tr -d '\n' < file > newfile
    If all the files are in the same directory, just use a loop:
    for i in ~/Desktop/*.txt ; do tr -d '\n' < $i >> ~/Desktop/Untitled3.tmp; echo >> ~/Desktop/Untitled3.tmp; done
    If in multiple directories, you can use find, but the files need similar names (i.e., Untitledxxx.xxx).
    BTW, best place for this question would be the "Mac OS X Technologies" forum with a tag of UNIX
    Tony

  • Splitting to new line in file content conversion in File Receiver adapter

    Hi,
    I have a requirement where I have to split the Header and Line item in separate lines. If the Target structure as follows:
    RecordSet>Record>Header-->LineItem.
    If I do Header and LineItem at the same level, I do not have a problem. If I do that I could not able to map from Idoc correctly. Therefore, I have to do LinteItem tag within Header.
    Please thru some Ideas , how we can this.
    Thanks
    Venkat

    Hi,
    In FCC use two time Record.endSeparators
    Like
    Record.endSeparator - 'nl'
    Record.endSeparator - 'nl'
    I think this will solve yr problem.
    Regards
    Vikas

  • New line in file content conversion....

    hi,
    i have a  scenario where i need to seperate two records with 2 lines
    example
    <record1> name1    name2      name 3    
    <record2> name11  name22     name 33
    where each records seperated by 2 lines
    i have tried using a endSeparator with 'nl' two times but it was no help
    kindly helkp me on this
    with regards
    N pradeep

    Hi,
    In FCC use two time Record.endSeparators
    Like
    Record.endSeparator - 'nl'
    Record.endSeparator - 'nl'
    I think this will solve yr problem.
    Regards
    Vikas

  • Re-package jinitiator with new certdb.txt

    I understand that with the Oracle Application Suite it is possible to repackage the jinitiator (jinit.exe) in order to include the new certdb.txt file to support SSL Forms. Is it possible to do the same with the Developer Server ? It would also help with signing the jar files as well to be able to repackage the jinit.exe.

    I agree with Jim that this is an important topic. We have webforms running with SSL using client certificates (for mutual authentication), but currently we get this running only using IE native JVM. JInitiator does not seem to be able to find the certificate in the browser's store, including the root certificate in the certdb.txt is not enough.
    Peter

  • Dolphin enter key not wokring

    I am using KDE4/ Recently upgraded.
    I am trying to browse the files through keyboard in the dolphin, when I hit enter on a folder which is selected it does not open and show its contents. But when I use mouse and double click it works.
    Why the keyboard enter command is failing in dolphin.
    This is a problem mainly in the mac type view. In detailed view the enter key works and shows the files in that folder.
    Also the enter key cannot open any file also.
    I have also tested this on my friends computer. Its the same behavior
    Can some one tell what can I do

    Hello
    This is a bug in the "columns view" kpart, please report it on the KDE bugtracker [http://bugs.kde.org] or using the "Help > Report bug" menu.
    Bugs happen, it's life
    Cheers

  • Need a VB-Script that read a txt-file and only the lines that are new since last time

    Hi,
    I need help to write a VB script that read all new lines since the last time.
    For example:  The script reads the textfile at specific time, then 10 minutes later the script read the file again, and it should now only read the lines that are new since last time. Anyone that has such a script in your scriptingbox?
    cheers!
    DocHo
    Doc

    Based on the excellent idea by Pegasus, where is a VBScript solution. I use a separate file to save the last line count read from the file, then each time the file is read I update the line count. Only lines after the last count are output by the program:
    Option Explicit
    Dim strFile, objFSO, objFile, strCountFile, objCountFile, strLine, lngCount, lngLine
    Const ForReading = 1
    Const ForWriting = 2
    Const OpenAsASCII = 0
    Const CreateIfNotExist = True
    ' Specify input file to be read.
    strFile = "c:\Scripts\Example.log"
    ' Specify file with most recent line count.
    strCountFile = "c:\Scripts\Count.txt"
    ' Open the input file for reading.
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFile = objFSO.OpenTextFile(strFile, ForReading)
    ' Check if the line count file exists.
    If (objFSO.FileExists(strCountFile) = False) Then
        ' Initial count is 0, so all lines are read.
        lngCount = 0
    Else
        ' Open the line count file.
        Set objCountFile = objFSO.OpenTextFile(strCountFile, ForReading)
        ' Read the most recent line count.
        Do Until objCountFile.AtEndOfStream
            lngCount = CLng(objCountFile.ReadLine)
        Loop
    End If
    ' Read the input file.
    lngLine = 0
    Do Until objFile.AtEndOfStream
        ' Count lines.
        lngLine = lngLine + 1
        strLine = objFile.ReadLine
        If (lngLine >= lngCount) Then
            ' Output the line.
            Wscript.Echo strLine
        End If
    Loop
    ' Close all files.
    objFile.Close
    If (lngCount > 0) Then
        objCountFile.Close
    End If
    ' Ignore last line of the file if it is blank.
    If (strLine = "") Then
        lngLine = lngLine - 1
    End If
    ' Save the new line count.
    Set objCountFile = objFSO.OpenTextFile(strCountFile, _
        ForWriting, CreateIfNotExist, OpenAsASCII)
    objCountFile.WriteLine CStr(lngLine + 1)
    objCountFile.Close
    Richard Mueller - MVP Directory Services

  • Read at each new line from .txt file

    Hi guys
    I want to read from a file which I am saving using labview. What I am doing is reading 128 bytes fro VISA port and saving it in .txt file with new line constant. At some later time I want to read 128 bytes from that text file do some processing and display it. The "read from text file" vi has convert EOL but I am not able to configure it. Please help me..
    Thanks in advance
    Niladri

    Hi Newbee_3,
                                                  Do 1 thing, Read the txt file & convert this into string, Then you have all the flexibility to do whatever you want.
    Thanks
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet

  • Problem is occurring in docx format; it is not printing "New Line" character in extracted txt using IFilter (offfiltx.dll) while with doc file IFilter (OffFilt.dll) is working fine.

    Problem: Problem
    is occurring in docx format; it is not printing “New Line” character in extracted txt using IFilter (offfiltx.dll) while with doc file IFilter (OffFilt.dll) is working fine.
    Environment: -
    Operating
    System:
    Windows XP SP2/7
    Language:
    C#
    MS
    Office Version: - MS Office 2007/2010/2013
    Problem
    Description: -
    We
    havedocx
    file with new line character, and we are processing this file in IFilter for extracting text, and it is giving output with concatenation of lines.
    Docx
    file format (Sample.docx)
    Test this music
    Word processing
    Testing docx file
    Output:
    - Test this music Word processing Testing docx file
    Requirement:
    - We
    have requirement to get following text in particular format with New Line from docx because client is using docx format only.
    Test this music
    Word processing
    Testing docx file
    Attempt:
    We have tried a lot after changing IFilter configuration,
    but it is not giving required output. Then we saved same file in doc format (Sample.doc), which is giving required output.
    Because it is application specific problem, kindly
    assist to resolve issue on priority. We are sharing IFilter paths for extracting text for doc and docx.
    Doc Filter Location: - %systemroot%\system32\OffFilt.dll
    Docx Filter Location: - <Drive>:\PROGRA~1\COMMON~1\MICROS~1\Filters\offfiltx.dll
    Code Snippet for setting property of filter
    internal static IFilter LoadAndInitIFilter(string fileName, string extension)
                IFilter filter
    = LoadIFilter(extension);
                if (filter
    == null)
                    return null;
                IPersistFile persistFile
    = (filter as IPersistFile);
                if (persistFile
    != null)
    persistFile.Load(fileName, 0);
                    IFILTER_FLAGS flags;
                    IFILTER_INIT iflags
    =
                                IFILTER_INIT.CANON_HYPHENS
    |
                                IFILTER_INIT.CANON_PARAGRAPHS
    |
                                IFILTER_INIT.CANON_SPACES
    |
                                IFILTER_INIT.APPLY_INDEX_ATTRIBUTES
    |
                                IFILTER_INIT.HARD_LINE_BREAKS
    |
                                IFILTER_INIT.FILTER_OWNED_VALUE_OK;
                    if (filter.Init(iflags,
    0, IntPtr.Zero, out flags)
    ==IFilterReturnCode.S_OK)
                        return filter;
                Marshal.ReleaseComObject(filter);
                return null;
    Kindly
    assist to resolve this issue and also let us know if any input is required.
    For any help, we would be really
    thankful.

    Kindly
    assist to resolve this issue and also let us know if any input is required.
    For any help, we
    would be really thankful.

Maybe you are looking for

  • What is the purpose of the 1394 and USB jacks on the 30" Cinema?

    I have a 30" Cinema display connect to my (current-model) Mini via the Thunderbolt port and an Apple Dual-DVI adapter. The back of the display has a pair of USB jacks and a pair of Firewire jacks, and the adapter has cable connections to match. What

  • LSMW and condition

    Hi, I loaded material master data such as product type, name, unit … I used lsmw and Message Type CRMXIF_PRODUCT_MATERIAL_SAVE. I’d like additionally add Conditions (price e.g. 0PR0 type, Sales org., Dis. Chan.) to this data. Which message type shoul

  • Bank charges-CM

    Hi, Just want to know the process of & pre requisites of transfering Bank charges from Cash Management to General Ledger in Oracle 11i Thanks Arun

  • BENEFITS OF USING ORACLE DEVELOPER

    Dear Oracle Users, What are the other advantages of using oracle developer 6.0 over other front end tool like VB,... except coding flexibility ? Please suggest me ,I need it.

  • Move files without pressing down the trackpad in Lion

    I just got my new 13" Macbook Air but can't move files (or windows) by "double clicking and holding" the way I could on my old Macbook Pro. In order to move something I need to press down the trackpad, or use three fingers on it. Did Apple remove thi