Grid using - GL_GUI_ALV_GRID inserting blank line

Hi experts ...
I am creating report using grid instance of class GL_GUI_ALV_GRID  ...
its displaying results output table say itab[] ... I want to insert one blank line in display ...
if i append work area of type itab to itab ... in that case the column which showing amount displays 0.0
instead i want complete blank row ...
Thanks & Regards  ...
  Ashish

Hi,
check this link;[Blank Row in ALV Grid Display;
hope u'll get some idea.
Regards,
Sneha.

Similar Messages

  • How to insert blank lines in the ALV output.

    Hi Friends,
    Could any body help me out How to insert blank lines in the ALV output.?? Any Code pls...
    Thank you,
    Vikram.C

    hi vikram
    do like this
    In the fieldcatalog table all the fields should be in editable mode
    ie lw_fcat-edit = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    i_callback_pf_status_set = 'SET_PF_STATUS'
    i_callback_user_command = 'USER_COMMAND'
    is_layout = lv_layout
    it_fieldcat = lt_fcat[]
    i_save = 'A'
    is_variant = lv_variant
    TABLES
    t_outtab = lt_license[]
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " display_data
    *& Form user_command
    FORM user_command USING r_ucomm TYPE sy-ucomm
    rs_selfield TYPE slis_selfield.
    CASE r_ucomm.
    WHEN 'ADD'. "
    data: lv_ind type i.
    data: lv_line type i.
    describe table lt_license lines lv_line.
    loop at lt_license into lw_license.
    lv_ind = sy-tabix.
    if lv_ind = lv_line.
    append initial line to lt_license.
    endif.
    endloop.
    ENDCASE.
    ENDFORM. "user_command
    reward points if useful
    Rohan

  • Sharepoint Designer 2010 inserting blank lines

    Sharepoint Designer (SP1) is intermittently inserting hundreds of thousands of rows as I am working with an .aspx document. This bug, which was first present in 2007, has been reported by many people over the years; it seems to remain in 2010.
    Does anyone have a solution for this issue? Is there something in my page, which contains a bunch of xsltlistviews, that could be blowing up this file?
    Thanks.

    All -- 
    FYI, here is a decent workaround to the problem of SPD 2013 (SharePoint Designer 2013) inserting blank lines into pages.
    Here are the steps.
    - Get CodeMaid (free) or similar coding-tool plugin/extension for Visual Studio 2013 (VS 2013) that can remove blank lines.
    - Check out the file in SPD.
    - From SPD, right click the file and choose open with, then choose VS.
    - Run CodeMaid clean processing in VS, which will remove multiple consecutive blank lines.
    - Save file in VS.
    - Close file in VS.
    - Check in file with SPD.
    - Done.
    It may seem like a lot of steps, and it is, and it odd the MS does not simply use the same code editor base for both VS and SPD, but using this workaround is actually pretty quick and easy, and easier still if you use the VS editor to code the files (instead
    of the SPD editor) because the VS has way better code-folding and code-completion and code-digging anyway.
    Just thought I would mention a (fairly) quick and easy way to workaround this SPD shortcoming.
    HTH.
    Thanks.
    -- Mark Kamoski

  • Report Painter insert blank line after report header

    Hi Expert,
    I have a problem to insert a blank line (a spacing) after the report header of my customized report painter.
    For example, in standard cost center report, S_ALR_87013611, there is a small box listed information like cost center/group ... and reporting period.
    Right after reporting period, the report header box ends, and there is a space line between it and the cost element data ...
    For my customized report painter, I cannot make this space line.
    I tried edit > row > insert blank line ... but not successful ... kindly advise.
    Thanks and regards,
    -CK

    Hi
    In KKO2 go to output tab, here under layout, tick header and then press pencil symbol and in the editor you write your header. I think this will give you desired result.
    Regards
    Rajneesh Saxena

  • Inserting Blank Line after subtotal in ALV

    Hi,
    I am using REUSE_ALV_GRID_DISPLAY for my report output and I am displaying the following fields :
    Company Code Comp Name  Bank Name Amount Data
    I am sorting my output based on the company code and displaying the subtotal for each company code.
    My requirement is that I need to insert a Blank line after every subtotaled value in the report output. like after the subtotaled value of company code say XXX a blank line should be inserted and then I should start displaying data for company code YYY.
    Please let me know if this is possible and if yes how to do that.
    In case I am not clear with my question please let me know.
    Regards,
    Lalit Kabra

    Hi,
    Following is my code ::
      wa_sort-fieldname = 'BUKRS'.
      wa_sort-tabname = 'WT_OUTPUT'.
      wa_sort-spos = '1'.
      wa_sort-up = 'X'.
      wa_sort-subtot = 'X'.
      wa_sort-group = 'UL'.
      APPEND wa_sort TO it_sort.
      CLEAR wa_sort.
      wa_sort-fieldname = 'WRBTR'.
      wa_sort-tabname = 'WT_OUTPUT'.
      wa_sort-spos = '4'.
      wa_sort-up = 'X'.
      wa_sort-group = 'UL'.
      APPEND wa_sort TO it_sort.
      CLEAR wa_sort.
    I have put the wa_sort-Group = 'UL' but could not get the desired results.
    What my need is that say for one company code there are five line items, and I need to sort the output by company code then after displaying the 5 line items, I need to display the subtotal of amount for that company code , then a blank line and then the data for the next company code should start.
    Please suggest how this can be achieved.
    regards,
    Lalit

  • Inserting blank line

    Hi All,
    How can I insert a blank line at output, for example my output is:
    3 rows extracted.
    8 row extracted.
    but the result should be has below,
    3 rows extracted.
    8 row extracted.
    Thanking u,
    mahe

    The easiest solution is to use the "format wrapped" option of the SQL*Plus command "set serveroutput".
    Example:
    SQL> set serveroutput on size 10000 format wrapped
    SQL> begin
      2     dbms_output.put_line ('line 1') ;
      3     dbms_output.put_line (' ') ;
      4     dbms_output.put_line ('line 2') ;
      5  end ;
      6  /
    line 1
    line 2
    Procédure PL/SQL terminée avec succès.
    SP2-0158: option SET inconnue "format"
    SQL> set serveroutput on size 10000 format word_wrapped
    SQL> begin
      2     dbms_output.put_line ('line 1') ;
      3     dbms_output.put_line ('') ;
      4     dbms_output.put_line ('line 2') ;
      5  end ;
      6  /
    line 1
    line 2

  • Inserting blank lines in script output of a single variable

    Dear All,
    I have a requirement where i am printing amounnt in words. It is stored in a variable ITAB-RBETR.
    I want to insert a blank line when the amount field exceeds the line limit and start printing in second line.
    Normally we use '/' command to insert line in between 2 variables in script output. but here it is
    a single variable(ITAB-RBETR).
    Currrently the output is like this -
    Eighty nine crore eighty four lakh twenty
    three thousand seven hundred fifty only
    My requirement is -
    Eighty nine crore eighty four lakh twenty
    (Blank line)
    three thousand seven hundred fifty only

    Hi,
    May be you can use the offset value for displaying the text in the variable ITAB-REBTR.
    Let's say the total allowed length is 50 chars, then use ITAB-REBTR0(50) in the first line and blank line and then ITAB-REBTR51 in the third line.
    I hope this is what you required.
    Regards,
    Santhosh.

  • Inserting blank line in internal table

    Hi
    I am inserting a report  from a internal table for eg the content of my internal table is
    data : abc
    event initialization.
    perform read_data.
    Now I want  1 blank line after every line in the internal table for eg
    data:abc
    event initialization
    perform read_data.
    How to insert a blank line in an internal table?
    Edited by: priya singh on Feb 4, 2009 9:37 AM

    hi,
    DATA: BEGIN OF i_pernr OCCURS 1 ,
    pernr TYPE pa0002-pernr,
    vorna TYPE pa0002-vorna,
    nachn TYPE pa0002-nachn,
    END OF i_pernr.
    TYPES : BEGIN OF string1  ,
         a TYPE char100,
        END OF string1.
    DATA : wa_string TYPE string1,
           it_stirng TYPE TABLE OF string1.
    START-OF-SELECTION.
      SELECT pernr vorna nachn FROM pa0002 INTO TABLE i_pernr UP TO 20 ROWS.
      LOOP AT i_pernr.
        CONCATENATE i_pernr-pernr i_pernr-vorna i_pernr-nachn INTO wa_string-a SEPARATED BY '|'.
        APPEND wa_string TO it_stirng.
        APPEND INITIAL LINE TO it_stirng.
      ENDLOOP.
      BREAK-POINT.
    Thanks

  • How do you force source formatting to leave blank lines in CS6?

    I inherited some code with paragraph breaks between some lines so that there's a blank line between two lines of code.  When I Apply Source Formatting, the original blank lines remains, but when I insert a blank line & then Apply Source Formatting, the blank lines I inserted disappear.
    I showed the hidden characters and found that on the lines that remain blank, there are 4 spaces & a paragraph marker.  When insert the same thing, source formatting still removes my blank lines, but keeps the ones that someone else inserted (while not using DW) by adding 4 spaces & a paragraph marker.
    Is this behavior due to opening a file that was created outside of DW?  Is there anyway to get source formatting to leave my inserted blank lines alone?
    Thanks!

    That worked: I want to be able to preserve blank lines when I apply source formatting, not get rid of them.  I copied the lines that didn't disappear & they were also preserved wherever I copied them in my doc. 
    It would be nice to know what that hidden character is that prevents the blank line from being removed, but I guess I can't tell with DW. 

  • EvDRE Question -- Inserting Blank Rows

    Hi all,
    Here's a good question that we've run into a couple of different times with EvDRE:  Say you are specifying a Memberset to expand on that will consist of a comma-delimited list like:
    bas(Accounts_Receivable), Accounts_Receivable,
    bas(Accounts_Payable), Accounts_Payable,
    bas(Notes_Receivable), Notes,Receivable,
    bas(Fixed_Assets), Fixed_Assets   ...etc.
    This would expand each of the four account groups, and follow each of them with their respective parent.
    Question:  What's the best way to insert a blank row after each parent/subtotal?
    It turns out that if you use the SUPPRESS=Y for that Expansion, that the Blanks get suppressed (since the suppression is .  Also, I'm not sure if there is a good Before/After Range option... But, how about maybe using INSERT ?
    Thanks,
    Garrett

    Garrett,
    You can insert blank lines by adding extra commas with nothing in between.
    So in your example this would mean:
    bas(Accounts_Receivable), Accounts_Receivable,,bas(Accounts_Payable), Accounts_Payable,,bas(Notes_Receivable), Notes,Receivable,bas(Fixed_Assets), Fixed_Assets
    Suppression will also suppress the blank lines, so you cannot use that function in this solution.
    The option 'insert' will give you the possibilitie to manually insert new lines which you have to select with your right mouse button as an enduser, so I think this is useless this situation.
    Hope this helps,
    Alwin

  • CS3 - Auto Format doesn't compact blank lines?

    In Flash 8 on OS X, using Auto Format used to remove blank
    lines. I can't seem to find a way to enable this in CS3. Is it
    possible?

    Additional three thoughts: First, is there anything I can do while still in MS Word to enable Acrobat to see the check boxes easier? Different font? Same font, but different "character"? Etc. Second, if there is no way the check boxes can be recognized and converted, is there a way to do an after-the-fact search-and-replace, searching for the check boxes and replacing them with clickable boxes. By the way, I don't need to capture data; I just need for people to be able to fill out the form on their computer and print it. Third, if Acrobat can't do this, is there third-party form software that recognizes check boxes?

  • I am trying to display three lines of text but blank lines are being inserted between them.

    I have a section on the right side of my homepage for upcoming events.  It was displaying fine until I changed the data and now the three lines are displaying blank lines between each one. 
    Here is the code.
    <h2 class="meeting"> </h2>
          <h2 class="meeting"><a href="http://www.astm.org/MEETINGS/filtrexx40.cgi?+-P+TERM+D02+searchresults.frm">ASTM D02 2014</a></h2>
       <img class="news-image" src="images/news/Sheraton San Diego.jpg" width="100" height="61" /> 
       <p class="news-text">December 7-11, 2014</p>
          <p>Sheraton San Diego Hotel and Marina</p>
          <p>San Diego, CA</p>
      </div>
    ASTM D02 2014
    December 7-11, 2014
    Sheraton San Diego Hotel and Marina
    San Diego, CA
    The picture is displaying to the right but I want to get rid of the blank lines between the text. I am using Dreamweaver CS5 Version 11.0 Please help.

    Sorry I inserted the wrong code. 
    <div id="rightsideUpcomingevents">
       <h2 class="upcoming">Upcoming Events</h2>
          <h2 class="meeting"><a href="http://www.gulfcoastconference.com">Gulf Coast Conference</a></h2>
       <img class="news-image" src="images/news/hotel_moody.jpg" width="100" height="61" /> 
       <p class="news-text">October 14-15, 2014</p>
          <p class="news-text">Moody Gardens Convention Center</p>
          <p class="news-text">Galveston, TX</p>
          <h2 class="meeting"> </h2>
          <h2 class="meeting"><a href="http://www.astm.org/MEETINGS/filtrexx40.cgi?+-P+TERM+D02+searchresults.frm">ASTM D02 2014</a></h2>
       <img class="news-image" src="images/news/Sheraton San Diego.jpg" width="100" height="61" /> 
       <p class="news-text">December 7-11, 2014</p>
          <p class="news-text">Sheraton San Diego Hotel and Marina</p>
          <p class="news-text">San Diego, CA</p>
      </div>
    .rightside-text
    {padding:0px; color:#172B61;}
    .news-image {float:right; margin-right:10px; }
    .news-text { padding:0px; color:#000;}

  • Unwanted blank lines inserted into the page bean

    For some reason after using the visual editor and then switching to the java view, I notice that there are extra blank lines inserted between lines in the file. The extra lines can accumulate making the file very large and unusable. This has only started happening after installing the latest hot fix. Is there a fix for this?
    Thanks,

    Hi mitsu,
    We did send out some updates via UpdateCenter just two days back. One of the fixes in there would fix the extra empty lines issue.
    Please get this update downloaded and installed on your Creator Installation.
    It should fix your issue.
    Could you please confirm if this fixes your issue?
    Regards,
    Sakthi

  • Blank lines inserted at the end of the flat file generated

    Hi,
    my scenario is idoc to flat file. for each item node in the idoc, one flat file has to be generated. i have used FCC with variable substitution method.
    structure is something like this
    <TOItem>
      <field1>
      <field2>
    </TOItem>
    <FieldNode>
    < Filename>
    the filename value is used to generate the file name  in variable substitution. this field should not appear in the output file. so we have used
    Filenode.fieldFixedLengths = 0 and FileNode.fixedLengthTooShortHandling=Cut
    with this 2 blank lines are being inserted in the output file.
    these lines should not appear in the output file. can anyone guide me how to achive.
    Best Regards
    Deepika

    Do not add this as a separate node. Keep it inside the field strucuture at the end and mentione the length of the field 0. Your problem will be solved.
    VJ

  • Extra blank line inserted after page break

    Hello,
    I am currently having trouble with alignment using templates in BI Publisher.
    I am trying to create a template that will be printed on a pre-printed form.
    Each group in the report should be separated by page so the group has a <?split-by-page-break:?> right before <?end-for-each?>.
    However, when the next page begins, there is a blank line inserted. This messes up the alignment altogether.
    Code is like this:
    <?for-each-group:G_Document;./DOCUMENT?><?sort:current-group()/DOCUMENT;'ascending';data-type='text'?><?for-each:current-group()?>
    ----INSERT Table TEMPLATE HERE---
    <?split-by-page-break:?><?end-for-each?>
    Output turns out like this:
    (Page1)<TABLE TEMPLATE>
    <Page Break>
    (Page 2)<New Line>
    <TABLE TEMPLATE>
    <Page Break>
    (Page 3)<New Line>
    <TABLE TEMPLATE>
    <Page Break>
    I have found this old thread Split-By-Page-Break inserting extra line that has the exact same problem, however, I have tried all suggested solutions even the last one, and I still am encountering the problem.
    Any help would be greatly appreciated.
    Regards,
    Jovee

    Thanks Varma, for the solution you provided.
    The code for page break was inserted right after the for-each tag, and looks like this:
    <?for-each:current-group()?><xsl:attribute name="break-before">page</attribute>
    Template now works without the extra blank line.

Maybe you are looking for

  • Problems with my new 27" i5 1tb imac (10.8.1)

    I bought this imac in July 2012, it has following problems so far: noisy fans (but fan speeds are not high, OD 1148rpm, HD 1143 rpm, CPU 939 rpm) comparing to my old mac mini that is quiet; occasional strange noise like from empty stomach; occasional

  • How Do You Change the Look & Feel of a JFileChooser Dialog?

    I set the L&F of my JFrame to the Metal L&F. I thought it would automatically change the L&F of the JFileChoosers I included in my program but my JFileChoosers still have the Windows L&F. How could I change the L&F of my JFileChoosers to correspond t

  • Preserve "exactly" line spacing in epub output.

    In my Pages document, there are many inline equations (from Mathtype). I like having the line spacing set to "exactly" so the line spacing remains constant, even between lines with equations that 'overlap' the lines around it. Is there a way to prese

  • Photos turn fuzzy and won't stay Sharpened

    I'm having trouble with my images. They look great in iPhoto, even after I "save for web" in Photoshop. The problem is after I import them into iWeb, they look "fuzzy". I sharpen them with the sharpening slider (in the Adjustment window), and they lo

  • Windows 7 RC 64bit - Working like a champ

    Been testing Windows 7 beta since it came out and spend the last few days testing the RC of the 64 bit version. I compared it to a Vista 64 install on the same machine  Asus P5q q9550@ 3.7 and 8 gigs ram. It's about 5-10 percent faster based on my te