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

REUSE_ALV_GRID_DISPLAY

Hi,

I'm using REUSE_ALV_GRID_DISPLAY. When i sort a column by code the displayed values in the sorted column are showed as blanks when values are repeated. How can i display the values in this blank cells?

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Sep 20, 2007 at 01:50 PM

    As I understand what u want is to have all the cells of the grid filled with data - even in case when the data are sorted.

    All u need to do is to either:

    1. create a display variant in which an option "Without cell merging during sorts" will be checked - at user interface it's at: "change layout -> Display".

    or from within ABAP code:

    2. use field "cell_merge" in layout structure (parameter IS_LAYOUT of fm REUSE_ALV_GRID_DISPLAY)

    good luck

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2007 at 12:10 PM

    hi,

    can u please paste the code so that i can explain to u.....

    thanks,

    maheedhar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2007 at 12:57 PM

    when u sort in ALV the common values are always blank man.

    this is the use of sorting.

    or do one thing.

    in sort function write like this.

    it_sort-up = ' '.

    it_sort-subtot = 'X'.

    ok

    reward points if useful...

    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.