2007 Feb 23 3:06 PM
Hi Gurus,
I want to print heading for alv report as
xxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx
xxxxxx Dt:xxxxxxx to xxxxxx xxxxxxxxxx.
Thanks for spending time.
Hi Gurus,
I want to print heading for alv report as
xxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx
xxxxxx Dt:xxxxxxx to xxxxxx xxxxxxxxxx.
Thanks for spending time.
2007 Feb 23 3:10 PM
Hi!
FORM top_of_page.
The main header:
CLEAR gs_line.
gs_line-typ = 'H'.
gs_line-info = sy-title.
APPEND gs_line TO gt_top_of_page.
For the datum from x to y, you might use the following:
CLEAR lv_fejlec.
CONCATENATE p_text_da1 ' '
p_s_datum-low(4) '.' p_s_datum-low+4(2) '.' p_s_datum-low+6(2) '-'
p_s_datum-high(4) '.' p_s_datum-high+4(2) '.' p_s_datum-high+6(2)
INTO lv_fejlec.
CLEAR gs_line.
gs_line-typ = 'S'.
gs_line-info = lv_fejlec.
APPEND gs_line TO gt_top_of_page.
ENDFORM.
And oyu have to call the top_of_page form in your ALV.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_top_of_page = 'TOP_OF_PAGE'
Regards
Tamá
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |