Application Development and Automation 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: 
Read only

Mail - PDF Getting Truncated

Former Member
0 Likes
751

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

4 REPLIES 4
Read only

Former Member
0 Likes
701

Hello,

In the REPORT statement of the program, increase the line-size to the maximum and check.


REPORT ZTEST LINE-SIZE 1023.

Vikranth

Read only

Former Member
0 Likes
701

Hi,

Please go through this link below,

https://wiki.sdn.sap.com/wiki/display/sandbox/ConversionofSpoolRequestDataintoPDFandExcelFormatandSenditintoMail

Hope it helps

Regards

Mansi

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
701

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

Read only

Former Member
0 Likes
701

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..