Q

Converting a PDF form to Word

A reader needs to be able to send a form by email and have the recipient send the completed form on to another person, so a PDF won't work. Matthew Billingham provides some guidance on converting a SmartForm to Word.

I am trying to create a Word (97) document from a program in SAP (version 46C). (The document content will vary based on certain criteria checked in the program.) I can create a beautiful form using Smart Forms, but am only able to email it to the user as a PDF attachment. Is it possible to convert this form to Word and emailed as an attachment?

The requirement is for the user to then answer some questions (text responses) and forward the email to another person in the business. As far as I can see, the RTF format is not pretty. Text format lacks formatting. Any ideas?

There are many third-party tools you can use to convert PDF to Word. Some of them are free. What you should do is write your PDF to the application server filesystem, then use SXPG_COMMAND_EXECUTE to call the converter. You can then pick up the converted file from the application server filesystem, and attach it to the email.
This was first published in February 2007

Dig deeper on SAPscript and Smart Forms

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close