07-02-2010 7:09 AM
Hi,
I am sending payslip of employees through PDF attachements. It was working fine till last month. This month we have upgraded EHP4 on ECC6 after that the payslip attachement which is sent to the mail ids is not opening. When trying to open the document it is displaying error as " There was an error opening this document. The file is damaged and couldnot be repaired".
I am using Funtion modules: CONVERT_OTFSPOOLJOB_2_PDF next QCE1_CONVERT next for mail sending SO_DOCUMENT_SEND_API1.
Can some one tell me what could be the problem ? It is an priority issue and i am working on the same.
Thanks & Regards,
Srinath
07-02-2010 5:47 PM
07-02-2010 7:18 AM
07-02-2010 12:00 PM
Hey in your SCOTT setting , see is the output format maintained is PDF.
Regards,
Uma Dave
07-02-2010 5:47 PM
07-03-2010 5:56 AM
HI srinath,
We have faced the same problem after a patch has been added, we tried all possible ways but there
is no use the document did not open.
PLEASE CONSULT BASIS PEOPLE, THEY CAN FIX THE PROBLEM.
we have sent mail to SAP regarding this problem, they have sent measures to be taken by BASIS people.
Regards and Best wishes.
07-03-2010 8:09 AM
03-20-2011 10:51 AM
Hi Srinath
I am facing the same issue,
Would be thankful if you can help me resolve this.
By the way, Happy Holi.
Regards,
Manu
03-22-2011 7:15 AM
Hi manu,
before send mail u use following FM
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = filex
IMPORTING
output_length = file_length
TABLES
binary_tab = gt_objbin.