I use the MD REUSE_GRID_LIST_DISPLAY and I need to find the current spool number, in ORDER to use the MD ‘convert_ABAPSPOOLJOB_2_PDF’. The spool is created but I don’ know how to access its content.
Does Module function exist ?
I use the following code :
l_print-print = ‘ ‘.
l_print-prnt_info = ‘X’.
l_print-no_print_selinfos = ‘X’.
l_print-no_print_listinfos = ‘X’.
l_print-no_coverpage = ‘X’.
l_print-reserve_lines = 1.
l_print-print_ctrl-pri_params = l_params.
sy-batch = ‘X’.
CALL FUNCTION ‘REUSE_ALV_GRID_DISPLAY’
i_grid_title = text-t01
it_fieldcat = lt_field_catalog
is_print = l_print
* it_filter = lt_field_filter
t_outtab = stat_paie
program_error = 1
OTHERS = 2.
IF sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ABAP Consultant, needs help regarding “REUSE_ALV_GRID_DISPLAY print to spool without out “