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

'GET_PRINT_PARAMETERS'

Former Member
0 Likes
1,484

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

3 REPLIES 3
Read only

Former Member
0 Likes
756

refer.

Read only

0 Likes
756

hi,

no it was not that helpful

thnx

Read only

0 Likes
756

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.