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

TAble TO ALV GRID

HI ,

pls see my requirement and give me good suggetion ,

one standard report is there it displays output in ALV GRID( using RE_USE FM's) ,

so now my requirement is i have to add one more table below to that GRID in that same screen,

so how can i display the table below to that GRID ,pls let me know if u have any confusion ,

THX

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 07:23 AM

    Hi,

    To display the two grids on the same screen, we can achieve this by using classes. Take two containers on the same screen and place them one after the above according to your requirement and create field catalogs to them and call the method CALL METHOD GCL_GRID->SET_TABLE_FOR_FIRST_DISPLAY for both the containers with your two output tables.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 07:34 AM

    hi,

    i dont think we can add a table to the grid display. so why dont u use block list.

    using Reuse_alv_block_list_init.

    Reuse_alv_block_list_append.// here u can add as many tables as u need.

    Reuse_alv_block_list_display.

    otherwise. if u want thru grid display only. then i think u have to create a structure which is same as ur final output . pass it to fieldcatalog and pass data to it. and pass tht table to grid display. hope this is useful to u.

    rgds.,

    subash

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 08:46 AM

    Hi,

    You can do one thing use class methord in which you have to just create one container below to the previous container where the grid is being displayed and pass the new field catalog and the table you want to display. This will make your work much easier and it will be more flexible.

    Your user command will also work appropritely

    Your problem will be solved.

    Reward some points.

    Regards,

    Anomitro Guha

    Edited by: Anomitro Guha on Jun 16, 2008 2:17 PM

    Edited by: Anomitro Guha on Jun 16, 2008 2:19 PM

    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.