Skip to Content
0
Former Member
Sep 23, 2010 at 03:02 PM

Spool request name or title

288 Views

Hi,

I am using a Z program to fill the spool details and then calling a ALV.

CALL FUNCTION 'GET_PRINT_PARAMETERS'
          EXPORTING
            copies                   = '001'
            cover_page               = ''
            department               = sy-prabt
            layout                   = 'X_58_170'
            destination              = l_dest
            no_dialog                = 'X'
            receiver                 = sy-uname
            report                   = sy-repid
            sap_cover_page           = ''
          IMPORTING
            out_parameters           = l_params
            valid                    = l_valid
            valid_for_spool_creation = l_valid_spool
          EXCEPTIONS
            archive_info_not_found   = 1
            invalid_print_params     = 2
            invalid_archive_params   = 3
            OTHERS                   = 4.
        IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
       * CONCATENATE s_werks-low text-014 INTO l_params-prtxt SEPARATED BY space..*
        l_params-prbig = ''.
        ls_print-print_ctrl-pri_params = l_params.
        ls_print-print = 'X'.
        ls_print-no_print_selinfos = ''.  " display no selection infos
        ls_print-no_coverpage = con_x.       " no_new_page(1) type c,                             "
        ls_print-no_print_listinfos = con_x. " display no listinfos
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program     = sy-repid
            i_callback_top_of_page = 'TOP_OF_PAGE_ALLO'
            is_layout              = st_layout
            it_fieldcat            = i_fcat
            is_print               = ls_print
          TABLES
            t_outtab               = it_details.
      ENDIF.

However the Spool title is not getting filled as populated from the above code .

This was working until last saturday and have stopped since then.What could be the reason for this.

Please use code tags.

Edited by: Rob Burbank on Sep 23, 2010 11:06 AM