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

Subrows in ALV display.

Dear ABAPers,
I just want to know if it is possible to display subrowws in ALV grid.
I have attached the requirement given to me. Is it possible to show this type of display in ALV Grid?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 01, 2012 at 03:45 AM

    Yes. it's partially possible. You can sort and group on employee number, employee name and current number. Also while preparing field catalog make sure that the NO_MERGING is set as space for these column. In the sort table, fill the fields SPOS, FIELDNAME, UP. For these columns.

    One thing which is not possible is to group the subcolumns into main column ( Like you grouped 3 columns under previous employer column. ) Rather you can provide maeaning ful names to the sub grouped columns and remove the main column.

    Other options willl be to us alv tree if you want ­čĄ¬

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 01, 2012 at 11:16 AM

    you can check the standard report : BCALV_TREE_06 you can take help form this standard report and create as par your requirement.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 01, 2012 at 04:11 PM

    Hi Swarnadeepta Padhi,

    as already said: SORT BY Emloyee_number name current. Create columms for previous company, start and end date.

    Then fill internal table with same values for Emloyee_number name and current employer.

    Result is almost as shown in your pic - but previous company, start and end date header ist not repeated.

    Regards

    Clemens

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 05, 2012 at 06:52 PM

    Dear ABAPers ,
    Thanks for the response.
    I had developed a report .I have designed the display screen in the attachment as how it was coming. please find it.
    I am displaying it in the ALV Grid.
    With ALV Tree and all i may display.. But i want to know if it is possible in ALV Grid Display or not.

    Regards,

    Swarnadeepta.


    requirement.JPG (33.8 kB)
    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.