Subject Line Line Line....

Recently when Mail downloads mail from my university server, the subject line of the first message is becomes the subject line of all subsequent messages downloaded at that time. Any suggestions on what to do? I have removed and added the account several time.

sorry, all messages take the subject line of the last (or most recently received) message downloaded.

Similar Messages

  • Read file line by line

    Hi
    Could somebody tell me how to read file line by line ? Namely my input file I want to read look as follow:
    AAA 1, 1
    12 222 12
    AAA 2, 2
    11 122 11
    My output file should look as follow:
    1, 1, 12
    1, 1 222
    1, 1, 12
    2, 2, 11
    2, 2, 122
    2, 2, 11
    I think the lines need to be stored in ArrayList, then I would like those lines to write to csv file, but how on read I can construct such output file? This is my code for reading file
    public ArrayList readFile(String filename)
      try
         BufferedReader in = new BufferedReader(new FileReader(filename));
         ArrayList list = new ArrayList();
         String lineS = null;
         while (in.ready())
          if ((lineS = in.readLine()).startsWith("")){
            String[] line = in.readLine().trim().split("\\s+");
            list.add(Integer.valueOf(line[0]));
            list.add(Integer.valueOf(line[1]));
            list.add(Integer.valueOf(line[2]));
         in.close();
         return list;
         catch (Exception e)
       e.printStackTrace();
    return null;
    Thanks

    The rules for the conversion from input to the desired output are:
    1. For each of the line with string take 2 integers for example 1, 1  from AAA 1, 1
    2. Then repeat 1, 1 for each next number not containing any string, so if the line after AAA, 1, 1 has 12, 222, 12 then the output will look as follow
    1, 1, 12
    1, 1 222
    1, 1, 12
    3. Repeat the process (the pattern is the same 1 line with string 1 line with numbers)
    Actually I am not sure how to perform that logic for such conversion as for now I am only able to list only the numbers but I have a problem to add numbers from the line having string in it.
    STOP!
    You should NOT be writing code if you are 'not sure how to perform that logic'.
    You are getting ahead of yourself.
    There is NOTHING to gain by trying to code a solution before you know what algorothm you need. Big mistake.
    Should I use list or maybe if the patter for lines is the same array will be more sufficient?
    NEITHER ONE!
    Those are 'solutions' used to implelment an algorothm.
    You do NOT yet know what algorithm you need to use so how can you possibly write code to implement the unknown?
    How to perform logic to get the numbers from line having string and for the next lines having only numbers in order to structure it into desired output? 
    THAT is the question your thread subject should have.
    Until you get the answer to it don't write any code,.
    Do NOT try to automate what you can't do manually.
    Write down, on paper or use an editor, the step by step 'logic' you need and walk through that logic from beginning to end until the 'logic' works and produces the correct result.
    You just now have started to do that when you listed those rules above.
    But you left some things out. Expand on that list of 'rules' and provide a little more example data. TPD has given you a good example. Reread what they said.
    Did you notice they start by talking about 'tasks': what each task does and the order the tasks need to be performed.
    That 'task list' has NOTHING to do with Java, C, or any other language: it is identifying the problem/algorithm. Until you have that coding is premature.

  • Crystal report -How to display multiple lines in line chart?

    Hi,
    M struggling to display multiple lines in line chart. All the values m fetching it from database into data table in below format & data type
    Category(String).....year(Int).....graph_values(Int).....table_value(String)
    Test.........................2006.......... -100............................(100)
    Avg..........................2006..........20................................20
    Median......................2006...........5................................5
    Test..........................2007...........500.............................500
    Avg...........................2007............90..............................90
    Median.......................2007............45..............................45
    M using cross tab to display data and chart to plot line. Following fields I used in Cross tab Expert & Chart expert
    Cross tab expert-
    Rows u2013 category
    Columns u2013 year
    Summarized fields u2013 Min of table_value
    In Chart Expert u2013
    On Change of - Year
    Show values - graph values
    In cross tab m able to see the data properly but not in graph.I have three categories. Hence it should plot three lines in line chart but m able to see only one line for test category.
    FYI u2013 using VS 2008 and crystal report assembly version 10.5
    Urgent. Please reply soon.
    Thanks
    ThakurS

    I got the solution.
    In Chart Expert - I should use
    On Change of -- Year, Category
    Show values -- graph values
    Thanks,
    ThakurS

  • Create a Macro to Index a Word Document Line by Line

    Background
    I have collected a bunch of keywords and references to where I can find these words in a textbook.  I've put them into a Word document where each line is one Index beginning with the “Main Entry” followed by a colon and then the “Subentry”.  Note
    that in the "Subentry" I have included my reference in parenthesis (b1-m2).
    Example Original Text:
            Main Entry:Subentry (b1-m2)
    Example Marked for Index:
            Main Entry:Subentry (b1-m2){ XE "Main Entry:Subentry (b1-m2)" \t "" }
    When it was only a page of content it was no big deal to select the entire line and <Ctrl>+<Alt>+<x> then <Enter> down the line.  Now that I have about 500 lines of these word combinations, I need a more automated solution. 
    I have searched for KB articles that explain the various elements I need, though unsuccessfully since I don’t know what I need.  I doubt I am the first person to do this, so if anyone could point me to the right documents I would greatly appreciate
    it.
    As a noob, how difficult of a task is this to automate with a Macro or some other method and should I even attempt it? I have a very short window of time to figure this out.
    Nice to have: In the final index, I don't need the Word page numbering after the term.  My references are in the parenthesis.  I know how to remove it manually in Word, when I mark the index entry: Chose Options, Cross-reference
    and remove the pre-populated text of "see". That adds  \t "" to the index reference. 
    Illustrated as such:
            From: Main Entry:Subentry (b1-m2){ XE "Main Entry:Subentry (b1-m2)" }
            To:     Main Entry:Subentry (b1-m2){ XE "Main Entry:Subentry (b1-m2)" \t "" }
    My Attempt at Recording a Macro
    Having zero experience writing macro’s myself, I tried recorded a simple macro using the manual keystrokes below however the text reflected in the actual index reference does not change.  I also have to manually kick off the macro on every line of text.
    I walked through each of the steps outlined below as I was recording a macro, however when I replay the macro, the index itself contains the exact same text for every line and does not match the original text on the new line.
    I could not get the macro to repeat itself on every line.  I had to keep running it until I was done (technically, when I realized it was repeating the same text within the index reference itself) but I’d like the macro to run from beginning
    to end; line by line and then insert the Index itself at the end on a new page.
    I realize I need some kind of loop to keep the macro going line by line.
    I also need some way to mark the Main Entry within the loop (everything to the left of the colon) and then the Subentry (everything to the right of the colon to the end of the line). 
    Example “Index” Macro
    Sub Index()
    ' Index Macro
        Selection.EndKey Unit:=wdLine, Extend:=wdExtend
        ActiveWindow.ActivePane.View.ShowAll = True
        ActiveDocument.Indexes.MarkEntry Range:=Selection.Range, Entry:= _
            "TV\:The Good Wife (y2014-y2015)", EntryAutoText:= _
            "TV\:The Good Wife (y2014-y2015)", CrossReference:="", _
            CrossReferenceAutoText:="", BookmarkName:="", Bold:=False, Italic:=False
        Selection.MoveRight Unit:=wdCharacter, Count:=1
    End Sub
    Manually Marking Index Entries
    Manually, here are the keystrokes I use to iterate my way through the document.
    Manual Index Marking Keyboard Combinations:
    At the beginning of the first line, press <Shift> + <End>
    This selects the entire rows text
    Then press <Ctrl> + <Shift> + <x>
    This allows me to “Mark Index Entry”
    Then press <Enter>
    This confirms the Index entry
    Then press <Esc>
    This closes the “Mark Index Entry”
    Go to the next line and repeat.
    Replacing anchor
    Once the creation of each index is complete, I need to be able to iterate through the document and find all anchor + colons (IE: \: ) and replace with colon (IE: :). This way, the “Main entry” and “Subentry” are handled properly when the Index is inserted.
    Manual Anchor Replacement Keyboard Combinations:
    At the beginning of the Word document, press <Ctrl> + <h>
    Find what:      \:
    Replace with:   :
    Then <Alt> + <a>
    Press the "Ok" button (or make replace silent somehow)
    Then press <Esc>
    This should close the "Find and Replace" screen
    Inserting Index
    Ideally, I would like the macro to create and insert the newly marked content into an index at the end of the document.
    Manually Inserting Index Keyboard Combinations:
    Press <Ctrl> + <End>
    this takes us to the bottom of the document
    Then press <Alt> + <s>
    this chooses the "References" tab
    Next press <Alt> + <x>
    this chooses "Insert Index"
    Next press <Alt> + <t>
    This should allow you to choose a "Format" option for the index
    Next press <m>
    This should chose "Modern" from the "Formats" options
    Finally, press <Enter>
    End the macro
    Example before Indexing:
              TV:The Good Wife (y2014-y2015)
              TV:Phineas and Ferb (y2011)
              TV:Curb Your Enthusiasm (y2011-y2015)
              Game:Back to the Future (y2012)
              Made for TV Movie:The Magic 7(y2009)
              Main Entry:Subentry (b1-m2)
    Example after Indexing is completed:
    The marked up text/references did not transfer over properly from the Word document I copied my question from.  I had to manually type the text within the {} brackets for illustrative purposes here:
              TV:The Good Wife (y2014-y2015){ XE "TV:The Good Wife (y2014-y2015)" }
              TV:Phineas and Ferb (y2011){ XE "TV:Phineas and Ferb (y2011)" }
              TV:Curb Your Enthusiasm (y2011-y2015){ XE "TV:Curb Your Enthusiasm (y2011-y2015)" }
              Game:Back to the Future (y2012){ XE "Game:Back to the Future (y2012)" }
              Made for TV Movie:The Magic 7(y2009){ XE "Made for TV Movie:The Magic 7(y2009)" }
              Main Entry:Subentry (b1-m2){ XE "Main Entry:Subentry (b1-m2)" }
    Example Index 
    G
        Game
              Back to the Future (y2012) · 2
    M
        Made for TV Movie
              The Magic 7(y2009) · 2
        Main Entry
              Subentry (b1-m2) · 1,
    2
    T
         TV
              Curb Your Enthusiasm (y2011-y2015) · 2
              Phineas and Ferb (y2011) · 2
              The Good Wife (y2014-y2015) · 2
    Chris Schurman

    Once I combined my Excel knowledge and Word knowledge, this became a piece of cake.  Sharing my solution for anyone else who may have the need.  The point of this exercise is to prepare for an open book exam and I need a quick index of my books
    (there are 6 for this class).  Anyway, here is how i solved (though slightly clunky, it works in seconds!)"
    In Excel, I pieced the text together by concatenating the indexing markup and the contents of the pertinent cells as such:
        =CONCATENATE("XE """,A2,":",B2," (b",C2,"-p",D2,")"" \t """"")
    Content from Excel (with results of concantenate statement in last column:
    Heading    Slide Title    Book    Page    Copy this into notepad then into word
    Game    Back to the Future    1    12    XE "Game:Back to the Future (b1-p12)"
    Made for TV Movie    The Magic 7    2    7    XE "Made for TV Movie:The Magic 7 (b2-p7)"
    Main Entry    Subentry    3    48    XE "Main Entry:Subentry (b3-p48)"
    TV    Curb Your Enthusiasm    4    100    XE "TV:Curb Your Enthusiasm (b4-p100)"
    TV    Phineas and Ferb    5    20    XE "TV:Phineas and Ferb (b5-p20)"
    TV    The Good Wife    6    35    XE "TV:The Good Wife (b6-p35)"
    Then I paste special the "Values" of the last column into Word.
    I run the macro below (haven't figured out how to loop yet) a few doxen times an insert the index at the bottom.
        Sub Index()
        ' Index Macro
            Selection.HomeKey Unit:=wdLine
            Selection.EndKey Unit:=wdLine, Extend:=wdExtend
            Selection.MoveLeft Unit:=wdCharacter, Count:=1, Extend:=wdExtend
            Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldEmpty, _
                PreserveFormatting:=False
            Selection.EndKey Unit:=wdLine
            Selection.MoveRight Unit:=wdCharacter, Count:=1
        End Sub
    Bam; instant Index!
    Chris Schurman

  • Is it possible to change the attributes of lines in Line Charts?

    I always think there are no dumb questions but this one actually might qualify because for some reason I'm unable to find a way to change the line color and thickness in Line and Line & Bar Charts. Web Intelligence must be intelligent enough to let me do this, right?
    Thnx,
    David

    Thank you!
    So this is again another example of the Web Intelligence product not achieving it's goal, and to me that is simplifying the creation of reports that can turn data into valuable information on which people can make better, more informed decisions. Shame! And I've noticed that this is the case for far more features of Web Intelligence. Please, SAP BusinessObjects, stop including marketing only related functionalities and build a better reporting tool!
    As to your answer regarding the palette, this is true but is not a generic solution as this goes for all line graphs (and bar, pie charts?). It is not very user friendly as well!
    But thanks for the quick response and confirmation.
    I'll keep the post open a little longer to see if anyone else has comments or similar feelings!
    David

  • Text file: reading char one at a time line by line

    I need to read an external .txt file, one character at a time, line by line, and compare each character in order to do various things. The problem is that when I use the Buffered Reader I have only readLine() method and others to work with, but none that actually read a character at a time, and line by line. The program has to read a character, then move to the next one and read it, and so on. Then move to the next line, and read the first character, and so on. I am working with chars not Strings. Could you please help me with this problem?

    InputStreamReader can read a single char.
    InputStreamReader isr = new InputStreamReader(InputStream in);
    isr.read(); will return 1 character from "in".

  • How to create static line in line bar graph in obiee 11g?

    Hello,
    I have requirement where user wants to see a line in bar graph.
    Now the line is just static line, we dont have data field available to draw the line in graph.
    is there a way to create a static line in chart and show it in Line bar ombo graph??
    Thanks in advance..

    e.g. i created the static line '10' in fx and now using this column as line in line bar report , but its not displaying the line at measure of '10' in chart.
    Drag the column to measures section of graph (Line - Vertical Axis) to change this static value create an edit box prompt and pass the value to the column using Presentation Variable (as said by Fernando)
    Thanks,
    Saichand

  • No control line for line item - error while posting bd to accounting

    Hi all,
    Billing document showing err "no control line for line item" while posting to accounting doc.Sales document is complete no in completion logs.
    Previous errr: g/l missing for line item" in order incompletion after maintaining company code for customer, then refresh the g/l missing for line item is no more logs and showing the error "no control line for line item" while posting bd to accts.
    Please help
    Regards
    anush

    Hello Anush,
    if the company data of the payer was not created when the sales order has been created, then the system could not create the correct records in table VBREVK. Once the company data has been maintained the VBREVK records could be corrected by re-saving the sales, but only if no billing document exists.
    In your case you already created the billing document.
    Please try these step:
    1. reverse billing document
    2. run VA02 add a blank char to PO number, save
    3. create new billing document
    Best regards,
    Ivano.

  • My firefox has decided to load in a line by line format, why?

    My broser started loading in a line by line formay. I need to know what to do about this. This happens on most websites, but not all. Will not allow me on to the facebook site. sample below.
    Access Email using the XFINITY Mobile app »
    Xfinity
    Home
    TVNew
    Connect
    Help
    Account
    Security
    Shop
    Register
    Sign In
    Profile Set-up
    Progress: 100%
    View More Options
    Hi chvbob
    Sign Out
    Welcome
    Complete the XFINITY set up process so you can browse, watch and record your TV shows & movies anytime, anywhere.
    Set Up Xfinity
    Welcome
    Just 0 more steps and you're done:
    You're Done!
    Complete Set-up
    View Profile
    Thank You
    Coming back to complete the set-up is simple. Just click on the arrow to the right of the progress bar to see where you left off, then finish your set-up tasks.
    Comcast.net
    Search:
    enhanced by Google
    Today's Highlights
    October 06, 2011
    10 Unsolved Mysteries of Amanda Knox Case
    10 Unsolved Mysteries of Amanda Knox Case
    Amanda Knox is freed and back in the U.S., but questions about the Italian murder case remain.
    Judge: 'This Case Will Never Be Solved'
    Knox's Tearful Arrival Back in United States
    Family, Friends Celebrate Knox's Return to U.S.
    Woman on Knox's Flight Home Speaks Out
    Reactions to the Amanda Knox Verdict
    New End-of-the-World Prediction
    New End-of-the-World Prediction
    The world didn't end last May, but that doesn't mean we're out of the woods just yet...
    Harold Camping Thinks the World Will End Soon
    Evangeline Lilly Is Sick of Talking About 'Lost'
    Watch the Full Episode of 'Jimmy Kimmel Live'
    Full Episodes of 'Jimmy Kimmel Live'
    Find TV Listings for Your Area
    Real Estate: What Will $200K Buy?
    Real Estate: What Will $200K Buy?
    Will you get a luxury 4-bedroom home or a cramped studio? See what your dollar's worth in these cities:
    Chicago
    Houston
    Denver
    What Does $200K Buy in Other Cities?
    10 Tips to Get the Best Mortgage
    6 Must-Do's Before You Buy
    Listing Red Flags
    Should You Clean the Foreclosure Next Door?
    Jobs Remembered as 'Visionary'
    Apple founder Steve Jobs lost his long battle with pancreatic cancer yesterday. He was 56.
    Tributes Pour In from Across the Globe
    Video
    Apple Fans Mourn Jobs
    Jobs' Life in Pictures
    Jobs Told Us What We Needed Before We Knew
    Digital Titans, Gadget Junkies Mourn Steve Jobs
    Evolution of Apple
    Little-Known Steve Jobs Facts
    Watch the Greatest TV Moments
    TV Guide counts down the top 100 memorable moments in television history.
    View '100 Great TV Moments' Online for Free
    Watch More of '100 Great TV Moments' Online
    Watch 'Fat Albert and the Cosby Kids' Online
    Watch 'Hill Street Blues' Online
    Watch Thousands of TV Shows for Free
    5 Lightning-Fast Porsches
    Do you have a need for speed? Buckle up and check out the fastest Porsches permitted to cruise the streets.
    Fastest Street-Legal Porsches
    5 Super Cars That Shatter 200 MPH
    Beautiful Exotic Cars
    Famous TV Cars
    5 Cars That Stand Out from the Crowd
    Most Stolen Cars
    Future Collectible Cars
    Ways to Save on Groceries
    In just one year, the cost of groceries has increased by 4.2 percent. Learn how to stop your grocery bills from growing.
    5 Tips to Fight Rising Prices
    Secrets of Supermarket Prices
    Make Your Groceries Last Longer
    Clean Up the Cost of Laundry
    The Best Savings Accounts
    Did They Go Under the Knife?
    From Steve Martin to Simon Cowell, these leading men are rumored to have had lifts, Botox and other procedures.
    Did They or Didn't They?
    Celebrity Surgery: Before & After
    Stars Who Insured Their Body Parts
    Watch Full Episodes of 'Nip/Tuck'
    Super-Skinny Celebrities
    Slow PC? Speed It Up
    Improve your computer's speed and performance with a PC tune-up. This special offer is available exclusively to XFINITY customers.
    Learn More
    Tune Up Your PC's Speed and Performance
    Keep Your Computer Safe and Secure
    Get a Free Month of XFINITY Signature Support
    Mexico Vacation Sale
    Check out spectacular specials on flights and all-inclusive hotel stays across Mexico. Two great deals, one unforgettable vacation.
    Flights $119+
    All-Inclusive Hotels $69+
    Disney Resort Vacations: 3 Nights with Air $480+
    Jamaica from $469
    Hawaii from $589
    Tour the UK: 6 Nights, 3 Countries with Air $910+
    Flight Deals: Atlanta $59+
    San Diego $119+
    Highest-Earning Women in Hollywood
    Forbes has released its annual list of the best-paid women in entertainment. Did Oprah Winfrey retain her crown?
    Find Out Now
    Lady Gaga Wears False Teeth
    Richest Star Moms
    Most Powerful Celebrities
    Watch Oprah Winfrey Network Clips & Episodes
    Best-Paid Actresses
    Wealthiest Stars Under 30
    Get Paid to Eat Out
    A new website offers 'insider pricing' of 30% off your bill when you use it to make a reservation.
    How Does It Work?
    Food News, Cooking Shows, More
    America's Best Chain Restaurants
    Guide to Restaurant Tipping
    12 Dinner Date Deal Breakers
    Amanda Knox
    'Jimmy Kimmel'
    $200K Homes
    Steve Jobs
    TV Moments
    Fastest Porsches
    Grocery Savings
    Celeb Surgery
    Tech Help
    Mexico Sale
    Richest Women
    Get Paid to Eat
    Amanda Knox
    Previous
    1 - 1.0336417157275022 of 12
    Next PLAYPAUSE
    Top Videos
    Finance News
    Previous
    1 - 1.0336417157275022 of 16
    Next
    Previous
    Loading...
    'DWTS' Star's Revealing Pics'DWTS' Star's Revealing Pics
    'Bachelor' Beauty's New Man'Bachelor' Beauty's New Man
    Depp's Comment Sparks OutrageDepp's Comment Sparks Outrage
    Camille Grammer Rocks BikiniCamille Grammer Rocks Bikini
    'DWTS' Star's Revealing Pics'DWTS' Star's Revealing Pics
    Next
    Watch XFINITY TV Online
    History Hits
    Classic Comedy
    Fox Toons
    Reality Rewind
    'Pawn Stars'

    You are addressing an audience that is not affiliated with Apple.  We can't help you.

  • Shared Lines and Line Group in 8.6.2.22900-9

    We have some IP Communicator (SCCP) 8.6.14 and 7911 running SCCP11.9-2-3ES4S
    We notice that sometimes when put this version of IP Communicator in a Line Group it does not ring. The desk phone will ring fine, and a IP Communicator running 7.0.3.3 will run fine.
    Is this a known issue with CIPC 8.6.14 ?
    Shared Lines and Line Group in 8.6.2.22900-9

    I neglected, this is a VMWare on UCS ... memory/HDD/CPU is all in spec.

  • I want to read the contents of a file to a text item line by line dynamical

    I have created a timer
    tm_id := FIND_TIMER('LOG_READING_TIMER');
    If Id_Null(tm_id)
    then
    tm_id := create_timer('LOG_READING_TIMER', 1000, REPEAT);
    else
    set_timer (tm_id, 1000, REPEAT);
    end if;
    /* executed the shell script on application server */
    host(v_command,no_screen);
    and used below code for reading a file in when timer expired
    DECLARE
    v_file_name := '/home/log.txt' /* log created during running shell script */
    BEGIN
    v_infile := Text_IO.Fopen(v_file_name , 'r');
    loop
    Text_IO.Get_Line(v_infile,v_linebuf);
    :CONTROL.item:= :CONTROL.item||v_linebuf||chr(10);
    end loop;           
    WHEN no_data_found THEN
         Text_IO.Fclose(v_infile);
         delete_timer('LOG_TIMER');
    END
    I want to read a log file which is created while runnning shell script line by line
    dynamically
    Above code is reading the log filebut all the lines are shown at once.
    I have to display
    each line on the text item
    and the next line line by line
    Can anyone help me how to achieve this.
    Thanks,
    in advance

    In when-button-pressed trigger
    I have called a shell script on application server using host command
    HOST('Path of script',NO_SCREEN);
    Shell script writes some set of statements to log file on application server
    Problem is to read the log file on to the multiline text item each line simultaneosly
    while running the script.
    Below is the procedure i have written to achieve this but below code is writing all the lines at once
    after entire complete execution of shell script.
    for example
    shell script writes tolog file:
    1. 'Loading of tables';
    then loads the data
    2. 'emailing data';
    3. ...
    4. ...
    Below code writes
    all the 4 lines at once
    I want to see in frontend what is going on while running the script
    by reading the log file data line by line
    WHEN-BUTTON-PRESSED
    tm_id := FIND_TIMER('LOG_READING_TIMER');
    If Id_Null(tm_id)
    then
    tm_id := create_timer('LOG_READING_TIMER', 1000, REPEAT);
    else
    set_timer (tm_id, 1000, REPEAT);
    end if;
    /* executed the shell script on application server */
    host(v_command,no_screen);
    WHEN-TIMER-EXPIRED
    and used below code for reading a file in when timer expired
    DECLARE
    v_file_name := '/home/log.txt' /* log created during running shell script */
    BEGIN
    v_infile := Text_IO.Fopen(v_file_name , 'r');
    loop
    Text_IO.Get_Line(v_infile,v_linebuf);
    :CONTROL.item:= :CONTROL.item||v_linebuf||chr(10);
    end loop;
    WHEN no_data_found THEN
    Text_IO.Fclose(v_infile);
    delete_timer('LOG_TIMER');
    END
    While running the script on application server
    I want to see the data from log file simulataneously on to the form when the data is written on to the log file
    Please let me know if you need more details.
    Thanks,
    in advance

  • How to read line by line in GUI_UPLOAD for long line?

    Hi,
    when i read a file use GUI_UPLOAD line by line, i can't get a whole line maybe for the restrained line size in the function. can i set the max line size by myself ? so i can read a whole line.
    if not, i just image maybe i can set the read mode to a ' stream file', and then i read N(line size ) characters each time, but how shoulld i do ?
    thanks!

    Hi,
    In abap output length is 255 charcters only 
    so you can see  255 char only in your internal table but internal table contains all the data.
    so if you want to see or print remaining data  better to use wa_itab+255(255) to print other data .
    i hope this is helpful to u..
    reward if needful

  • Line Chart - Formatting more than 4 lines in line chart

    Hi,
    How to format more than 4 lines in line chart using Crystal report Designer as by default it will display 4 lines in design mode.
    Able to format 4 lines but i have to display total 6 lines.
    Urgent. Please help....
    Thanks,
    ThakurS

    Hi,
    The design mode is not the right place to edit lines, bars etc for Charts.
    You can select individual lines from the Preview Mode and edit them.
    Hope this helps!
    -Abhilash

  • Problem with receiver file adapter printing data line by line in .txt file

    We are working on e-payments integration with one of the bank. As part of text file generation, we have a written a UDF which accumulates all Invoice details( 10 input fields information ) into one string and then sends output line by line with a delimiter separation for each invoice.
    H
    D
    E
    E
    E
    T
    Bank requires a file in above format separating invoice in separate E band.( one invoice collection in one E band)
    As per our scenario, multiple invoice details from an idoc(PAYEXT) have to be written to a text file line by line.  i.e one invoice details per one row.
    After the execution of the scenario, in SXMB_MONI, the message display clearly showing that the invoice details are printed line by line. A java function used in message mapping for the writing the invoice details line by line.
    But actual file that is written to a text file is showing all the invoice details in written in single row.
    When I enable the option Word wrap in the notepad, then only I can see the details in desired format.
    Please guide us where we are going wrong.
    Can notepad settings make any difference while displaying the text file???
    Is there any way to write the file as desired without enabling the word wrap in notepad.
    Thanks in advance.
    Nagendar

    Hi venkatnrj,
    i hope this UDF might be its helps
    public void CombineText(String[] var1, String[] var2, String[] var3, String[] var4, String[] var5, ResultList result, Container container) throws StreamTransformationException{
    String s = "";
    for( int i = 0 ; i < var1.length ; i++)
         if ( var1<i> != ResultList.CC)
         s = s +  var1<i> + "," + var2<i> + "," + var3<i> + "," + var4<i> + "," + var5<i>  + "\n" ;
    result.addValue( s );
    Output diplay like below the format by using above udf:
    aaa,bbb,cccc,dddd,eee,fff,
    aaa,bbb,cccc,dddd,eee,fff,
    aaa,bbb,cccc,dddd,eee,fff,
    aaa,bbb,cccc,dddd,eee,fff,

  • How to print vertical lines for line items?

    hi experts,
                    can any one tell me how to print vertical lines for line items in ascript?
    ive tried using sy-vline but its printing jus one line each for each item .i want it in columns ?if there are any control commands plz let me know how to print?
    thanks &regards
    narendar

    hi narendar,
    Welcome to SDN.
       u can go for box command.
    Use the box command with zero width for vertical lines.
    Position the line by x position and y postion.
    syntax :
    BOX <xpos> <ypos>
           <width>
          <height>
          <thickness in twips> twips.
    Regards,
    Arun.
    Reward points if useful.

  • Tax break up in line by line for  each item in the repetitive area

    Dear SAP PLD Experts
    I am facing a problem for generating excise invoice in pld with tax break for each line item .
    for eg : i have 5 line item in the invoice. 
    so , i want to show the tax break up for each line item seperately in column wise .
    slNo----Item CodeQtyPriceCenvat E.Cess---- H.E.Cess-- Vat--
    Total
    1-- A  5 -1000 96.401.920.96 40.00---    line total
    2
    3
    4
    5
    But when i am showing the Tax amount from Sales tax authorities table in repetitive area, its showing 25 line numers instead of 5 line. and tax amounts is showing line by line.
    Can any body help me to sort out this issue.
    Thanks
    Regards

    Dear,
    Add the UDF's on the marketing document you want the tax break up.
    Apply FMS using below queries and call these UDF's on your PLD.
    FOR BED
    DECLARE @Amount as Numeric(19,2)
    DECLARE @Rate as Numeric(19,0)
    DECLARE @TAmount as Numeric(19,2)
    set @TAmount =$[$38.21.Number]
    SELECT    @Rate=STA1.Rate
    FROM         OSTC INNER JOIN
                          STC1 ON OSTC.Code = STC1.STCCode INNER JOIN
                          STA1 ON STC1.STACode = STA1.StaCode Where   OSTC.Code=$[$38.160.0] And STA1.SttType='9' order by STA1.EfctDate desc
    set @Amount=(@TAmount * @Rate)/100
    Select @Amount
    For Cess
    DECLARE @Amount as Numeric(19,2)
    DECLARE @Rate as Numeric(19,0)
    DECLARE @TAmount as Numeric(19,2)
    set @TAmount = $[$38.U_BED.Number]
    SELECT    @Rate=STA1.Rate
    FROM         OSTC INNER JOIN
                          STC1 ON OSTC.Code = STC1.STCCode INNER JOIN
                          STA1 ON STC1.STACode = STA1.StaCode Where   OSTC.Code=$[$38.160.0] And STA1.SttType='8' order by STA1.EfctDate desc
    set @Amount=(@TAmount * @Rate)/100
    Select @Amount
    For HCess
    DECLARE @Amount as Numeric(19,2)
    DECLARE @Rate as Numeric(19,0)
    DECLARE @TAmount as Numeric(19,2)
    set @TAmount = $[$38.U_BED.Number]
    SELECT    @Rate=STA1.Rate
    FROM         OSTC INNER JOIN
                          STC1 ON OSTC.Code = STC1.STCCode INNER JOIN
                          STA1 ON STC1.STACode = STA1.StaCode Where   OSTC.Code=$[$38.160.0] And STA1.SttType='10' order by STA1.EfctDate desc
    set @Amount=(@TAmount * @Rate)/100
    Select @Amount
    This will help you.
    regards,
    Neetu

Maybe you are looking for

  • Laserjet Pro 400 MFP Cover Page

    We just installed the above multi-function device. I understand the software included with this device in limited in capability with its scan to fax function. Currently this deice won't add cover pages unless the needed cover page is scanned in addit

  • Multi Mapping error

    Hi, I am required to have a IP recieve 3 IDOC types triggered from BD10 . It can trigger 3 or more IDOCs. For Eg. 1 ARTMAS (only 1) , 2 INFRECs and 1 LIKOND. If anyone IDOC has come then after a waiting period of 1 minute it should come out of FORK.

  • Error writing to file during iTunes 10.6 installation - Help!!

    I am trying to update iTunes to 10.6 but I get 'Error writing to file C:\Config.Msi\1b0f1d.rbf. Verify that you have access to that directory' I am presented with the option to 'Retry' or 'Cancel' after choosing retry on multiple occassions the updat

  • Brand New iPod 1st gen not connecting to itunes

    Software on Ipod is version 1.1.1 and itunes is 10.4 Get error message - We're sorry we are unable to continue with your activation at this time. Please try again later or contact customer care.

  • Help..i got a text message with pics i need printi...

    i was telling my daughter to send pics via text message to my N97 thinking i could print them off but i cant..please help me. Solved! Go to Solution.