‎2006 Sep 12 7:56 AM
Hi,
I have one requirement in ALV for displaying the Header and Item detials.For displaying the Item details I have used REUSE_ALV_GRID_DISPLAY.For header I have written normal write statements in top of pgae. Because REUSE_ALV_COMMENTARY_WRITE is not useful for me.How to display the our own Report Header in ALV grid?
Regards,
Anu.
‎2006 Sep 12 7:58 AM
Hi
I believe you can't do it using REUSE_ALV_GRID_DISPLAY, try REUSE_ALV_LIST_DISPLAY
Max
‎2006 Sep 12 9:24 AM
Hi,
Displaying the header details i top of page using write statement will not work with ALV.
Either use REUSE_ALV_COMMENTARY_WRITE .
or if you have to just disply header of the grid then use REUSE_ALV_GRID_DISPLAY with its exporting parameter I_GRID_TITLE.
regards,
Sonika
‎2006 Sep 12 9:32 AM
‎2006 Sep 12 9:39 AM
Hi,
I am not very sure if you want header data in the table or that you need to display the header details in the same manner as TOP-OF-PAGE but if latter is the case then you can try checking
Report :BCALV_TEST_FULLSCREEN
Here REUSE_ALV_GRID_DISPLAY has a import param
<b>i_callback_html_top_of_page</b>
You can try this .
Regards
Nishant
‎2006 Sep 12 11:08 AM
I have used REUSE_ALV_LIST_DISPLAY.When I press Execute button it is showing Header and Item detials and when I press BACK button from that page it is displaying only header detials.why again it is ahowing Header detials only.Actually it will show selection screen.right?what could be the reason?
Regards,
Anu.
‎2006 Sep 12 11:13 AM
‎2006 Sep 12 11:14 AM
Hi
Where do you have written header data?
You should use the event TOP_OF_PAGE
Max
‎2006 Sep 12 11:15 AM
Hi
Where do you have written header data?
You should use the event TOP_OF_PAGE
Max
‎2006 Sep 12 11:23 AM
‎2006 Sep 12 11:45 AM
how can we display for every sales order, the sales Order items dipslay in new page using this FM 'REUSE_ALV_LIST_DISPLAY'?
‎2006 Sep 12 12:02 PM
Hi Anu Raadha,
For that you have to fill the sort table for VBELN, POSNR
sort-fieldname = 'VBELN'.
...
sort-up = 'X'.
sort-group = '*'. "for new page
append sort to it_sort.
sort-fieldname = 'POSNR'.
...
sort-up = 'X'.
sort-group = '*'. "for new page
append sort to it_sort.
and pass it to alv FM sort parameter.
Regards
vijay
‎2006 Sep 12 11:22 AM
Hi,
i think it is because you have not cleared the workarea or internal table of headerlist.
free the headerlist table after calling the topof page.
Regards,
Sonika