2010 Feb 23 8:16 AM
My requirement is to convert Spool to PDF then send as mail attachment.
I am using function module SO_DOCUMENT_SEND_API1 to send the email. Email functionality is working fine.. But I have issues in the PDFu2026
My spool output is more than 255 characters hence PDF output is getting truncatedu2026
Please suggestu2026
I could see many post ..but could not see a proper reply
My requirement is to convert Spool to PDF then send as mail attachment.
I am using function module SO_DOCUMENT_SEND_API1 to send the email. Email functionality is working fine.. But I have issues in the PDFu2026
My spool output is more than 255 characters hence PDF output is getting truncatedu2026
Please suggestu2026
I could see many post ..but could not see a proper reply
2010 Feb 23 8:19 AM
Hello,
In the REPORT statement of the program, increase the line-size to the maximum and check.
REPORT ZTEST LINE-SIZE 1023.
Vikranth
2010 Feb 23 8:24 AM
Hi,
Please go through this link below,
https://wiki.sdn.sap.com/wiki/display/sandbox/ConversionofSpoolRequestDataintoPDFandExcelFormatandSenditintoMail
Hope it helps
Regards
Mansi
2010 Feb 23 8:32 AM
Hey Vik,
I doubt if the spool in longer than 255 characters it will be truncated at first place.
Even if you set the maximum LINE-SIZE your spool cannot display more than 255. May be i am wrong.
@OP:
I think you should have a look at the OSS [Note 1226758 - Displaying wide spool requests in SP01|https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=1226758]
BR,
Suhas
PS: At last i got my access to SAP Marketplace ))
Edited by: Suhas Saha on Feb 23, 2010 2:28 PM
2010 Feb 23 9:33 AM
No.. Increasing the Line size has not helped me...
Well.. I solved the problem by converting the PDF to Landscape..
Thanks for all your replies..