10-05-2007 8:40 AM
how to make use of 'IS_PRINT' of 'reuse_alv_grid_display' in my program..
i mean wat is use of 'IS_PRINT' AND HOW TO USE IT
10-05-2007 8:50 AM
hI,
This parameter is used to setup the print parameters by activating the IS_PRINT option.
CHEK the links..
http://www.erpgenie.com/sap/abap/controls/alvgrid.htm
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_events.htm
reward if helpful..
Regards,
Nagaraj
10-05-2007 8:50 AM
hI,
This parameter is used to setup the print parameters by activating the IS_PRINT option.
CHEK the links..
http://www.erpgenie.com/sap/abap/controls/alvgrid.htm
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_events.htm
reward if helpful..
Regards,
Nagaraj
10-05-2007 1:17 PM
hi,
thanks a lot ,, this link solved my problem completely...
nikesh kumar
10-05-2007 2:39 PM
10-05-2007 8:52 AM
Control parameters relevant for printing
Value range: SPACE, 'X'
'X' = Print list and do not display it on the screen. Further settings can be made on the print parameter screen.
NO_PRINT_SELINFOS
Value range: SPACE, 'X'
'X' = Do not print existing selection information (see also LAYOUT-GET_SELINFOS)
NO_COVERPAGE
Value range: SPACE, 'X'
'X' = Print selection information and list status, if available, on a separate page.
NO_NEW_PAGE
Value range: SPACE, 'X'
Internal use only
RESERVE_LINES
Value range: 0, n
n = Number of lines output in the footer by the user during printout at END_OF_PAGE in the corresponding callback event.
NO_PRINT_LISTINFOS
Value range: SPACE, 'X'
'X' = Do not print list status (sort information, subtotals information and filter information).
NO_CHANGE_PRINT_PARAMS
Value range: SPACE, 'X'
SPACE = (default) The output format (number of columns) is dynamically adjusted depending on the list width (255 at most).
'X' = The current print parameters are always used. If the list is wider, the output width is not adjusted dynamically.
10-05-2007 8:57 AM
if u give top_of_page and end_of page in reuse_alv_grid_display, u may see them in ur output but while printing u cant see them. u need to reserve some lines for them while printing.
reserve_lines in slis_print_alv will help u for that.
like this we can define many options related to printing purpose specifically.
no_print_selinfos(1) type c, " display no selection infos
no_coverpage(1) type c, "
no_new_page(1) type c, "
reserve_lines type i, " lines reserved for end of page
no_print_listinfos(1) type c, " display no listinfos
no_change_print_params(1) type c, " don't change linesize
no_print_hierseq_item(1) type c, "don't expand item
print_ctrl type ALV_S_Pctl
defina a variable of type slis_print_alv
example:
data vs_print type slis_print_alv.
vs_print-reserve_lines = 3.
now pass vs_print to is_print. it will reseve 3 lines for top of page or end of page.
10-05-2007 10:32 AM
10-05-2007 11:51 AM