2008 Sep 26 10:29 PM
Experts,
I have a requirement where we are faxing the ABAP list as it gets generated .
I am using NEW-PRINT ON and NEW-PRINT OFF , to get the ABAP list in a spool request , and then get the spool contents using function module : 'RSPO_RETURN_SPOOLJOB'
I then use Class / methods provided by Business communication service , such as :
cl_cam_address_bcs=>create_fax_address ,to send this spool content to Fax gateway .
My fax goes , but the fax output list is in X_65_255 format, whereas i want the fax output to be in X_65_132 ..
My REPORT statement does have X_65_132 as line count / line size BUT somehow the Fax output does not take this list format .. ANY IDEA's ????
Would appreciate your reply .
Ashutosh
2008 Sep 26 11:27 PM
Alongwith the NEW-PAGE you need to set the print parameters.
Like:
DATA: print_parameters TYPE pri_params.
print_parameters-PAART = 'X_65_132'. "<< Page format
NEW-PAGE PRINT ON PARAMETERS print_parameters
NO DIALOG.
Regards,
Naimesh Patel
2008 Sep 30 3:44 PM
Naimesh,
I have passed page format X_65_132 in GET_PRINT_PARAMETERS , in export paramter ' Layout ' ... See code below :
write a list into spool
call function 'GET_PRINT_PARAMETERS'
exporting
line_count = sy-linct
line_size = sy-linsz
layout = 'X_65_132' <<< Page format
mode = 'BATCH'
immediately = ' '
list_text = htext_spool
list_name = 'ZV46 FAX'
no_dialog = 'X'
importing
out_parameters = print_parameters
valid = valid
exceptions
archive_info_not_found = 1 .
BUT still the fax coming out of our fax machine is compressed because i believe the outgoing fax is using page format X_65_255 .
Any idea why ????
Would appreciate your reply .
Ashutosh
2009 Feb 02 6:22 PM
I found the answer myself BUT guiding lines were given by all you experts.
2009 Feb 02 7:32 PM
Forum is also a place for learning. So just give us a little feedback please! What was the issue/what was the solution?