Smartform open in pdf instead of download

Hi,
Is there a way to open a smart form in directly pdf instead of downloading it to a directory using ws_download?
Thanks,
~Mark

May something like this way
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZTEST'
IMPORTING
FM_NAME = V_FORM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
W_CTRLOP-GETOTF = 'X'.
W_CTRLOP-NO_DIALOG = 'X'.
W_COMPOP-TDNOPREV = 'X'.
CALL FUNCTION V_FORM_NAME
EXPORTING
CONTROL_PARAMETERS = W_CTRLOP
OUTPUT_OPTIONS = W_COMPOP
USER_SETTINGS = 'X'
IMPORTING
JOB_OUTPUT_INFO = W_RETURN
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
I_OTF[] = W_RETURN-OTFDATA[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
IMPORTING
BIN_FILESIZE = V_LEN_IN
TABLES
OTF = I_OTF
LINES = I_TLINE
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
ENDIF.
lt_otfdata[] = I_OTF[].
call function 'SSFCOMP_PDF_PREVIEW'
exporting
i_otf = lt_otfdata
exceptions
convert_otf_to_pdf_error = 1
cntl_error = 2
others =
But I am not 100% sure about.

Similar Messages

  • FIREFOX OPENS RAR FILES INSTEAD OF DOWNLOAD

    I'm using Firefox 21. When I try to click in a rar file link, firefox opens the file instead of download.
    I've tried to change in "Tools->Options-> Aplications" the actions taken by the browser depending of file types, but there is no case for rar files and I cannot add it.
    Anyone can help?
    Thanks in advance

    This can happen if the server isn't configured properly and sends the file as text/plain.
    You should be able to verify this in Tools > Page Info > General
    *Press the F10 key or tap the Alt key to bring up the hidden "Menu Bar" temporarily.
    In such a case you can't left-click a link, but need to use the right-click context menu and use "Save Link As"

  • Opening a PDF file without downloading first

    I have version 9.5.5 on my Apple desktop & my laptop. When I open a PDF document on my laptop, a window opens and asks if I want to save or open on screen. I like this feature, however on my desktop I do not get the choice, it goes to download only and I have to open from that folder. I compared preferences between the 2 computers and they are the same. Could not find a preference allowing a choice in opening a document. Can anyone help? I'm sure there is a simple solution.

    I normally use Firefox, but sometimes Safari. I have both on both computers

  • Set Adobe Reader iPad/iPhone app to just view pdf instead of downloading it?

    Hello,
    I work for a financial company and it seems that some of our user's were having trouble viewing a pdf document that contained editable text boxes.  The layout of the form itself would show, but none of the text within the text boxes would appear.  So I tested the pdf out on my phone as well and did the same exact thing (layout shows, but no text).   Since everyone was having trouble viewing the text within the document, I downloaded the Adobe Reader App and it worked perfectly.  The only issue that I have is that since we are a financial institution, we get audited quite often and having documents stored on your phone is a big 'no-no' to the auditors.  So I was wondering if it was possible to make the Adobe Reader App just view the pdf instead downloading the pdf to the application and storing it in the docs and the recent docs setting.  A little more info on our part:   We are running Exchange 2010, my iPhone is a 4S and it's running the ios7, and the iPad is running ios 6.1.03 (I think).  Also, I did a little bit of searching but I could find anything but is there some sort of list that will say what does/does not work in regards to pdf's on iPhones or iPads?  Any suggestions/help is very welcome and appreciated!
    Thanks,

    Hi Shradha and thank you for that information.  Now is that only in regards to the Adobe Reader app or does that copy expand to all current pdf viewer apps on iOS?  If it is only in regards to the Adobe Reader app, then do you know of an app that may have the functionality that I am looking for?  I have tried searching for one, but I have been unsuccessful in my searches.
    Thanks,

  • Unable to open existing PDF files after downloading Adobe reader

    I have an Advent 7085 PC with Windows XP Home version 2002 service pack 2. After downloading the latest Adobe Reader 8 I cannot open any of my existing PDF files, nor can I open any new ones. I have several times downloaded it, tried it and found it doesn't work so have then deleted it from the system and rebooted. Downloaded again only for the same thing to happen again. Error message says that Adobe Reader 8.1 has encountered a problem and needs to close. Then I am advised to let microsoft know of this problem.
    Please!!! Is there anybody out there who knows what the problem might be and help me resolve it?
    Thanks
    IG

    I finally called tech support and this is what we did and it worked for me...First go to start/control panel/add&remove programs. Once the program list is configured, hilite Adobe reader and select remove. Once the program is removed, from the control panel select user accounts. Set up a new user account "test". Through user "test" go into www.adobe.com and select icon to download adobe reader. You do not need to run media player, remove check unless you want to download it. After program is downloaded and copied you can close out of adobe. At that point I was able to open my PDF files without any error message. Tech advised me to keep the "test" user set up, doesn't hurt anything to have it there. He told me that there probably was some settings under my user account that was causing a glitch in the download and that is why we opted to download through a new user account. BTW the tech support was free if you still can't get it to work. Good Luck

  • Update opens Windows Explorer instead of download iOS 5...

    When I connect my iPad 2 (4.3.3) to iTunes (10.5), then select Update, it opens Windows Explorer instead of looking for the update from Apple.  How can I get it to download iOS 5?  I am using 32-bit Windows 7 Enterprise.

    It typically opens the default browser regardless of which browser you're actually using.  I'm wondering if there's a funky registry key or something that confuses things for your system.
    Either way, we usually launch the default system browse, which is not necessarily the browser you started the installation with.  This is a long-standing bad experience, and something that I complain to the team that makes the installer about on a regular basis.  Everyone involved recognizes that the behavior is less than ideal, but it's a fundamental design problem and it's not something that can be addressed with a simple fix.  It *is* very much on the radar as something that we want changed, and I'm pretty sure that it will get resolved in the installer over the long-term.
    In the meantime, if you would like to avoid the Flash Player upgrade process entirely, Google Chrome includes Flash Player as a built-in component.  There's nothing separate to download from Adobe, and all the updates are made available directly through Chrome's update mechanism.

  • FileReference: Want to force the browser to open a File Instead of Downloading it

    Hello
       I am using the FileReferece class for downloading a file. The download() method prompts for saving the file on the file system.
    Instead of downloading a file, I want the browser to open it based on  its extension. So if a file is test.xyz, then it should be able to open it using an installed application which understands to handle these files.
    Any ideas on how this can be done.
    Any help is appreciated
    thanks

    Because you made a layer, and JPEG doesn't support layers.
    Turn off the "preserve cropped pixels" option in the crop options, or just flatten your document so you can save it as JPEG.

  • How can I open a pdf document after downloading is complete and there is no screen reference to file name?

    I'm having a problem trying to locate a downloaded PDF file.  I'm using Windows 7, and have Adobe Reader XI installed.  From a given site some downloads  will appear with a listing of individual pages within the document, or there will be a window appearing that has a series of icons to print or scroll, etc.  At other times, from the same source & type of document, I will get a representatrion of doanload progress, then a "DONE" when completed.  There is no notification anywhere on my screen as to file name or where to look for this download.  I even go into "Documents", downloads, recent places, etc. to try and find a listing, to no avail. I also open Adobe Reader to see if there is any clue, again, to no avail. Incidentally, when Adobe Reader opens, there isn't any provision for scrolling, yet there appears to be additional  information below the bottom edge of my screen.  I sure would appreciate some help on this problem.

    On my Windows 7, with any browser, all downloaded files go into the Downloads folder.
    If you can't find your downloaded PDF docs, try a search for *.pdf

  • Link to open a file instead of downloading it

    Gentlemen,
    In my application I have included a file upload/download possibility, according to the How-to. I created a custom table, and put my uploaded files into it.
    It works very well.
    However I want to create a link (for example on the file name), which does not offer the possibility to download the previously uploaded file, but OPENS it, with the appropriate application (Word, Excel, Powerpoint).
    It is possible to execute this, or the user should download the files first ?
    If it is possible, then the changes can be saved to the original file ?
    Thanks for your help.
    Attila

    I believe the first question (open instead of save) is a browser preference and is a combination of the mime type (which you supply) and the user's browswer preference.
    I don't think you can get the second part without using webDAV or an OCX (AVI ?) control (windows only??)
    A-

  • How do I open a pdf file I downloaded on my Android tablet?

    ''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/1029054 /questions/1029054]''
    I can open most downloads, but I click on open and nothing happens. What do I have to do to open PDF file?

    At the present time, iCloud doesn't sync pdfs to your other devices.  Open the iBooks app on your iMac, control-click on the pdf and choose Share>Mail, email it to yourself, then open the email on your iPad, tap and hold on the pdf attachment and choose open in iBooks.  On your MacBook Pro, open the email, save the attachment on your desktop, open the iBooks app and go to File>Add to Library, navigate to the pdf on your desktop and click Add.

  • I cannot download a pdf - instead of downloading, firefox takes me to a map of my computer to select an application - I do not understand!

    when I click on a link on a web page, and it is a pdf, I get taken to a list of my own hard drive, and am asked to select an application. I have to use safari to download anything!
    == This happened ==
    Every time Firefox opened
    == a month a go

    Firefox doesn't display PDF files, it needs to be told which program you want used to open PDF files. See this:
    [http://support.mozilla.com/en-US/kb/Managing+file+types]

  • Cannot open any pdf files since downloading reader to mac

    I have now downloaded reader 9.1 four times to my mac (0S 10.14.1) I have attempted to open credit card statements and i get the black screen with the loading circle in the middle but no statement appears. I've waited a reasonable amount of time so but still no statement. When I downloaded reader I am not getting the user agreement. Any help is most appreciated. I hate change!

    Have you copied the files you want to open to your hard disk? Have you tried opening any of those files from within Reader, and not by double clicking on their icons?

  • How do I get Firefox for Android to OPEN a document instead of Download it?

    I have an android tablet and am using a web application that has links to Word documents. I need this to be very simple for the end user. By default Firefox downloads the file (which is on a share on our server). The user then has to find it and open it - too many steps.
    I cannot find Tools/Options/Application as there is on the Windows version.

    From where you try to download Firefox for Android?
    Download it from [https://play.google.com/store/apps/details?id=org.mozilla.firefox here]

  • I seem to not be able to open up pdf files I downloaded

    ...anyone else having the problem?  I have tried with Safari & with Firefox.  The files DO download, but then I cannot open them.  I was able to force open a file using adobe reader, but preview seems to have stopped working with downloads though works great when I open other files, just won't do anything with downloaded files.  This just began tonight.
    Any ideas?
    Paulina

    If Preview and Adobe Reader have problems opening the file then there is a problem with the file you downloaded. Could be a problem eminating from the web site you downloaded the file from.

  • SAFARI DOES NOT OPEN CERTAIN WEBPAGES, INSTEAD DOWNLOADS ASPX EXTENSIONFILE

    Safari doesnot open certain webpages, instead it downloads a file with .ASPX extension.
    I opened the Mac in safeboot and run Disk Utility and repaired Disk permissions under it. In safe boot, safari (or other) browser opens all the webpages very well, but when I open the system in normal mode, again .aspx issue appears.
    I am getting so upset with the system. Can you please help me?
    Thank you in advance

    We had this problem on a few websites over here and in our case the administrators of the pages had to make some changes to the pages to make them Safari compatible.
    A workaround we used in the meantime was to set Acrobat to open aspx files using the finders Get Info window.
    Then we set Firefox as the default browser.
    Then when we clicked on ASPX links the files downloaded to the disk and when we double clicked them in Firefoxes downloads window they opened in a PDF window inside Firefox.
    I hope you get what I'm talking about.
    H.
    Message was edited by: Hans Gunnarsson

Maybe you are looking for

  • Blue screen crash reinstalling quicktime on notebook

    Can anyone help? for a month and a half I have been trying to reinstall quicktime and itunes on my toshiba window xp laptop. Everytime I get a blue screen crash at the end of the quicktime install around where it says something like initializing quic

  • Ipod video screen discoloration?

    im not sure if this is normal or not so im checking. i have a 5g 30g ipod video. when i hold the screen at a slight angle, i see a big rainbow colored spot. when you look head on you dont see it but then if you angle it slightly it catches your eye.

  • Authorized songs

    My issue with authorization is I get the message with music that was copied from cd's(the round plastic disc) I own or borrowed and imported via my laptop. This only started after I got my third new one from Ipod(the other 2 died and apple replaced).

  • Regarding automatic

    iam creating a database table. in that table i need a field with data type automatic. is there any data type like auto matic. field name : user id data type : automatic. should i use any reference field or directly i can use automatic. where do we fi

  • Reset input using java script - any suggestions anybody - thanks.

    Hi, on one of my pages I am using few Date Pickers for user to pick the dates from the calendar. Since this application is used in different location I have disabled manual input (on load I have set its .readOnly = true). The problem that I have is t