Converting the layout from OTF format into PDF

Hi Experts,
I am new to SMART FORMS,I don't have a clue about how to convert the layout from OTF format into PDF format and how to store it in Presentation server.
Please send me a Model program or step by step approach of the same.
Useful inputs will be rewarded higher points.
Thanks in Advance,
Dharani

Hi,
The steps are given below:-
1) First get the name of your generated function module for the smartforms.
2) Then call the generated function module.
3) Then use the FM:CONVERT_OTF' to convert into PDF as shown below:-
call function 'CONVERT_OTF'
    EXPORTING
      format                = 'PDF'
    IMPORTING
      bin_filesize          = w_pdf_len
      bin_file              = w_pdf_xstring
    TABLES
      OTF                   = OUTPUT_DATA-OTFDATA
      LINES                = LT_LINES
    EXCEPTIONS
      err_max_linewidth     = 1
      err_format            = 2
      err_conv_not_possible = 3
      err_bad_otf           = 4
      others                = 5.
Hope this is clear.
Pravat.
<i>*Reward points if helpful.</i>

Similar Messages

  • Converting the rulesets from .txt format to Excel?

    Dear all,
    Is there a conversion utility available to convert GRC rulesets which have been exported from the tool in .txt format to excel? I am looking for something which can break up the rulesets into various tabs with  in the main worksheet. Currently when I do a "open with excel" function, all the data gets dumped onto a single excel sheet.
    Thanks,
    Edited by: Kenguru on Aug 14, 2010 11:41 PM

    Hi,
    Open the .txt file with word pad. copy and paste the data in excel sheet. you can get the data of each column in different tab.
    Hope this is useful
    all the best

  • Adobe Product API for converting mulptiple formats into PDF and to Embed PDF into PDF ?

    Hi Team,
    Is there any adobe product that allow us to convert multiple formats into .pdf format and also allow us to attach (embed) other pdf files object into a pdf, is there any .net API for that, I want to do this through programming.
    Regards
    Amit

    We want to use this product for our application, for the purpose of converting different files formats into a PDF file and also for attaching files into a single PDF using a web application and windows service. I have to evaluate some features and point regarding this product which are as below:
    1. PDF form creation in future requirement.
    2. Maximum files size that i can convert into PDF.
    3. Memory management when converting N number of files.
    4. Compatibility with C#, .Net Framework 4.0, using MS Visual Studio 2010.
    5. Support of the product for future.
    6. Primary requirement to use PDFLiveCyle for above features.
    7. Basic guidelines before using PDFLiveCyle.
    8. Ease of coding using PDFLiveCyle.
    9. 32bit or 64bit support.
    10. Lisencing information
    Regards
    Amit Mishra

  • Hello! I have the Acrobat XI test version installed, got the registration Mail and confirmed it. When i have the program opened and try to convert the file from a pdf to a word and press the convert button, it shows a the message "application failed" (in

    Hello! I have the Acrobat XI test version installed, got the registration Mail and confirmed it. When i have the program opened and try to convert the file from a pdf to a word and press the convert button, it shows a the message "application failed" (in german "Fehler bei der Anmeldung"). I hope have explained the issue on the right way with my bad english. Do you have a solution for it?? Best regards, Marcus Wenk

    yes, you are right. it is the adobe reader via exportPDF. but it should be the acrobat. it was written on the internetpage...

  • How to bind the data from user table into user report

    Hi All,
      Please assist me to bind the data from user table into user report. I did create an user table with data and create a user report template (using Query Print Layout). How can I display my data into report format which I created before? Any sample program or document I can refer?
    Platform: SAPB1 2005A
    Add On Language: VB.Net 2003
    Thanks.
    rgds
    ERIC

    Hi Ibai,
      Thanks for your feed back. I give you an example.
    Let say now i wanna print employee list, so i will go
    1. Main Menu -> Reports -> HR -> Employee List
    2. Choose the Selection Criteria -> OK
    3. Matrix will display (Employee List)
    4. I can print the report click on print button
    5. Printing report
    My target
    1. Main Menu -> Eric_SubMenu -> Employee List
    2. Matrix will display (Employee List)
    3. Print button
    4. Print report
    My problem
    Now I would like to use my own report format. My own report format means I wanna add on my logo or do some customization within the employee report. So how I am going to do? I only able to display the employee list in matrix. How do I create a new report format and display it.
    Thanks.
    rgds
    ERIC

  • Need to Download Smartform Data from OTF format to CSV file

    Hi,
      I need to download smartform data from OTF format to CSV file. Is there any Function module to download Smartform data from
      OTF format to CSV file.
    Regards,
    Selvapriya S.

    Not that I know of.  There is a lot of data in the OTF file besides the field values you are printing (formats, headers. positions, fonts, etc).
    You might be able to use the CONVERT_OTF function module and take the default format of 'ASCII'.  Once it is converted to an ASCII data format, you might be able to write some ABAP code to strip off the extraneous data and parse the fields you need.

  • Does anyone know how to convert the output from the standard report to xml?

    Does anyone know how to convert the output from the standard SAP report to xml?

    since it a standard report which you cannot modify you can only do the following.
    submit report exporting list to memory
    then
    list from memory and then
    use the returned itab along with CALL TRNSFORMATION key word to convert to xml.
    but this only going to place the whole list content (including data and formating lines,etc) into a xml element and not the actual data alone in the list .

  • How do you convert the audio from a mpeg4 video file to mp3?

    How do you convert the audio from a mpeg4 video file to mp3 format?

    Probably the easiest way to do this is to download a free media convertor. Most will be able to convert video into audio files.

  • Can you convert the Outlook 2010 Tasks folder to PDF?

    Hi All,
    Please can you let me know how to convert the Outlook 2010 Tasks folder to PDF?  When I select "Convert Selected Folders" from the PDFMaker Add-In in Outlook the Tasks folder is greyed out.
    Is this because PDFMaker doesn't support this?  If not, is there another way to convert the Tasks folder to PDF?
    Cheers

    Hello hillsmeister,
    Could you please let me know what version of Acrobat are you using.
    If it is Acrobat version 10 and later, then only PDFMaker application would be compatible with Outlook 2010.
    Try converting some other mails to Adobe PDF and check if the same issue persists.
    Please let me know.
    Regards,
    Anubha

  • Converting the videos (from Vixia HF M40) to standard definition on a Mac (10.6 OS X)

    How do you convert the videos (from Vixia HF M40) to standard definition, for the Mac computers (10.6 OS X)?

    Hi venetiakelley!
    Thank you for posting. 
    Canon does not make conversion software, but there are 3rd party applications available that do convert video files from one format to another.  You can try doing an internet search for applications that will convert from one format to another.
    However, there should not be a need to convert the video to a standard definition format to be able to view it on your Mac.  Even Apple's own iMovie should support the files that come from the VIXIA HF M40 depending on the version you have installed.  If you are using iMovie and experiencing some trouble opening the files, I recommend that you contact Apple directly for further assistance with iMovie.  They may have some more information about the trouble you are experiencing.
    This didn't answer your question or issue? Find more help at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • HT1386 I recently updated and restored my Iphone on a Mac. My music was erased, therefore, I am trying to sync all of the music from my computer into the iPhone, but it says that I need to use the original computer/itunes in order to sync, but it is the s

    I recently updated and restored my Iphone on a Mac. My music was erased, therefore, I am trying to sync all of the music from my computer into the iPhone, but it says that I need to use the original computer/itunes in order to sync, but it is the same computer and iTunes account. The error reads: The iPhone, "Name" is synced with another iTunes library. Do you want to erase this iPhone and a sync with this iTunes library? If I click "Erase and Sync," will it delete my contacts, apps, etc?

    The following may help: iOS: Device not recognized in iTunes for Windows

  • Convert the spool to xls format and email through attachment to the user

    Hi all,
    When I execute a report in background, I get spool. I need to convert the spool to xls format and email through attachment to the user.The xls file should not be saved on local system.
    If I use the Spool Recepient tab in SM37 it mails the spool list as .txt file to the mail receipient. But I need to send it as an .xls file.
    Can any one help me on this

    Did you get the solution? i have the same problem.

  • I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?

    Hello everybody,
    I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?
    I share one Itunes account with other people from my family and one person would like to keep the same songs on the new Ipod as the ones which were on the old one.
    Thanks in advance for your answer.
    Yan

    Hello Chris,
    Thanks for your answer. I was hoping for an easier answer. Too bad there is no drag and drop solution, it would have been much easier.
    Thanks for answering so fast.
    Bye.
    Yan

  • How can i convert the data from mutiple-table to the other database(MSSQL)?

    Dears,
    How can i convert the data from mutiple-table to the other database such as MS-SQL?
    I have a third party system based on MS-SQL 2000.
    Now we want to make a integration between SAP R/3(Oracle) and SQL server.
    When my user releases the purchase order in R/3, the application we coded will convert the releated data to the temp database on the SQL server.
    But i don't know which tools will help me reach the purpose.  BAPI, LSMW, IDoc... ???
    Would anybody tell me which way is better and how to do?
    Thanks a lot!
    Kevin Wang

    Hello Kevin,
    The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier.

  • How  to load the data from excel  file  into table in oracle using UTL_FI

    How to load the data from excel file into table in oracle
    and from table to excel file
    using UTL_FILE package
    Please give me some example

    This is something i tried in oracle apex
    http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
    Regards,
    CKLP

Maybe you are looking for