05-04-2013 11:28 AM
Dear Experts ,
We have created one report for generated automatic mail.
Its displaying properly and received by the receiver properly .
But the issue is , that received mail's pdf didn't open.
Kindly help me to do.
Advance thanks.
05-04-2013 1:44 PM
Hi
Did u check below thread , similar to your issue
http://scn.sap.com/thread/913647
also kindly go through the below link for your reference,
http://wiki.sdn.sap.com/wiki/display/Snippets/Generate+PDF+from+ABAP+List+Output
http://wiki.sdn.sap.com/wiki/display/ABAP/PDF+files+in+SAP
Regards,
Bastin.G
05-04-2013 1:46 PM
If it says the pdf is corrupted while opening , then mostly this happens if the total length/size of the pdf is not calculated properly in your program , please check it....
05-04-2013 2:37 PM
Hi,
Please check the value of the linesize that you are passing during PDF conversion. That is the reason it says PDF is corrupted.
Cheers,
Arindam
05-07-2013 4:14 AM
Hi Experts ,
There is a existing report already its going smooth but now only that problem occurred.
Kindly help me to solve it ...
Advance Thanks......
05-07-2013 6:22 AM
05-07-2013 6:25 AM
may be some changes are done to it , you can have a look on that if someone added some functionality to the report recently.
What exactly is the error message that you are getting while opening the pdf ?
05-07-2013 6:30 AM
Dear Kiruphagar,
This problem occurs when you didnt change the length of the pdf file to 255 long string from the 132 long string.
http://www.sapdev.co.uk/reporting/rep_spooltopdf.htm
Kindly go through this link and pay attention to the code under the comment
Transfer the 132-long strings to 255-long strings
Hope it will solve your problem.
Thanks and Regards
Davis
05-07-2013 6:28 AM
No error occurred but in the smartform pdf same like sample output of smartform
Not displaying original output...
05-07-2013 6:56 AM
I think it would have been better if you have mentioned it at the top. Everyone here was assuming that you got an error while opening the pdf
can you describe a little more on the same like sample output of smartform , coz i think if this sample output is converted to pdf then it will be the same as the sample output... where's the ambiguity in that ?
May be other people here can have their thoughts on it....