How to  download the content to a PDF source file.

Hi All,
I am using FileDownload UI element in the ADOBE  interactive to download the content to a PDF file.
Please help me how to download content to a PDF file.
Thanks,
Archana.

hi Archana,
you will get the byte format of the pdf form the pdf source attribute , create  a resource using that byte data of type pdf as following
IWDResource iwdResource = WDResourceFactory.createResource(wdcontext.currentContextElement().getPdfSource(), "resource name", WDWebResourceType.PDF);
create a context element say fileresource of type iwdresource.
set it's value as following.
    wdContext.currentContextElement().setFileResource(iwdResource);
and do the following code on the action of the download button.
public void downloadFile( )
    //@@begin createExternalPopup()
    // get the resource from the context
    IWDResource resource = wdContext.currentContextElement().getFileResource();
    //create an external window. A download dialog should appear
    IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(resource.getUrl(WDFileDownloadBehaviour.AUTO.ordinal()) ,"Title");
    //@@end
with regards
shanto aloor

Similar Messages

  • How to download the script data into pdf file

    how to download the script data into pdf file
    i have one option to download the script data to pdf file --->rstxpdft4 program.
    i have one doubt how to use this proogram.or any function module to download the script data to pdf file.
    Thanks and regards,
    Sri.

    Hi      Sri Sai,
    I know one method to convert the sapscript to pdf file :
    first generate a Spool Request for the required Sapscript
    then goto transaction SP01 and copy the generated Spool Request number
    now execute the SAP report RSTXPDFT4
    here enter the copied Spool request number and the target directory into the parameters
    execute the report
    required pdf file will be generated into the target directory
    i hope it will help you out
    Please refer this simple program:
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    Reward points if found helpful....
    Cheers,
    Eshwar.

  • How can I change the size of a pdf source file, or, convert it to Word?

    How can I change the size of a pdf source file, or, convert it to Word?

    A lot depends on the form of the PDF. Is it graphics, a scan of a text file, pure text, or other? What version of Acrobat are you working with.
    You can do a save as to get a WORD file, but do not expect great results. The ability to get a decent WORD file depends on what the form of PDF you are working from. If it was created from WORD with tags and all, you might get good results. If not, you might get a lot of messed up results.
    Explain what you are starting with and your ultimate goal. Also check the audit of the file (should be under PDF Optimize) to see where the file information is concentrated (text, fonts, graphics, other).

  • How to view the content (contained objects) of transport files without importing?

    Hi,
    we do often receive transport files (DATA and CODILE) from third parties.
    If is is done correctly the supplier of the transport files devliver also additional information about the detailed content of the transport, e.g object lists as plain text file, so that we are informed which objekts will be imported in advance.
    But some suppliers don't. Or we want only check, if additional info and real transport content match.
    So for that reason  I am looking for a possible way to view the object list of such transports without adding it to the import queue or importing it to a sandbox system or even add it to the import buffer..
    Most likely this should be done by a standalone tool (on Windows) or a tool running on SAP accessing the transportfiles (preference: stored only on the client PC  and not added to the transport directory)
    So my question is: Is there any tool that can extract the object list from the transport files and display it?
    Helst regards
    Helmut Fischer

    Helmut,
    If you don't have access to the server console, it might be possible to 'trick' tp into working from a workstation, but I wouldn't bet on it. You'd have to fake up a profile for it. I haven't tried this.
    Peering into the contents of a delivered transport file would be something that your Basis team would typically do. My suggestion is to work with them, either to use tp command-line option from the server console, or if that's not reasonable, then yes, go ahead and add it to the import queue of one of your sandbox systems. You can always delete it from the queue again later. If you don't actually import it, it isn't going to hurt anything.
    To do any of these options is going to require some level of filesystem access to your transport host, as you need to copy the two files that make up the transport there. You need to put the 'K' file into \usr\sap\trans\cofiles and the 'R' file into \usr\sap\trans\data. Then, you can either use the tp command-line tool, or you can go into STMS, go into the import queue of any system in the transport domain (so a sandbox is fine), and use Extras... Other Requests... Add and type in the transport request ID. Yes, this adds some entries about the transport into a few tables, but it doesn't actually import the transport, and it doesn't change anything about your system. It just allows the transport to show up as importable in the queue, and that will make it so that you can read the object list of the transport. Then, if you decide not to import it, you can delete it from the queue, and your system is back to the way it was before. Also, doing this will not put the transport into any other system's queue. Even if you import the transport (into a sandbox system), it won't show up in any other system's queue until you forward it.
    Regards,
    Matt

  • URGENT: How to read the content of a PDF-file in Java?

    Hello
    What I need are some classes which can read a pdf and translate it in normal Text, so that I can write the content of the pdf in my database.
    Where can I find those classes? Or how else could I get there?

    www.lowagie.com/itext
    www.etymon.com/pj
    www.retep.org.uk/pdf
    www.pdflib.comwww.pdfzone.com
    www.planetpdf.com
    www.purepdf.com
    www.adobe.com
    www.pdfstore.com
    www.adobe.com/proindex/acrobat/formsresources.html
    www.partners.adobe.com/asn/developer/acrosdk/forms.html
    www.rrsys.com
    www.javafoundry.com/javapdf
    www.novagraphix.com/internet_publishing_with_acrobat/forms/forms_tutorial.html
    www.binarything.com

  • How to download the Contents of Spool Requests as one line into Local File

    Hello All,
    I am running a report (Tcode- MC40)in background and i want to download the output from Spool list .
    but the issue with me is, in spool the contents are displaying in 2 rows, where as i want to downlod the details in 1 row by filtering some fields as per my need. There is no option to download SINGLE LINE / DOUBLE LINE  as like if i run in foreground .
    If i run it In Foreground , there is option to see the ouput in SINGLE LINE/DOUBLE LINE ... Same way i want to downaload the spool in background , as the report takes much time , so it has to run in back ground...
    anyone please suggest any idea ??
    Thanks all.

    try :
        CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
          EXPORTING
            rqident              = i_spools-rqident
            first_line           = 1
            last_line            = 0
            desired_type         = ' '
          IMPORTING
            real_type            = real_type
            sp_lang              = sp_lang
          TABLES
            buffer               = so_ali
          EXCEPTIONS
            no_such_job          = 1
            job_contains_no_data = 2
            selection_empty      = 3
            no_permission        = 4
            can_not_access       = 5
            read_error           = 6
            type_no_match        = 7
            OTHERS               = 8.

  • MBP w/10.9.1, how to download the "Install OS X Mavericks" installer file

    My MBP runs 10.9.1, would like to make a bootable recovery USB and need the "Install OS X Mavericks" installer to download from mac app store into the applications folder but it won't download because I already have mavericks installed.

    You can redownload OS X Mavericks from the Mac App Store, so do it. You can do this even if OS X Mavericks is already installed.
    However, if the Mac App Store says that OS X Mavericks is installed and you cannot download the installer, it means that you already have got the installer, so go to Applications folder and you will find it there. Then, use DiskMaker X to create a bootable USB drive with the Mavericks installer.
    If you have got a Late 2013 MacBook Pro, note that you cannot download OS X Mavericks from the Mac App Store because that version is not supported. In this case, you cannot create a bootable USB drive, so you will only be able to reinstall OS X through the Recovery partition

  • How to download Oracle EBS patch to import source file  into FDQM

    Hello Experts,
    I am not able to find patches for importing source file from Oracle EBS into FDQM.Actually I have HFM,FDQM,ESSBASE,Planning,erp,epm,calculationManager in my virtual machine.I didn't Install Oracle EBS
    Please tell me how to import source file from Oracle EBS like Flatfile from HFM into FDQM and share me what I need to install regarding EBS to Import and register the EBS adapters.It's urgent please share asap.
    Thanks in advance.....

    There are not any EBS Adapters for FDM.
    If you are just importing a source file from EBS, you would need to setup an import format to parse the source file in FDm and then assign the import format to the location that will be used to load the target system and run the import process.
    If you are looking to pull directly from EBS, you would need to use ERP Integrator (ERPi) to connect to oracle EBS and then use the ERPI adpater in FDM to pull the data from ERPI into FDM.
    Can you be specific on what you are looking to do?

  • How to download Reader 11.0.7 MUI source files?

    Have obtained Software Distribution Agreement from Adobe and received email link however there is no link to download MUI version of Reader 11.0.7 source files?
    Can someone please provide the link for this installation version?
    Thanks

    By "source files" I mean the redistributable installer for Adobe Reader MUI Ver11.0.7 as presently we only have the older Ver.11.0.0 MUI redistributable.
    After applying for the "Adobe Software Distribution Request" and having received the Distribution Agreement from Adobe the links provided therein do not take us to a download site where we can obtain the MUI version and so far we've been unable to locate this site via the Adobe support area.
    We do not wish to have to download a separate installer for each language we currently support which at this time numbers 14 languages and presently this seems to be the only option available to us via the email supplied from Adobe? In other words we seem to constantly find ourselves at a standard download location that requires us to select our OS/Language required given this is supposedly an Enterprise download location we're a little confused as to why the MUI version is not an option?

  • How to download the report output  into PDF format

    Hi friedns
    from the report output when user clicks download button
    it has to download to PDF format
    how to do this
    thanks in advance
    venu

    hi venu,
    check this sample code
    Save Report Output to a PDF File
    This report takes another report as input, and captures the output of that report. The output is then converted to
    PDF and saved to a local file. This shows how to use some of the PDF function modules, as well as an easy way to
    create PDF files.
    Source Code Listing
    report zabap_2_pdf.
    *-- Enhancements: only allow to be run with variant. Then called
    *-- program will be transparent to users
    *-- TABLES
    tables:
    tsp01.
    *-- STRUCTURES
    data:
    mstr_print_parms like pri_params,
    mc_valid(1) type c,
    mi_bytecount type i,
    mi_length type i,
    mi_rqident like tsp01-rqident.
    *-- INTERNAL TABLES
    data:
    mtab_pdf like tline occurs 0 with header line,
    mc_filename like rlgrap-filename.
    *-- SELECTION SCREEN
    parameters:
    p_repid like sy-repid, " Report to execute
    p_linsz like sy-linsz default 132, " Line size
    p_paart like sy-paart default 'X_65_132'. " Paper Format
    start-of-selection.
    concatenate 'c:\'
    p_repid
    '.pdf'
    into mc_filename.
    *-- Setup the Print Parmaters
    call function 'GET_PRINT_PARAMETERS'
    exporting
    authority= space
    copies = '1'
    cover_page = space
    data_set = space
    department = space
    destination = space
    expiration = '1'
    immediately = space
    in_archive_parameters = space
    in_parameters = space
    layout = space
    mode = space
    new_list_id = 'X'
    no_dialog= 'X'
    user = sy-uname
    importing
    out_parameters = mstr_print_parms
    valid = mc_valid
    exceptions
    archive_info_not_found = 1
    invalid_print_params = 2
    invalid_archive_params = 3
    others = 4.
    *-- Make sure that a printer destination has been set up
    *-- If this is not done the PDF function module ABENDS
    if mstr_print_parms-pdest = space.
    mstr_print_parms-pdest = 'LOCL'.
    endif.
    *-- Explicitly set line width, and output format so that
    *-- the PDF conversion comes out OK
    mstr_print_parms-linsz = p_linsz.
    mstr_print_parms-paart = p_paart.
    submit (p_repid) to sap-spool without spool dynpro
    spool parameters mstr_print_parms
    via selection-screen
    and return.
    *-- Find out what the spool number is that was just created
    perform get_spool_number using sy-repid
    sy-uname
    changing mi_rqident.
    *-- Convert Spool to PDF
    call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
    exporting
    src_spoolid= mi_rqident
    no_dialog = space
    dst_device = mstr_print_parms-pdest
    importing
    pdf_bytecount = mi_bytecount
    tables
    pdf = mtab_pdf
    exceptions
    err_no_abap_spooljob = 1
    err_no_spooljob = 2
    err_no_permission = 3
    err_conv_not_possible = 4
    err_bad_destdevice = 5
    user_cancelled = 6
    err_spoolerror = 7
    err_temseerror = 8
    err_btcjob_open_failed = 9
    err_btcjob_submit_failed = 10
    err_btcjob_close_failed = 11
    others = 12.
    call function 'DOWNLOAD'
    exporting
    bin_filesize = mi_bytecount
    filename = mc_filename
    filetype = 'BIN'
    importing
    act_filename = mc_filename
    tables
    data_tab = mtab_pdf.
    FORM get_spool_number *
    Get the most recent spool created by user/report *
    --> F_REPID *
    --> F_UNAME *
    --> F_RQIDENT *
    form get_spool_number using f_repid
    f_uname
    changing f_rqident.
    data:
    lc_rq2name like tsp01-rq2name.
    concatenate f_repid+0(8)
    f_uname+0(3)
    into lc_rq2name separated by '_'.
    select * from tsp01 where rq2name = lc_rq2name
    order by rqcretime descending.
    f_rqident = tsp01-rqident.
    exit.
    endselect.
    if sy-subrc ne 0.
    clear f_rqident.
    endif.
    endform." get_spool_number
    Regards,
    Naveen

  • How to download the attachment text to local file.

    Hi Xperts,
    My requirement is at the time of workitem execution, Approver can write the attachment with the reason for Rejection.
    Now, I need to down load that attachment content to local file and then that content needs to be updated in the PO Header changes.
    I can able to get the attachment files' title, size and everything from the DB Table SOOD. But there is no Attachment's content is getting updated in that table.
    Will you pls let me know how to download the content of the attachment to a local file from the sap.
    ThanX in ADvance.
    Krish.

    HI Arghadip Kar,
    By using the Function Module SAP_WAPI_GET_ATTACHMENTS, we can get the Object id of the attachment, but not the content of the Attachment.
    But, my requirement is to get the content of the attachment.
    Best Regards,
    Krishna.

  • How to download the blocked ALV output to PDF file.

    How to download the blocked ALV output to PDF file.
    I am able to download the BLocked ALV output in PDF format,
    but the each bolck in ALV is displaying different pages of PDF.
    In my report I have 4 block in 1 page, I am able to see the output in PDF but in different page.
    How to avoid the Page-break in PDF.
    Thanks,
    Ravi Yasoda.

    hi,
    I believe that your have 4 containers on the screen with individual ALV display. in this case, there is no way to get combined PDF output to my knowledge.
    However you can use Smartform/Sapscript as output which would allow you to display ALV in blocks and also print it in one.
    Regards,
    Nirmal

  • How do I upgrade my account for adobe forms so I can download the submissions to a PDF?

    How do I upgrade my account in adobe forms central so I can download the submissions to a PDF?

    Hello,
    I am sorry to inform you that it is not possible to purchase an Adobe FormsCentral subscription, as this service is retiring on- July 28 2015. It is not possible to upgrade the FormsCentral subscription, only existing users can use the service till retirement.
    Please visit the links mentioned below:-
    FormsCentral is retiring | Adobe Acrobat Blog
    FormsCentral: Retirement FAQ
    Regards,
    Nakul

  • Is it possible to extract the contents of any PDF file using Adobe PDF SDK?

    Is it possible to extract the contents of any PDF file using Adobe PDF SDK?
    For Example: There is one pdf file. Let us say xxx.pdf with 32 pages. I am interested in only in a topic present at 10th page. Can I extract this information and save it into another pdf file (means new pdf file)?

    Thanks Irosenth,
    I am actually interested in extract the page and create a new PDF with that page. But still there is a catch that on which basis the page needs to extract either on PAGE number OR on Bookmark basis.
    But here in this scenario assume I am looking for the PDF file, now I want to save only page 5. How can I extract page 5 automatically/programmatuically? Or in simple word how can I get the reference link of page 5?
    Here I am not getting clear picture that Do I need both SDK Adobe & Acrobat to achieve this requirement. And more over you have mentioned that SDK itself is free. But on Adobe side it is mentioned that it is available by license only with this I have another doubt: To work my desktop/system application with Adobe PDF library, this library needs to distribute with the application. So in this case will it be chargeable for each and every deployment.
    Could you please provide me the link from where I can download the SDK? So that I can do some excerise with SDK to figure out the exact flow of functionality to work with my application.

  • HT1320 how to download the music on my ipod classic to my pc

    how to download the music on my ipod classic to my pc

    Some of the information below has subsequently been summarized by turingtest2 in the post at https://discussions.apple.com/message/18842615
    Your i-device was not designed for unique storage of your media. It is not a backup device and media transfer was designed for you maintaining a master copy of your media on a computer which is itself properly backed up against loss. Syncing is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchased content.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only media purchased from iTunes Store
    For transferring other items from an i-device to a computer you will have to use third party commercial software. Examples (check the web for others; this is not an exhaustive listing, nor do I have any idea if they are any good):
    - Senuti - http://www.fadingred.com/senuti/
    - Phoneview - http://www.ecamm.com/mac/phoneview/
    - MusicRescue - http://www.kennettnet.co.uk/products/musicrescue/ - Mac & Windows
    - Sharepod (free) - http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2 - Windows
    - Snowfox/iMedia - http://www.mac-videoconverter.com/imedia-transfer-mac.html - Mac & PC
    - iexplorer (free) - http://www.macroplant.com/iexplorer/ - Mac&PC
    - Yamipod (free) - http://www.yamipod.com/main/modules/downloads/ - PC, Linux, Mac [Still updated for use on newer devices? No edits to site since 2010.]
    - 2010 Post by Zevoneer: iPod media recovery options - https://discussions.apple.com/message/11624224 - this is an older post and many of the links are also for old posts, so bear this in mind when reading them.
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive - https://discussions.apple.com/docs/DOC-3141 - dates from 2008 and some outdated information now.
    Copying Content from your iPod to your Computer - The Definitive Guide - http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/ - Information about use in disk mode pertains only to older model iPods.
    Get Your Music Off of Your iPod - http://howto.wired.com/wiki/Get_Your_Music_Off_of_Your_iPod - I am not sure but this may only work with some models and not newer Touch, iPhone, or iPad.
    Additional information here https://discussions.apple.com/message/18324797

Maybe you are looking for

  • Tabbed Panel - prevent page content being pushed down

    What is the setting to prevent an open tab from pushing content down that is below it. Rather, just have the tabbed content be presented above the content on the page. In other words, have it behave like a menu bar with drop down boxes. Thanks for an

  • HOW TO VIEW BLUETOOTH IMAGES FROM A LAPTOP?

    MY COUSIN SEND 6 PICTURES FROM HER LAPTOP TO MY IPAD AIR 2 BUT WE DONT KNOW WHERE THE PICTURES GOES, WE DIDNT SEE THE 6 PICTURES FROM THE PHOTOS.. SO HOW AND WHERE CAN WE VIEW IT?

  • Split Brain Problem

    Dear All, RAC Database Version is 10.2.0.3, and Operating System is SPARC5.10. The Database use Veritas Sun Cluster. Voting Disk Size = 10MB Yesterday, it experienced Split Brain Problem. Each Node Assumes it is the only surviving member of the clust

  • Multiple CatalogURL's for Software Updates

    I am using Workgroup Manager to set the CatalogURL for software updates.  Can I set multiple url's for software updates so if one address is not reachable the client will look for the next URL?

  • What will happen if i install lollipop from another region ?

    Hello guys, I have Z2 and it seems that sony has released lollipop for nordic regions (http://forum.xda-developers.com/xperia-z2/general/lollipop-690-z2-z3-z3c-t3056997) but mine is UK version. (not carrier locked or something) I wana know if its saf