on 04-18-2011 11:20 AM
Hi all,
I am using the FM "CONVERT_OTFSPOOLJOB_2_PDF" to convert my smartform to PDF
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = lv_rspoid
no_dialog = ' '
IMPORTING
pdf_bytecount = lv_numbytes
pdf_spoolid = lv_pdfspoolid
TABLES
pdf = i_pdf1
Then I am using the FM "SO_NEW_DOCUMENT_ATT_SEND_API1" to send it as email attachment.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = i_objpack
object_header = wa_objhead
contents_bin = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
Everything is working fine only the logo is not coming in the PDF.
When I am opening the PDF document it is giving me a Popup "An Error Exixts on this page. Acrobat may not be able to display the page correctly".
Regards,
Niks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikhil,
Where you tried with the Function Module CONVERT_OTF , to convert to PDF.
It may help you.
Thanks and Regards,
Prakash K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.