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

related to ALV GRID

hi,

how to display both header and item details using REUSE_ALV_GRID_DISPLAY, here header contains different ship to party addresses for each purchase order number.

thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 02:22 PM

    simplest way is to merge both header n detail table into 1 final internal table having columns of both tables..

    Pass dis table to REUSE_ALV_GRID_DISPLAY function..

    Hope dis helps..

    Reward all helpful answers

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 05:24 AM

    data: ldt_table type sdydo_html_table,

    lds_table type sdydo_html_line.

    • This function for displaying the Heading in the screen...

    call funciton ''REUSE_ALV_GRID_DISPLAY'

    EXPORTING

    ...

    I_CALLBACK_HTML_TOP_OF_PAGE = 'ALV_EVENT_HTML_TOP_OF_PAGE'

    I_CALLBACK_TOP_OF_PAGE = 'ALV_EVENT_TOP_OF_PAGE'

    ....

    FORM ALV_EVENT_HTML_TOP_OF_PAGE.

    concatenate '<tabl border=0><TR>><TD width=1770>'

    'Date:' sy-datum

    </TD></TR></Table>'

    into lds_table.

    append lds_table to ldt_table.

    call method prc_dydo->add_static_html

    exporting

    table_with_html = ldt_table.

    endform.

    ENDFORM.

    • This function it is used for the display the Reprt.....

    Form ALV_EVENT_TOP_OF_PAGE.

    write statement.

    endform.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 01:50 PM

    Use REUSE_ALV_HIERSEQ_LIST_DISPLAY

    Albert

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 01:59 PM

    hi

    You can not display both header and item level data using resue_alv_grid_disp.

    You need to use REUSE_ALV_HIERSEQ_LIST_DISPLAY

    or go for tree control (sample prg: BCALV_GRID_DND_TREE)

    Pavan

    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.