Display Long field Description in 2 lines in Header when using REUSE_ALV_HI

Hi,
  I am using REUSE_ALV_HIERSEQ_LIST_DISPLAY .
I need to have 2 lines in the header to display  long field descriptions like
Ex   Shipment Notification Idoc or Billing Document Cancel  should appear as
Shipment Notification       Billing Document
Idoc                                        Cancel
Is there a way of doing this when calling the above ALV function?
Thanks
Prashant

Hi Prashanta ,
We can give headers in ALV using short/medium/long text.
And this comes in one line. You can use short/medium text, if possible.
Hence , having 2 lines in the header to display long field descriptions is not possible.
Hope this helps you.

Similar Messages

  • How to display a fixed number of rows in a page when using CL_GUI_ALV_GRID

    Hy experts
    How to display a fixed number of rows in a page when using CL_GUI_ALV_GRID?? lets say 500 ?? because my display table it may contain in some cases 10.000 and evidently I can t see all of them..
    I have a button in my toolbar witch triggers this event
    (display 500 records ) but I don t have the logic to do this only with methods of CL_GUI_ALV_GRID.
    can you tell me a standard method of CL_GUI_ALV_GRID witch can help me do this?? any hint will be good..
    Till now I was used to add a column to my structure witch represents a flag that is a number corresponding to every 500 records (a batch containing 500 records )
    first       500 - flag -> 1
    second  500 - flag -> 2
    etc..but I m convinced that exists a way of doing this more easy..without damaging my structure..
    thanx in advance..don t be shy..reply if you have any hints..

    Hi,
    if method SET_FILTER_CRITERIA doesn´t help, I think that you must work with 2 internal tables, a counter and a loop for filtering the records to be displayed:
    case counter.
      when 1.
         loop at int_table1 from 1 to 500.      "<-- your table with all records
           move int_table1 to int_table2
        endloop.
      when 2.
         loop at int_table1 from 501 to 1000.     
           move int_table1 to int_table2
        endloop.
    etc, etc.
    Call grid-->SET_TABLE_FOR_FIRST_DISPLAY
       exporting
         IT_OUTTAB = int_table2                "<-- instead of your currently table int_table1

  • [svn:fx-trunk] 7155: Line bug fixes when using gradient strokes

    Revision: 7155
    Author:   [email protected]
    Date:     2009-05-20 14:39:39 -0700 (Wed, 20 May 2009)
    Log Message:
    Line bug fixes when using gradient strokes
    SDK-21272 - Lines with gradient (LinearGradientStroke) draw as solid color if perfectly vertical / horizontal
    StrokedElement was not taking the stroke weight into account when passing the bounds to the stroke. The gradient strokes rely on the bounds to help them transform the gradient to fit the shape of the stroke.
    SDK-21274 - Line with gradient stroke does not draw properly
    This bug occurs when the Line has a non-zero x and/or y values and is sharing a DisplayObject. StrokedElement was passing the stroke the measuredX and measuredY position as part of the bounds. Instead, I've changed it to pass in drawX + measuredX and drawY + measuredY which accounts for the drawing offset position.
    QE Notes: Test Line w/ gradient strokes
    Doc Notes: None
    Bugs: SDK-21272, SDK-21274
    Reviewer: Evtim
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21272
        http://bugs.adobe.com/jira/browse/SDK-21274
        http://bugs.adobe.com/jira/browse/SDK-21272
        http://bugs.adobe.com/jira/browse/SDK-21274
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedEleme nt.as

    This bug figures out also when creating a custom spark ComboBox, then trying to programatically update the userProposedSelectedIndex property. The proposed selected index is selected, but does not apply the same skin as when mouse is on rollover or item is selected due to up and down keys.
    The issue seems like updating the status of the item renderer to rollover or selected to get the same skin applied.
    Please could you attach DropDow nList.as that you edited ?
    Thank you so much.

  • Field description in two line in ALV report

    Hi ,
    In ALV report I  want the description for each field to be displayed in two lines . For example
    the description for field matnr is " Material No for grade A " which is displayed in one line . But i want to display it as :  Material No
                                                           for grade A
    in two lines . Is it possible . Please help me out .
    Neetesh

    Hi Neetesh,
      Its not possible to display as you like in 2 lines header for single column. But i can provide the alternative way , it won't good logically. Please try the following logic.
    Let suppose you have 10 fields F1-f10. Each field has the 2 lines header. So take 20fields in your fields catalog ie take 10 dummy fields which are equal lenght of the fields F1-f10. and for the last 10 fields(F11-F20) set the row pos as 2, set the second line header to these field(F11-F20). So you will succed to display the 2 level header for single column. But the problem here is you will get one empty row additional row for each row. Because you have taken (F11-F20) fields are dummy and don't have the data also. This solution will works only in the case of ALV List display not in Grid Display.
      But Before that tell to your customer about this problem , Because I have done the same things when my customer giving important to 2 lines header and he accepeted that also.
    If suppose you have the data in 2 lines for each column then this solution will work fine. Thats what i implemented in my ALV Report.
    Warm Regards,
    Vijay.

  • SAP Script : to display the material description in two lines

    Hi All,
    I'm working on scripts.
    the material description field is been passed from my driver program ..into the script..
    Ex: &gs_final-maktx& ..
    There r a number of other fields to be displayed ...after this field ....
    Is there any option to split the 'Material description into two lines'?
    Ex: at present it is :
    This is material description
    Requirement is:
    This is material
    description
    I mean that there a number of field berfore and after this field......in the same line
    I need to jst split the materia description ...& make it to appear in two lines.....!!
    Expecting your suggestions....
    Edited by: vidya vidya on Nov 11, 2008 3:17 PM
    Edited by: vidya vidya on Nov 11, 2008 3:20 PM

    FM TEXT_SPLIT ?
    ..but i handled this by code.
    DATA:      zzboldsx(18) TYPE c,
          zzboldsx2(18) TYPE c,
          zzboldsx3(18) TYPE c,
          zzboldsx4(18) TYPE c.
    DATA: i_lines TYPE STANDARD TABLE OF tline WITH HEADER LINE ,
            r_lines TYPE tline,
            v_cnt LIKE sy-tabix.
    CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                  = sy-mandt
          id                      = stxh-tdid
          language                = stxh-tdspras
          name                    = name
          object                  = stxh-tdobject
        TABLES
          lines                   = i_lines[]
        EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
      IF sy-subrc = 0.
    * Only 4 lines of Header text supported. Can add if needed
        LOOP AT i_lines INTO r_lines.
          CONDENSE r_lines-tdline NO-GAPS.
          v_cnt = v_cnt + 1.
          CASE v_cnt.
            WHEN 1.
              zzboldsx = r_lines-tdline.
            WHEN 2.
              zzboldsx2 = r_lines-tdline.
            WHEN 3.
              zzboldsx3 = r_lines-tdline.
            WHEN 4.
              zzboldsx4 = r_lines-tdline.
            WHEN OTHERS.
              EXIT.
          ENDCASE.
    *   zzbolDSX =  i_lines-tdline .
        ENDLOOP.

  • How to display field Discount, Disc.Base, inv.ref.. when Use TCode FB60

    Hi All,
    pls help me show field Discount, Disc.Base, inv.ref .. on Screen Vendor Invoice (FB60). Now we can't see this Field.
    let me know, what do we do?
    Thanks

    Hi
    you would have assigned recon account in the vendor master. go to that recon in FS00 and see the field status group in CREATE BANK/INTEREST TAB. check that field status group. There those fields would have been suppressed. Make it optional. It will surely come.
    Award points if it is useful
    Thanks & Regards,
    A.Anandarajan.

  • Line weight changes when using Align to Pixel grid

    When I select Align to Pixel Grid in the Transform Panel, I see line weight changes occur. I try to change the line weight in the either the Stroke or Appearance panel and it will not change, no layers locked, any ideas how to change the line weight?

    Chouettecacahuete wrote:
    ... I noticed that the line increases from 0.5pt to 1pt mainly (although not always) on straight lines, anything with a bezier curve seems to remain as 0.5pt.
    Just try this, with snap to pixel grid on, create 10 pixel long straight horizontal 1pt line with the pen or line tool. You won't be able to change the stroke weight to other than whole numbers. But if you rotate the line with only 0.01 degrees by typing this for rotation in the Transform panel, then you can change the stroke weight to 1.25 for example. When creating artworks for for screen display always verify the result with View > Pixel Preview turned on.
    tonyharmer wrote:
    ...I only referred to Photoshop to illustrate the behaviour - vector tools aside, everything you do in Photoshop has to be whole pixels
    As I said, Photoshop doesn't have  snap to pixel grid feature like Illustrator. You can easily create fuzzy lines in Photoshop if you are not drawing them precisely in the middle of the pixels. To check what I'm talking about try this In Photoshop, create a new document with a very small pixel dimensions like 20 x 20 pixels and zoom to the maximum 3200% to see clearly the result. Fill the image with light gray color so you can see the pixels when View > Show Pixel grid is on. Then with black color try drawing a straight line with any tool that creates pixels like a hard brush or the line tool used in pixel mode, and try using constraints like holding Shift while dragging. You will see that unless you draw the lines exactly in the middle of the pixels it will be fuzzy and not clean. The only way to ensure not fuzzy lines in Photoshop is to turn  off the anti-aliasing. You do this by unchecking the anti-alias for tools that have this option and instead of burshes use the pencil tool (which is brush without anti-aliasing). And Illustrator works the same too if you turn off Anti-aliased Artwork in its general section of the preferences and view the result with View > Pixel Preview, you don't need to have the Align to Pixel Grid on, the aliased result will be the same like in Photoshop.

  • More than 1 line of text when using text generator from file?

    hi
    have 8 line blocks of text to show onscreen.
    would like to use text generatorn>from file
    all they seem to print is one line.
    is there a work around?
    have trhied soft returns and paragraphs on saved text file.
    no change.
    anyonre know how to get 2 or more lines of text?
    thanks in addvance!

    Select the File generator layer and in the Inspector, select the Layout pane and in Layout controls, set the Layout Method to Paragraph.  Narrow your margins and the text will "flow" into multiple lines.
    You can also keyframe the paragraph layout position. [Probably more info than you want here.]
    That said, you can only display *one line* at a time per File Generator. (If you're up to date with Motion [v5.1.2], you can use more than one File generator.) The generator does not accept any other characters for returns other than newline and carriage return.
    I've never tried it, but thinking about it, you can set Tab stops in the Paragraph layout (double click in the layout rectangle and a ruler should appear over the top -- right click on the ruler to set tabs). If you go back into the original text file and where you need to break lines into two or more, setting a left tab stop in the layout very near the end of a line might force the tabbed text into the next line (did I make that clear enough??)

  • How can I create a line width 0 when using a line style other than solid?

    Every time I select a line style other than solid,
    the line width gets reset to 0. This makes for a
    VERY faint line on the printed output.

    If this question is for the HiQ box, this is not a product that is supported by general technical support Applications Engineers any longer. The help for HiQ is exclusively online, and can be found at http://www.ni.com/support/hiqsupp.htm
    Of course, this question can still be answered by other HiQ users that visit this forum. Please post back if you have any questions. Thanks, and have a great day.
    Daniel McChane
    Application Engineer
    National Instruments

  • Officejet 6500 Wireless Puts lines on page when using document feeder

    Hi,
    Only using the document feeder for either print or scan there are vertical lines down page sometimes in the middle and sometimes at the end and some horizontal lines as well.
    Scanning or printing direct from the glass - doesn't happen.
    I have to be able to feed more than one page for a fax or scan so its on one document.
    Does anyone know why this is happening when I use document feeder?
    any assistance greatly appreciated

    Hi,
    Plesae click the link for the solution..
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01728503&cc=au&dlc=en&lc=en&product=4083977&tmp...
    Let me know whaty happened...thanks... =)
    Although I am working on behalf of HP, I am speaking for myself and not for HP.
    Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
    Happy Troubleshooting : )

  • Line Graph Problem when used with Series

    I am facing a problem with Line Graph in Oracle Reports 10g.
    I have made a graph having series of three curves.
    The graph is perfect when all series have similar X-Axis values. See the link
    http://www.sysautomation.com/ask/RPT_LINE_GRAPH_OK.PDF
    But same graph does not print curves properly, gives spaces in the curves, when all the series do not have similar values on X-Axis
    http://www.sysautomation.com/ask/RPT_LINE_GRAPH_NOT_OK.PDF
    Pl. guide me what to do to make this graph working.

    Thanks for reply.
    In my case, I have to plot curves.
    and some Series have different X-axis values.
    I have no choice, but to plot them.
    The same thing was working fine with Reports 6i + Graphics 6i.
    What is Scatter Plot?
    Thanks again.
    This is a limitation in the current line graph in
    Reports 10g (9.0.4). I can't recall whether this has
    improved in 10.1.2 or it was planned for the next
    rev.
    Would trying a scatter plot be better?
    Line graphs are normally meant for regular intervals
    on x-axis, so using the example of dates, Jan, Feb
    and Dec would be placed right next to each other,
    rather than scaled with the right distance between
    Feb and Dec.

  • Line size changes when using Rotate??

    Hello:                                                                           Level: Newbie OS: Windows 7 64bit
    So, I have been using the Line tool and then Grouping two Lines and then using the Object > Transform > Rotate
    The lines I draw are 0px wide and 22px high but when I Rotate them around the circle the Line sizes change ... ??
    Say the two lines are Grouped and the first set is 276px the next set becomes say 276.346 and then 275.582 and 198.682 and so on ...
    I have gone into the Tranform pallette to see if there is something I should be checking but it doesn't seem as though I am missing anything to the best of my (limited) knowledge.
    I have also tried the manual and looked for something like: "why line size would change on rotate" and I've looked under Transform and Rotate but I haven't had any luck.
    As always ... Thank you so much for your time

    OMG! LMAO!! I am literally laughing my _ _ _ off!!
    Sooo Sorry, did i forget to mention that I am dyslexic?? wasn't trying to be cunning ... lol
    Also, and ... Pleeeeease Forgive Me for this ... I didn't take into account that you would actually check the 276.346 ... etc. in my first post ... thought I had mentioned those were just "examples" ... seems It didn't make it from my head to the keyboard to the post
    I just pulled those number outta that thing I'm laughing off ... and now between the tears of laughter I am feeling Super Bad for not considering that those numbers would matter all that much ... I swear ... I'm not usually this numb!
    So, I spoke to someone at Adobe today and it seems as though I am not Aligning things correctly.
    I'm just getting back home again and I'm going to give the tut a go again.
    I'm using CS6 .... have I also mentioned this is my first Illustrator attempt?
    Below is the compass I made in two days ... it's missing the last two steps. I'm also stuck on that dang "Glossy" thing but hey, that's an other post for me to lead you all astray on
    My head has been a bit in the clouds this past week ... so,  I am sorry for that and certainly do Very Much Appreciate Your Amazing Vigilance w/All My Heart!!
    I just cannot give up. I'm not a quitter. I believe I ought to brush up on my (p. poor) math skills as well as sitting down to read the manual front and back before an other tut attempt.
    Thank you again for Everything!! I'll be back to let you know how it goes.
    The inner circles and increments don't look right to me

  • Multiple lines for field description in ALV

    Hi ,
    Is there any way to display the field description in  multiple lines in ALV grid .
    Regards,
    Pradipta

    Hi pradipta,
    1. No its not possible.
    2. At the most, we can set the WIDTH of the
       column, to ACCOMODATE the field description.
    3. We cannot do WRAP as u require.
    regards,
    amit m.

  • Field Descriptions without TOP OF PAGE

    Hi Experts,
    I have one Z report  and this was written somebody long back.
    This report was normal standard report i.e just writing the table values to screen using WRITE statement.
    Eventhogh there is no TOP OF PAGE event in the report, field names were displaying in the screen output with highlighted color.
    As soon as WITE statement calling, program is displaying fieldnames automatically? how it possible?
    Now, I modified my program by adding another field values to the screen output.
    The field which I added it's not showing field name.
    How can I display my field description to that output. (without adding TOP OF PAGE)
    As I told you report doesn't have TOP OF PAGE event. Please help me.
    Thanks
    Raghu

    Raghu,
    I'm guessing that your report is organized in a tabular form and by field description you mean column headings. There are two ways to display column headings 1) by explicitely writing the WRITE statements to output to the column headings, 2) by maintaining the standard list & column headings. (in ABAP editor follow menu path GOTO>Text Elements>List Headings.
    You can disable the display of standard headings by using addition in NO STANDARD PAGE HEADING as below.
    REPORT  YTEST NO STANDARD PAGE HEADING
                  LINE-SIZE 120
                  LINE-COUNT 65
                  MESSAGE ZMSG.
    Regards,
    Gajendra

  • How to display the field "Country" in the Address Book UI ?

    How to display the field "Country" in the Address Book UI ?

    Using an add-on, MoreFunctionsForAddressBook gives you that opportunity.

Maybe you are looking for