Skip to Content
author's profile photo Former Member
Former Member

Blank Row in ALV Grid Display

In ALV Display I want to have a <u>BLANK row</u> everytime the value of 'Cross Company Code Document Number' (BVORG) changes.

Is there a way to use the Sort Option of "REUSE_ALV_GRID_DISPLAY" to do this? Or is the only possible way is by modifying the ITAB that is being passed for display?

If ITAB is the only method to do it then how should I go about making this happen?

Thanks-

Rohit.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Aug 30, 2007 at 05:54 PM

    Hi,

    I think for your requirement you need to use REUSE_ALV_HIERSEQ_LIST_DISPLAY

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 30, 2007 at 05:02 PM

    Hi

    For every new value of BVORG field insert/append a blank row into the internal table

    and then develop the i_SORT internal table with the field BVORG and see the output

    since the data is sorted the first line will be blank for every new value of BVORG field.

    Regards

    Anji

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      if you do again sort then blank rows will come top,so make sure that should not do sort after inserting blank rows.

      please sort it before inserting blank row .

      sort itab by fields..

      loop at itab.

      endloop.

      do not sort here.

      Thanks

      Seshu

  • author's profile photo Former Member
    Former Member
    Posted on Aug 30, 2007 at 05:01 PM

    you can append blank row using logic and not in ALV ..

    Just keep the logic within loop,just use append statement.

    Thanks

    Seshu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.