Application Development and Automation 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: 
Read only

reuse_alv_grid_display function module

Former Member
0 Likes
2,033

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

1 ACCEPTED SOLUTION
Read only

former_member404244
Active Contributor
0 Likes
1,239

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

7 REPLIES 7
Read only

former_member404244
Active Contributor
0 Likes
1,240

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

Read only

0 Likes
1,239

hi,

thanks a lot ,, this link solved my problem completely...

nikesh kumar

Read only

0 Likes
1,239

can you tell link to use 'it_event_exit '

Read only

Former Member
0 Likes
1,239

Control parameters relevant for printing

PRINT

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.

Read only

hymavathi_oruganti
Active Contributor
0 Likes
1,239

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.

Read only

0 Likes
1,239

how to pass vs_print to is_print

Read only

0 Likes
1,239

in the fn module

reuse_alv_grid_display

is_print = vs_print