Solution : https://service.sap.com/sap/support/notes/422064 (SAP Service marketplace login required)
Key words :
call function 'get_print_parameters' exporting mode = 'current' no_dialog = 'x' destination = pri_params-pdest immediately = ' ' new_list_id = ls_new_spool layout = 'x_58_170' list_text = ls_cover_text line_count = 58 line_size = 170 importing out_archive_parameters = arch_params, call function 'get_print_parameters' exporting mode = 'current' no_dialog = 'x' destination = pri_params-pdest immediately = ' ' new_list_id = 'x' layout = 'x_58_170' list_text = ls_cover_text line_count = 58 line_size = 170 importing out_archive_parameters = arch_params, note 422064 <<< end insert call function 'get_print_parameters' exporting mode = 'current' no_dialog = 'x' importing out_archive_parameters = arch_params <<< insert out_parameters = pri_params valid = valid exceptions, call function 'bp_job_read' exporting job_read_jobcount = jobcount job_read_jobname = jobname job_read_opcode = btc_read_all_jobdata tables job_read_steplist = job_read_steplist exceptions invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3, call function 'get_job_runtime_info' importing jobcount = jobcount jobname = jobname stepcount = jobstepcount exceptions no_runtime_info = 1, <<< insert out_parameters = pri_params valid = valid exceptions, <<< insert out_parameters = pri_params valid = valid exceptions, <<< insert call function 'jv_initialise_message', parameters pri_params archive parameters arch_params, read table job_read_steplist index jobstepcount
Related Notes :
661750 | GJCB: Archive print parameters not passed in background |
126752 | JV Billing extract: Incorrect printer selection |