2012 May 28 4:28 PM
Hi All,
I am trying to convert spool to PDF by using
CONVERT_ABAPSPOOLJOB_2_PDF FM.Issue I am facing I am printing a 2 page payslip out of which only 1 page is getting printed and payslip is only hald displayed. I also used
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
authority = space
copies = 1
cover_page = space
data_set = space
department = space
destination = c_locl
expiration = 1
immediately = space
new_list_id = c_x
no_dialog = c_x
user = sy-uname
line_size = 65
line_count = 255
IMPORTING
out_parameters = e_mstr_print_parms
out_archive_parameters = e_arparams
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
MOVE: c_linsz_120 TO e_mstr_print_parms-linsz ,
c_size TO e_mstr_print_parms-paart ,
us_pernr TO e_mstr_print_parms-plist.
* NEW-PAGE
* PRINT ON NEW-SECTION
* PARAMETERS e_mstr_print_parms
* ARCHIVE PARAMETERS e_arparams
* NO DIALOG.
NEW-PAGE PRINT ON NO DIALOG PARAMETERS e_mstr_print_parms.
I am then converting the pdf into hex form then into binay and then into solix as we have front end as Java.
we are getting distorted output only..are any parameters to be changed??
Thanks In advance.
2012 May 28 4:45 PM
Hi,
When you are sending the attachment did you populate the size of the document.
When you are converting to Binary content you will get the size specification. Add it to the method for sending mail.
Thanks,
Shambu
2012 May 29 7:25 AM
Hi Shambu,
We are not sending as mail.I want output in solix tab and then java will pick it up n display..Its displaying only 1st page of spool in PDF its not picking up second page.Any suggestions on that??