Application Development 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: 

'GET_PRINT_PARAMETERS'

Former Member
0 Kudos

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

Former Member
0 Kudos

refer.

0 Kudos

hi,

no it was not that helpful

thnx

0 Kudos

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.