2007 Jan 09 5:57 AM
hi,
call function 'GET_PRINT_PARAMETERS'
EXPORTING
copies = 1
department = 'SYSTEM'
destination = 'LOCL'
expiration = 2
immediately = ' '
layout = 'X_65_255'
line_count = 65
line_size = 255
list_name = 'SPOOL ANME'
list_text = 'Spool Text'
mode = ' '
new_list_id = 'X'
no_dialog = 'X'
receiver = 'SAP*'
release = 'X'
sap_cover_page = 'X'
user = sy-uname
IMPORTING
out_parameters = l_params
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
others = 4.
i m getting the INVALID_PRINT_PARAMS error plz tell me wat parameters should i set to get OUT_PARAMETERS
2007 Jan 09 6:01 AM
2007 Jan 09 6:16 AM
2007 Jan 09 7:22 AM
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = '5M04'
immediately = ' '
release = ' '
new_list_id = 'X'
line_size = 255
line_count = 65
layout = 'X_65_255'
sap_cover_page = ' '
no_dialog = 'X'
IMPORTING
out_parameters = params
valid = valid.