Skip to Content
author's profile photo Former Member
Former Member

FM to convert OTF to PDF

Hi All,

Currently i am using convert_OTF Fm to convert OTF to PDF .As my system is upgraded from 4.7 to 6.0.This is not working in new version.When i debugged it I am getting garbage values in it.Please suggest me in this.

Thanks,

Suman

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 27, 2010 at 01:05 PM

    We have ECC6 and this FM works just fine.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Suman,

      We had a same problem with OTF to PDF conversion during ECC5 to ECC6 upgrade. We converted our logic to use BCS class and methods. Try to implement following logic.

      - create spool for your smartform/script

      - convert generated spool to pdf (in xstring format) using CONVERT_OTFSPOOLJOB_2_PDF function module

      - use xstring_to_solix method of class CL_BCS to convert hex to Solix format

      - Fillup appropriate parameters of CL_BCS class and use SEND method to send pdf in email.

      - You may use ADD_ATTACHMENT method to have this pdf document as an attachement to mail

      you should also refer BCS_EXAMPLE_6 demo program.

      regards,

      Pranav

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.