2012 Jan 09 6:06 AM
Hi All,
I need to send invoices by FAX. Currently we have no lisense to send a PDF by FAX, and we need to get invoice data from archive system. But the invoice data which get from archive system is PDF format.
The question is how could i convert PDF data in internal table to OTF?
I have searched SDN forums, and it seems no workable solution.
Thanks very much!
Best Regards,
Ivy
2012 Jan 09 8:38 AM
Hi,
Please find the bellow link to Convert PDF to OTF.
Thanks & Regards,
Goutam Kolluru.
2012 Jan 09 8:48 AM
when you read PDF data from archive the content will be bin content. you can directly use that to send mail.. no need of converting to OTF
2012 Jan 09 9:09 AM
Does it work even customer has no license to sent PDF attachments out by FAX? Please advise.. Thanks!
2012 Jan 09 9:19 AM
why dont you try once... we also will try once.. but if its a license issue then you shouldnt be..
2012 Jan 09 9:33 AM
I tried it in DRA system, and it works fine, but DRA system is able to send PDF attachment out. The problem is PRA has no the license, and i have no authorization to logon PRA system. I tried to ask customer to try it with SAP Business Workplace, but they are unable to generate in PRA system. So there is why i want to double confirm with you. Thanks a lot....
If it couldn't be sent out with BIN attachments, how could i convert PDF to OTF? Or any other way to solve it except buy license?
2012 Jan 10 6:50 AM
2012 Jan 10 7:00 AM
Hi friend,
Its simple, just specify the type as different in the same function module.
IE in the Same convert to OTF function module just specify the Format as ASCII or BIN instead of PDF.
So you can achieve the result.
I am sure by changing the type we will getting the output in the format only not in PDF format. If you have any queries please try in your test system and then see.
If you face any queries in it please revert back to me i will help you.
Thanks,
Sri Hari
2012 Jan 23 11:04 AM
I think no possible,
I wonder why no one has this answer.
for me is very strange that SAP does not give possibility to manage PDF file.
I never found an answer hon how to convert a PDF fil in OTF or PCL !!!
Is terrible if SAP does not give this possibility....
2012 Jan 10 9:01 AM
Use the following Function Module for Converting OTF data into PDF:
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
FORMAT_SRC = 'OTF'
FORMAT_DST = 'PDF'
DEVTYPE = 'PRINTER'
CHANGING
TRANSFER_BIN = ' '
CONTENT_TXT = t_otf " OTF Data
CONTENT_BIN = t_objhex " PDF content
OBJHEAD = t_objhead
LEN = w_length
.
Hope this is helpful.
Edited by: Ravi aspari on Jan 10, 2012 10:02 AM