04-27-2015 6:24 AM
Hi, I used the HTML_END_OF_LIST to print the signature (eg, checked by, verified by, approved by and etc) at footer,
It able to display in ALV screen
but not able display in Print Preview Screen
Is there any way to display in both screen ?
Regards,
Jesamine
04-27-2015 10:09 AM
Hi Lim ,
go through the sample report BCALV_TEST_FULLSCREEN_HTML
it will help you out
Regards
Yogendra Bhaskar
04-28-2015 3:34 AM
Hi Yogendra,
I went through the sample report and executed it. The result is same with mine, display in ALV screen but not display in print preview
1. Goto SE38 to run the sample report
2. The information will be shown in Footer
3. But when click 'Print Preview', the information does not display
Other than HTML_END_OF_LIST event, Is there any other way to display in both ?
Regards,
Jesamine Lim
04-28-2015 5:38 AM
HI Lim ,
If you select event end_of_list and execute the report , it will display footer in alv screen and print preview also.
Regards
Yogendra Bhaskar
04-28-2015 6:38 AM
Hi Yogendra,
Yes, it will be displayed in alv screen and print preview, could I display all signature as the horizon like below sample. I have tried but can't
Is there any way ?
Regards,
Jesamine Lim
04-28-2015 7:11 AM
Hi lim ,
There is limit on characters for header and footer of 60 chars only.
If you keep it under 60 characters then its good and can be done.
otherwise you have to use split container for it......
Regards
Yogendra Bhaskar
04-28-2015 8:16 AM
Hi Yogendra,
I think I have to use split container for footer, could you please provide me the steps to create split container for footer ?
Regards,
Jesamine Lim
04-28-2015 8:30 AM
Hi Lim ,
prepare you end of list similar to the code as below :
FORM end_of_list_html USING end TYPE REF TO CL_DD_DOCUMENT
DATA: ls_text TYPE sdydo_text_element,
l_grid TYPE REF TO cl_gui_alv_grid,
f(14) TYPE c VALUE 'SET_ROW_HEIGHT'.
ls_text = 'Footer title'.
CALL METHOD end->add_icon EXPORTING sap_icon = 'IL'.
CALL METHOD end->add_text EXPORTING text = ls_text sap_emphasis = 'strong'.
CALL METHOD end->new_line.
CALL METHOD end->add_text EXPORTING text = 'Bold text' sap_emphasis = 'strong'.
CALL METHOD end->new_line.
CALL METHOD end->add_text EXPORTING text = 'Nor'.
CALL METHOD end->new_line.
CALL METHOD end->add_text EXPORTING text = 'Yellow ' sap_emphasis = 'str'.
CALL METHOD end->add_icon EXPORTING sap_icon = 'IC''.
CALL METHOD end->add_text
EXPORTING
text = 'Mor'.
*set height of this section
CALL FUNCTION GET_GLOBALS_FROM_SLVC_FULLSCR
IMPORTING
e_grid = l_grid.
CALL METHOD l_grid->parent->parent->(f)
EXPORTING
id = 3
height = 14.
ENDFORM. "end_of_list_html.
Regards
Yogendra Bhaskar