Download Smartform to word file
Hi ,
How to download a smartform to word file . Any help will be useful to me
Regards,
Jeeva
Hi,
You can use the function module 'CONVERT_OTF', here the output will be downloaded as PDF with all background pictures and formats but if u download in DOC format all the formatting and background pictures will be lost.
But we can convert the pdf output to word by a third party solution. Use SolidConverter. Version 1 is free.
Otherwise:
In transaction SMARTFORMS, use in menu UTILITIES point DOWNLOAD FORM.
But the Download utility in Tx. SMARTFORM is NOT available in SAP 46C.
You can use program RSTXSCRP (SAPscript Export to Dataset / SAPscript Import from Dataset) to do this for SAPSCRIPTS.
Regards,
Anjali.
Similar Messages
-
Convert SmartForm to Word File or EXCEL,POSSIBLE?
Hi,
I have a requirement to convert a SmartForm to Word File or EXCEL because they need to do some changes in the form.I know how to convert it to PDF but I don't know how to convert it to WORD or EXCEL.I've searched the forum and know i have to use the FM:CONVERT_ITF_TO_RTF.I'm a newbie and can anyone tell me how to use this FM or give me a example.Will it loose all the formatting?Thanks.CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = w_formname
IMPORTING
fm_name = w_fmname.
CALL FUNCTION w_fmname
EXPORTING
control_parameters = cparam
output_options = outop
user_settings = space
IMPORTING
job_output_info = tab_otf_data
TABLES
IT_VBRP = IT_VBAP[].
if sy-subrc IS INITIAL.
ENDIF.
tab_otf_final[] = tab_otf_data-otfdata[] .
*--Start of PDF--
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'DOC''
MAX_LINEWIDTH = 255
ARCHIVE_INDEX = ' '
COPYNUMBER = 0
ASCII_BIDI_VIS2LOG = ' '
PDF_DELETE_OTFTAB = ' '
IMPORTING
BIN_FILESIZE = BIN_FILESIZE
BIN_FILE =
TABLES
OTF = tab_otf_final
LINES = doc_tab
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA : FNAME TYPE STRING .
FNAME = PATH.
concatenate FNAME VBELN '.doc' into FNAME .
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = bin_filesize
FILENAME = fname
FILETYPE = 'BIN'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ' '
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH = file_size
TABLES
DATA_TAB = doc_tab
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Is there any way to download smartform into text file
is there any way to download smartform into text file
Hi,
No you cant save a smart form into text file but you can store it in a XML file.
Goto menu Utilities --> select More Utilities --> select Upload/Download --> click Download and give the path to save the backup for smartform.
Now you smartform is saved to XML file at your PC.
Also you can upload this smartform.
Hope this helps you.
Regards,
Tarun -
Problem in downloading smartform as pdf file...
Hi SDNs.,
while downloading the invoice layout as .PDF file.. i am getting following error...
<b>OTF end command // missing in OTF data</b>
and the file is downloading as empty size... ( xyz.pdf with 0kb )
It is working fine in sandbox... i am getting this error in production...
what could be the probelm? when this type of error occurs?hi raghu.,
CALL FUNCTION LF_FM_NAME
EXPORTING
ARCHIVE_INDEX = TOA_DARA
ARCHIVE_PARAMETERS = ARC_PARAMS
CONTROL_PARAMETERS = W_CTRLOP
MAIL_RECIPIENT = LS_RECIPIENT
MAIL_SENDER = LS_SENDER
OUTPUT_OPTIONS = LS_COMPOSER_PARAM
USER_SETTINGS = 'X'
IS_BIL_INVOICE = LS_BIL_INVOICE
IS_NAST = NAST
IS_REPEAT = REPEAT
OUT_TYPE = V_OUTPUT
TEMP_LST = TEMP_LST
TEMP_CST = TEMP_CST
TEMP_TELF1 = TEMP_TELF1
TEMP_TELFX = TEMP_TELFX
TEMP_NAME1 = TEMP_NAME1
TEMP_STRAS = TEMP_STRAS
TEMP_ADRNR = TEMP_ADRNR
TMP_VAT = TMP_LST
TMP_CST = TMP_CST
TEMP_WERKS = TEMP_WERKS
VAT_DATE = VAT_DATE
CST_DATE = CST_DATE
VAT = VAT
I_ADDRESS = I_ADDRESS
FLAG_HDR = FLAG_HDR
I_ADDR = I_ADDR
TMP_CST_DATE = TMP_CST_DATE " mod-004
TMP_LST_DATE = TMP_LST_DATE " mod-004
IMPORTING
JOB_OUTPUT_INFO = W_RETURN
TABLES
IT_KONV = TEMP_KONV
IT_VBRP = IT_VBRP_FORM
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
error handling
CF_RETCODE = SY-SUBRC.
PERFORM PROTOCOL_UPDATE.
get SmartForm protocoll and store it in the NAST protocoll
PERFORM ADD_SMFRM_PROT.
ENDIF.
ENDDO.
LS_COMPOSER_PARAM-TDCOPIES = NAST_ANZAL.
IF NOT NAST_TDARMOD IS INITIAL.
NAST-TDARMOD = NAST_TDARMOD.
CLEAR NAST_TDARMOD.
ENDIF.
ENDIF.
************************add for pdf**********************************
I_OTF[] = W_RETURN-OTFDATA[].
DATA : ITAB2 LIKE DOCS OCCURS 0,
SIZE TYPE I.
BIL_NUM = LS_BIL_INVOICE-HD_GEN-BIL_NUMBER.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
USE_OTF_MC_CMD = 'X'
ARCHIVE_INDEX =
IMPORTING
BIN_FILESIZE = SIZE
TABLES
OTF = I_OTF
DOCTAB_ARCHIVE = ITAB2
LINES = I_TLINE
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
****************download************************
CONCATENATE 'C:\' BIL_NUM '.PDF' INTO FILENAME.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
FILENAME = FILENAME
FILETYPE = 'BIN'
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = I_TLINE
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
IF SY-SUBRC = 0.
message i000.
ENDIF.
is this enough????
Thanking you.., -
My itunes says my spoken word file will not play on my nano. Why would that be?
I downloaded a spoken word file from audible and put it in itunes. No problems with that. But when I tried to put it on my iPod nano, I got a message saying that it wouldn't move the item because the item wouldn't play on my ipod. What would be the reason for that? I've played spoken word on my nano before.
On a CD player it isn't AIFF (unless you have a very, very special CD player), it is audio CD format (as Chris CA outlines). You can start with pretty much any format sound file iTunes can read but on the audio format CD it will end up as plain old linear 16 bit uncompressed PCM which has been the audio CD standard for 30 years.
If your CDs will not play on other players then there could be a problem with your CD burn. Try the usual things such as slower burn speed and better quality CD media. It is possible your burner is out of alignment and is burning CDs only your player can then read. -
How to Download Output of Script or SmartForm in to word file or Pdf file
Hi Experts .
I am stuck up at a point that how i can download the Output of
smart-form or Sapscript into word file or Pdf file .
Please help me out Boss .
Best Regards : rajneeshOnline PDF Printer for SAP
1. Print your document into spool request
2. Go to SP01 and get the Spool Req. No.
3. Go to SE38 and run Report RSTXPDFT4
4. Feed in the Spool Req. No.
5. Save the PDF file on your Desktop. -
I have been using Firefox for many years with Blackboard products. In the last six months or so, when I try to download a student's file that is a Word .docx, it won't let me open it without saving it. Word .doc files work fine. I don't have this problem with Internet Explorer, but of course IE is clunky, slow, and doesn't fill in forms. Any help would be appreciated. Let me know if I can supply more details.
Two possible problems. <br />
1. BlackBoard never supports the latest version of Firefox, for a few reasons. Some schools don't run the latest version of BlackBoard Vista or Campus Edition. Also, BlackBoard upgrades seem to be tied to the "school year" cycle, the changes they make to improve and update their software seem to be rolled out for the fall term so that changes aren't being made during the normal "school year" and possibly causing problems for the schools. That also may be a function of their contract / payment cycles with the schools that use their programs.
http://www2.blackboard.com/tuneup/viewpage?name=tuneup_browser_tuneup_windows_firefox <br />
Select the link for the version of WebCT Vista or Campus Edition ''(version info is usually at the bottom of each page, in the footer)'' that your school is using, then see which version of Firefox is compatible.
Depending upon which version of WebCT your school is using, you will have to use Firefox 3.6.x, Firefox 3.5.x, or Firefox 3.0.x when accessing the Blackboard site.
My advice is to install the Firefox Portable version that you need for Blackboard on your computer, and use that installation only for Blackboard. Continue to use 4.0.1 for all other web browsing. <br />
http://portableapps.com/apps/internet/firefox_portable/localization#legacy
2. Firefox uses a Plugin ( you have Office Plugin for Netscape Navigator installed) to open files that aren't "internet files", like word processing documents. <br />
I can't help you directly with Office, as I use Open Office, but there should be a preference for that Plugin within your Office preferences or options under something like Internet, to have those files '''Display documents in browser'''. <br />
Or see this to make sure you have your "file type" set correctly. <br />
http://support.mozilla.com/en-US/kb/Managing+file+types -
I downloaded a word file from an inbox mail (the mail app) onto my iPad, where is this file stored? How can I delete it if it takes up space in my iPad? Any ideas??
Did you ever figure out what happened?
I had the same experience as you did, but in my case it was a big fat pdf that Mail insisted I had to download before I could view it. As happened with you, I saw the file actually downloading, and after a time I was able to view the pdf. It's been my assumption that the pdf is still somewhere on my iPad, but I have no idea where, nor how to delete it if it is still there.
Thanks. -
Question
When I opt to "download this as a file" from my email account, Firefox defaults to notepad to open the file. How can I change the default to MS Word?Is FF downloading the file as a .txt file? If so, go to "Folder Options" in the windows control panel. Click on the "File Types" tab. Scroll down until you reach the TXT file extension. Look to see what that extension opens with (lower part of panel). It probably shows notepad. Click on the <Change> button. Scroll down until you find "Microsoft Word." Select it and click the <OK> button. That should show the TXT extension is now associated with Microsoft Word. Click the <Close> button at the bottom of the panel.
If FF is downloading the file as any other type, use the same process as above except look for the corresponding extension instead. If the extension is not listed click on the <New> button and create an association using the extension in the file name and then associate it with MS Word.
davewdan -
when trying to upload a MS word file (.docx) to gmail, it uploads as a 'folder' that doesn't contain the original document when i try to download it back from the e-mail. how do i set the format to simply upload the document itself??? Thanks...
Yes, excuse me. attach a file. I have separate folders on my desktop to organize my word documents, so I'm guessing this might be a part of the problem. When I go to attach one of these documents into gmail, the resulting attachment is another folder icon (not the original organizational folders) with 4 subfolders containing a slew of .xml files reading things like "header.xml" "format.xml" "settings.xml" "style.xml" "contenttype.xml" There are also a few .jpegs and a small folder reading "word" as one of the subfolders.
-
How do I download a Adobe PDF file and get it converted to a Word document?
How do I download a Adobe PDF file and get it converted to a Word document?
Download: you just download it as you would any other document.
Convert to Word: either using the ExportPDF online service, or Acrobat. -
Download problem with JSF: Cannot open PDF-file after opening WORD-file
Hello,
I have a JSP (created with Java Studio Creator) which displays a table with links to different files. Some links open PDF-documents, other for instance DOC-files (msword). I download the file as follows:
public String downloadFile(String fileName) {
try {
int dotIndex = fileName.lastIndexOf('.');
String fileExtension = "";
String contentType = "";
if(dotIndex > 0) {
fileExtension = fileName.substring(dotIndex+1, fileName.length());
contentType=CONTENT_TYPES.get(fileExtension.toUpperCase()).toString();
if(!fileExtension.equals("") && !contentType.equals("")) {
// method that reads file to the byte array
byte[] fileContent = getContentOfFile(new File(fileName));
FacesContext faces = FacesContext.getCurrentInstance();
HttpServletResponse response = (HttpServletResponse) faces.getExternalContext().getResponse();
response.setContentType(contentType);
response.setContentLength(fileContent.length);
response.setHeader("Content-disposition", "inline; filename=\""+fileName+"\"");
try {
ServletOutputStream out;
out = response.getOutputStream();
out.write(fileContent);
} catch (IOException e) {
e.printStackTrace();
faces.responseComplete();
catch(Exception ex) {
return ("!!!ERROR: downloadFile(fileName) - Could not completely download file "+ fileName + ex.getMessage());
return "";
contentType is application/pdf if it`s a PDF-file or application/msword if it`s a word-file.
fileName contains the full file path.
link-properties:
<ui:hyperlink action="#{showOriginalPDF.hyperlinkShowPDF_action}" binding="#{showOriginalPDF.hyperlinkShowPDF}"
id="hyperlinkShowPDF" immediate="true" onClick="testSubmit()" target="_blank" text="#{currentRow.value['display']}"/>
and the code of the JS-function testSubmit() (without this function I couldn�t get the right row selection in the hyperlink-table):
function testSubmit() {
document.getElementById('form1').submit();
return false;
All pdf-links are working fine and the correct document is displayed in a new browser window. but if I open a WORD-document and after that I click on another link to a pdf-file, the WORD-file is loaded again in the new window. Only if I close the window which contains the WORD-document, I can download the correct pdf after that.
Is something wrong with the response header (I tried "attachment" instead of "inline" too but without effect)?
Can anybody help?More than you asked for but good stuff. Permissions is buried in there somewhere.
Reading
[Resolve startup issues and perform disk maintenance with Disk Utility and fsck|http://docs.info.apple.com/article.html?artnum=106214]
[Using Disk Utility in Mac OS X 10.4.3 or later|http://docs.info.apple.com/article.html?artnum=302672]
[Disk Utility's Repair Disk Permissions 10.0-10.6|http://docs.info.apple.com/article.html?artnum=25751]
"Try Disk Utility" (modified from [http://support.apple.com/kb/TS1417])
1. Insert the Mac OS X Install disc that came with your computer (Edit: Do not use this disc if it is not the same general version as what you have currently on your computer, e.g. use a Tiger disc for a Tiger drive, not a Panther disc), then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
3. Click the First Aid tab.
4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
5. Select your Mac OS X volume.
6. Click Repair. Disk Utility checks and repairs the disk.
Then boot in Safe Mode, (holding Shift key down at bootup; takes longer to boot this way so be patient), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
[Mac OS X: Starting up in Safe Mode|http://docs.info.apple.com/article.html?artnum=107393]
[What is Safe Boot, Safe Mode? (Mac OS X)|http://support.apple.com/kb/HT1564]
[Safe Boot takes longer than normal startup|http://docs.info.apple.com/article.html?artnum=107394]
[Mac OS X 10.4, 10.5- Computer shuts down during Safe Boot|http://support.apple.com/kb/TA24054] -
Every word or excel file I try to download from an e mail instead of getting the file name.doc or xlsx, I get the downloaded file address - DisplayMessage.aspx which is just a blank webpage. It doesn't matter which version of word or excel is used and it happens with every download. Basically I cannot download any files in Firefox but in my ISP which is AOL - there is no problem at all with downloading the files from the same e mails.
Thanks for getting back to me. Basically I get an e mail on AOL mail and until now no problem - I right click and the option I get then is 'save page as' so that brings up a list of my word or excel files - the 'save as' option box - so you normally get the word or excel file address appearing in the top box and the file extension in the bottom box just as if you were opening a file in word or excel. I've done it thousands of times but it no longer works in Firefox. However if I log directly into AOL and say download and again up comes the excel or word files and no problem - only on Firefox is there an issue and it seems to be since the last update - on both my desktop and laptop
-
How can I store a word file in database and other one download this file
My dears:
I want to upload a word file at my form then store in database
and other one user want to download this file
I Use developer 10g R2
Database 1og
thanks moreIf you take a look at the WebUtil page, there is a demo which can be downloaded. Look carefully at the option to upload to DB. If you want to manipulate the doc you can use OLE. This is also offered as part of the example.
http://www.oracle.com/technetwork/developer-tools/forms/webutil-090641.html
Be sure to carefully review the included ReadMe file as it includes some minor configuration required to use file upload/download functionality. -
I would like to know where I can download the captioned required free trial for WinXP from your website which can help me to convert the word file to pdf file.
That would be Acrobat. anyway, if you just want to print to PDF, you can find enough free tools like GhostScript...
Mylenium
Maybe you are looking for
-
Error in using Sprytooltip for displaying collapsible panel
I have made a tabbedpanel, and when i click on it or placed an mouseover it submenu bar will appear and then when i click or place mouseover submenu items collapsiblepanel will appear.I have tried this by using sprytooltip concept. I am facing
-
HP 2600n - Utility Gone After 10.5.1
I have an HP 2600n and a 3600n (at different office locations) - both Airport networked with 3 other Macs at their respective locations; all running 10.5.1 (except 1 G3 at 10.4.11). The quandary: Since 10.5.1, the 2600n no longer has a utility (activ
-
Error Messages.. in the console? should I be alarmed
I have been having problems using Safari & Apple suggested Firefox instead . Looking in my error Console within Firefox, I get the following messages.. Should I be alarmed>? THESE ARE ONLY A FEW I PASTED:--- Warning: Unknown property 'behavior'. Decl
-
Dropdown within a repeatable subform item propigation question
I have a repeatable subform with a dropdown and an "Add Subform" button. The user enters various information into the subform and may either select an existing item or enter custom text into the dropdown. Then the Add Subform button is pressed. On th
-
Three-Finger Dictionary only shows one reference source
Hi all After I upgraded to Yosemite 10.10.2 I got this problem. As I mentioned in title, before 10.10.2 I could see different references results (like wikipedia, apple dictionary ...) when I used Three-Finger Dictionary. But now when I do the same on