Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

related to ALV GRID

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

Use REUSE_ALV_HIERSEQ_LIST_DISPLAY

Albert

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.