I am using SAPSCRIPT to send e-mail. After close_form, I am calling the function module 'CONVERT_OTF' and then calling function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send e-mail. Everything working fine, but when opening the pdf getting the POPUP 'An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem'. attached is the image for reference capture.jpg.
After pressing ok button the pdf output is fine, but the user not ready to press ok button every time.
Any suggestion please.