Convert word document to PDF file in SAP

Hello experts,
I've been searching around to get some code examples to upload a word document and convert it into a PDF file and then store it in unix. I hope one of you can help me, because many explanations and threads exist, but I did not get wiser reading them...
I don't want to use 3rd party tools to do the conversion, but do it directly in SAP with abap coding and if necessary spool processing.
System details:
SAP ECC 6.0 (unicode system)
SAP_ABA     700     0014     SAPKA70014     Cross-Application Component
SAP_BASIS     700     0014     SAPKB70014     SAP Basis Component
Thanks in advance!
Regards,
Danny

Hi,
You can get the spool no from transaction SP01 and later use this spool no to convert the word document to PDF
using the function module CONVERT_OTFSPOOLJOB_2_PDF and give the import parameter as ur spool id.
once the doc gets converted to PDF u can use CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
to get the path where the file is to be saved and later give the path to function module GUI_DOWNLOAD to download the file.
or else u can manually execute the following reports:
RSTXPDFT4  (give the spool no. as input)
RSPO0068  (give the word doc with its full path as input)
Hope that helps u
Regards,
Radhika

Similar Messages

  • Printing error when I convert Word document to PDF file

    When I convert a Word document to a PDF file, I get a notificaton that there was a printing problem, but the document is converted anyhow.
    The error message started to occur after I installed an upgrade to Acrobat Pro X and is shown in the task bar with the printer icon alongside a red and white question mark next to it.
    Is there any way to get rid of the problem?

    Acrobat X Pro has problems with Explorer 9.0 and Office 64 bits version.
    I started having similar problems when I upgraded X pro to 1.2 or 1.3 version and upgraded Explorer to 9.0. I was unable to print web sites(converting to PDF) correctly causing distiller errors, or printed some pages but the fonts were illegible. You could correct the problem by going to printer property, and uncheck "rely on system fonts".
    On the other hand, technical support told me that X pro 1.2 version caused issues with office 64 bits version, and told me to upgrade 1.3 only. I did that, but by converting web sites or office files into pdfs with success, but print listing folder get error messages for each print command, and I had to clear them out. otherwise yellow triangluar mark will be attached to printer icon of Acrobat.
    Obviously, upgrade to 1.3 did not solve all the issues, and I have to stay without any upgrade at all.

  • Using adobe on trial to convert word documents to pdf files...where are my converted files?

    where is my files that i converted ?? please advise.

    Hi nan7080,
    You can find your converted files by logging in to your account at cloud.acrobat.com using your Adobe ID and password.
    Please let us know if you have additional questions.
    Best,
    Sara

  • Problems converting Word documents to  PDF

    I am having trouble converting Word documents to PDF files. Whenever I try to convert the file, I receive the following error message: Missing PDFMaker files. Do you want to run the installer in repair mode? When I run the installer in repair mode, I still receive the same message. I have Adobe Acobat Professional 8 and MS Office 2007 installed on my PC.

    Cannot delete or repair Adobe Acrobat Professional 6.0, nor access original disk since "accidently" using a registry repair program. I have used system restore to no avail.
    The following scenarios occur when trying to "change/remove" Adobe program/updates:
    Attempt to Uninstall:
    Adobe Acrobat/Reader 6.0.6 Update
    WINDOWS INSTALLER window:
    The feature you are trying to use is on a network resource that is unavailable.
    Click OK to try again, or enter an alternate path to a folder containing installation package Adobe Acrobat and Reader 6.0.6 Update.msi in the box below.
    C:\Program Files\Adobe\{9074E407-55DC-4A4C-A591-6ADA60386EF4}\
    Click Okay and appears--
    ADD OR REMOVE PROGRAMS window:
    The installation source for this product is not available. Verify that the source exists and that you can access it.
    Attempt to Uninstall:
    Adobe Acrobat/Reader 6.0.5 Update
    WINDOWS INSTALLER window:
    The feature you are trying to use is on a network resource that is unavailable.
    Click OK to try again, or enter an alternate path to a folder containing installation package Adobe Acrobat and Reader 6.0.6 Update.msi in the box below.
    C:\Program Files\Adobe\{490A4339-AFA5-4098-A374-7752A1A30308}\
    Click Okay and appears--
    ADD OR REMOVE PROGRAMS window:
    The installation source for this product is not available. Verify that the source exists and that you can access it.
    Attempt to Uninstall
    Adobe Acrobat/Reader 6.0.1 Professional
    ADD OR REMOVE PROGRAMS window:
    This patch package could not be opened. Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer patch package.
    Anyway to recover functionality to remove/change (uninstall/repair)?
    I also am unable to access the original disc now. WINDOWS INSTALLER window:
    This patch package could not be opened. Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer patch package.
    Any help available?

  • Acrobat 11 Standard Office 2010 Pro Convert Word documents to PDF not working

    Adobe community,
    I can create PDF's inside Word 2010 using the Acrobat Add-in but right clicking a Word document or dragging a Word document into Adobe Acrobat 11 Standard does not work. I have updated both Acrobat 11 and Office 2010 with the latest updates available. Any suggestions would be greatly appreciated.

    Hi markl16215442,
    In order to convert word document to PDF by right-clicking or dragging the file, you must have Adobe PDF printer installed.
    For Windows, please check that Adobe PDF is set as default printer under "Start > Devices and Printers"
    While for MAC, Adobe PDF printer option is no more available and as it was removed with some changes in Apple's policy regarding virtual printers.
    So, check with your OS and then let me know.
    Regards,
    Anubha

  • Merging word document with pdf file how do you renumber pages?

    After merging a word document with pdf file, how do you renumber pages?  The pdf has more pages than the word document.  I first converted the word document to a pdf, using Acrobat Standard 9.

    Hi Petek ,
    After you merge the files or combine files ,click on the Page Thumbnails panel on the left hand side.
    In the Page Thumbnail panel ,right click and you will get a drop down list .Select the option "Number Pages".
    You will see a dialog box with several options .You can renumber the pages from there as per your requirement.
    Regards
    Sukrit Dhingra

  • Word document to PDF File possible?

    Hi to all, im using mac mini at home, in office i use windows. in windows theres a software that converts word documents (or excel files or ppt files) to pdf file. is there a freeware on this for mac?
    my dilema is actually this: i am putting pictures in a word document and convert them to pdf.
    any help would be nice.
    Thanks

    Hi iSphere: Have you tried, going to "File" > "Print" then at the bottom of the print dialog box select "PDF" and then "save as PDF". This will create a PDF file to be saved.
    Hope this helps
    Stedman

  • I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.

    I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.

    Hi Frank ,
    Please refer to the following link and see if this helps.
    https://helpx.adobe.com/acrobat/kb/error-organizer-database-damaged-reset-1.html
    Regards
    Sukrit Dhingra

  • I'm having a problem saving a pages document as another format, like a Word document or PDF file.  I've never had this problem in the past.  Please help me!  I need to have this fixed a.s.a.p.

    Hello everyone,
    I'm currently having a problem saving a Pages document as another format, such as a Word document or PDF file.  I've never had this problem before with Pages.  Please help me!  I need to have this completed a.s.a.p.
    Thanks,
    Amy

    To save as a PDF, you do that from Print
    To save as Wrod format, you export
    Allan

  • Convert word document in PDF,e pub,by using third party dll in Sharepoint designer workflow 2013?

    Hi,
    I want to convert word document to PDF,  EPub, by using third party (.dll).
    In SharePoint designer workflow in 2013.
    So that I have question, Can we Install third party (.dll) in SharePoint workflow Designer for conversion?
    Means I have created one simple application conversion of word to e Pub, PDF, Image by using (Spire.doc dll) in Visual Studio.
    So this same conversion I want to work in SharePoint designer workflows?
    So anybody has any solution then please provide me.
    Thanks,
    Samadhan

    it might be worth looking at these CodePlex steps, that plug directly into the Word Automation Services.
    http://sp2010wordautomation.codeplex.com/
    It'll provide you with a configurable step like the below that should help you achieve your aims
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to upload a word document or pdf file to xk02 transaction

    hi all,
    i want to upload a word document or pdf file to xk02 trasaction
    please suggest me how todo this
    Thanks
    RAM

    Hi Pradeep,
    For creating PDF documents in Webdynpro Java you can use  "iText.jar" .
    to know more about creating PDF using iText refer these links.
    http://www.brothersoft.com/downloads/itext-jar.html
    http://www.lowagie.com/iText/download.html
    Regards
    Sridhar

  • I would like to upgrade my subscription to allow me to convert word documents to pdf

    Hi,
    I recently purchased the adobe reader which allows me to convert pdf to word; but now I would like to upgrade and be able to convert word document to pdf.  Can I get a credit for the cost of purchase of the pdf to word version for the upgrade to word to pdf version?

    Best Contact Customer Care - use the blue Still need help? button.

  • Idea  about convert word document to pdf using java api

    idea about convert word document to pdf using java api if any one find it mail me at [email protected]

    api if any one find it mail me at
    [email protected]
    What happend to your other mailID :
    [email protected] ????
    http://forum.java.sun.com/thread.jspa?threadID=639851&
    messageID=3756910It received the Spam Of Death. RIP

  • How to embed the Word Document and PDF file into Crystal report?

    How to embed the Word Document and PDF file into Crystal report?
    I have word doc which having 10 pages. I need to show all of the 10 pages at a time. I tried OLE object but problem is it shows only one page.
    Is there any solution to show word doc / PDF file in CR?

    Symptom :
    When embedding a pdf document into a Crystal Report, only the one page shows.
    Reproducing the Issue
    Environment:
    Crystal Reports OLE object
    Cause
    An OLE object only displays the first page.
    Resolution
    Embed multiple objects, one for each page
    Or
    Use a hyperlink to the object instead
    Hope this helps!
    Regards,
    Vinay

  • Convert word document to pdf in the same directory with right-click

    Hi everybody,
    With Adobe Reader X Standard, I want to convert word documents I have in a directory.
    I do a right-click on a file, but when I try to convert the file I would like to save in the same directory (where the word document is). By default it suggest default documents location.
    Thanks for your help.
    Best regards,

    Moved to https://forums.adobe.com/community/acrobat/creating__editing_%26_exporting_pdfs from Reader forum.
    Note: There is no Adobe Reader Standard X program. There is Adobe Reader X or Adobe Acrobat Standard X. Reader cannot create pdf files, Acrobat Standard can. Please let us know exactly what software you are running together with OS.

Maybe you are looking for