Save PDF file automatically after generation

Hello,
I have a Print only PDF Form(for a Quotation) in WebDynpro, that runs for 20-22 pages at runtime. Now it takes a lot of time(sometimes around 5-7 minutes) to generate as its dynamic form .
The user doesn't wants to wait for so long and wants that the PDF should be automatically saved upon generation and he can continue his work.
We have to do this in WebDynpro since the backend is 4.70
I know its possible to save the PDF file from WebDynpro to a filesystem. But that is possible only after generation of WebDynpro.
Is there any way to automatically save the PDF file after its generated.
Is there ny method that is executed after the PDF is generated and before displaying the same.
Is this possible as a background task, like in ABAP it can write to a SPOOL.
Any inputs, source code examples will be helpful.
Regards,
Shubham

Hi Shubham,
You can use PDFObject in your code for the same.
Check 32 number tutorial for use of PDFObject in webdynpro.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/web dynpro sample applications and tutorials.htm
Regards,
Bhavik

Similar Messages

  • Can't print or save PDF files to hard drive after upgrading to Adobe Reader 10.1.3

    I upgraded to Adobe Reader 10.1.3 on my Mac with OS X 10.7.3. I can open PDF files on Internet, but can neither print them nor save them to my hard drive.

    I had the same problem and stumbled by accident on an odd way how to save the PDF file.
    After the PDF file is visible, press the key escape  “esc”. A new toolbar above the PDF file will appear. Press the “disc” icon next to the “printer” icon. A window drops down, and now you can save the PDF file in your download folder.

  • How to save pdf file in database

    Dear All,
    my application is forms 6i and database is 8i,requirement is that how to save pdf file in database and users can view through forms

    I'll apologize up front for the length of this post. I have a few database procedures I created that write a file to a BLOB column in a table as well as retrieve the BLOB from the column after it stored there. I have successfully stored many different types of binary file to the database using these procedures - including PDF files. I have not used these procedures in a Form so I can confirm that they will work, but theoretically they should work. I'm including the code for each procedure in this posting - hence the apology for the long post! :-)
    Also, since these procedures reside on the database you will need to use Forms TEXT_IO built-in package to write your file to the server before you can use these procedures to store and retrieve the file from the database.
    These procedures reads and writes a binary file to a table called "LOB_TABLE." You will need to modify the procedure to write to your table.
    -- Author :  Craig J. Butts (CJB)
    -- Name   :  load_file_to_blob.sql
    --        :  This procedure uses an Oracle Directory called "IN_FILE_LOC".  If you
    --           already have a directory defined in the database or would prefer to use
    --           a different Directory name, make sure you modify line 21 to reflect the
    --           new Directory name.
    -- ==================================================================================
    -- History
    -- DATE        WHO         DESCRIPTION
    -- 12/11/07    CJB         Created.
    CREATE OR REPLACE PROCEDURE load_file_to_blob (p_filename IN VARCHAR2) IS
       out_blob    BLOB;
       in_file     BFILE;
       blob_length INTEGER;
       vErrMsg     VARCHAR2(2000);
    BEGIN
       -- set the in_file
       in_file := BFILENAME('IN_FILE_LOC',p_filename);
       -- Get the size of the file
       dbms_lob.fileopen(in_file, dbms_lob.file_readonly);
       blob_length := dbms_lob.getlength(in_file);
       dbms_lob.fileclose(in_file);
       -- Insert a new Record into the tabel containing the
       -- filename specified in P_FILENAME and a LOB_LOCATOR.
       -- Return the LOB_LOCATOR and assign it to out_blob.
       INSERT INTO lob_table (filename, blobdata)
          VALUES (p_filename, EMPTY_BLOB())
          RETURNING blobdata INTO out_blob;
       -- Load the file into the database as a blob.
       dbms_lob.open(in_file, dbms_lob.lob_readonly);
       dbms_lob.open(out_blob, dbms_lob.lob_readwrite);
       dbms_lob.loadfromfile(out_blob, in_file, blob_length);
       -- Close handles to blob and file
       dbms_lob.close(out_blob);
       dbms_lob.close(in_file);
       commit;
       -- Confirm insert by querying the database
       -- for Lob Length information and output results
       blob_length := 0;
       BEGIN
          SELECT dbms_lob.getlength(blobdata) into blob_length
            FROM lob_table
           WHERE filename = p_filename;
       EXCEPTION WHEN OTHERS THEN
          vErrMsg := 'No data Found';
       END;
       vErrMsg := 'Successfully inserted BLOB '''||p_filename||''' of size '||blob_length||' bytes.';
       dbms_output.put_line(vErrMsg);
    END;
    -- Author   :  Craig J. Butts (CJB)
    -- Name     :  write_blob_to_file.sql
    -- Descrip  :  This procedure takes a BLOB object from a database table and writes it
    --             to the file system
    -- ==================================================================================
    -- History
    -- DATE        WHO         DESCRIPTION
    -- 12/11/07    CJB         Created.
    CREATE OR REPLACE PROCEDURE write_blob_to_file ( p_filename IN VARCHAR2 ) IS
       v_blob      BLOB;
       blob_length INTEGER;
       out_file    UTL_FILE.FILE_TYPE;
       v_buffer    RAW(32767);
       chunk_size  BINARY_INTEGER := 32767;
       blob_position INTEGER := 1;
       vErrMsg     VARCHAR2(2000);
    BEGIN
       -- Retrieve the BLOB for reading
       BEGIN
          SELECT blobdata
            INTO v_blob
            FROM lob_table
           WHERE filename = p_filename;
       EXCEPTION WHEN OTHERS THEN
          vErrMsg := 'No data found';
       END;
       -- Retrieve the SIZE of the BLOB
       blob_length := DBMS_LOB.GETLENGTH(v_blob);
       -- Open a handle to the location where you are going to write the blob
       -- Note:  The 'WB' parameter means "Write in Byte Mode" and is only
       --          available in the UTL_FILE pkg with Oracle 10g or later.
       --        USE 'W' instead for pre Oracle 10q databases.
       out_file := UTL_FILE.FOPEN('OUT_FILE_LOC',p_filename, 'wb', chunk_size);
       -- Write the BLOB to the file in chunks
       WHILE blob_position <= blob_length LOOP
          IF ( ( blob_position + chunk_size - 1 ) > blob_length ) THEN
             chunk_size := blob_length - blob_position + 1;
          END IF;
          dbms_lob.read(v_blob, chunk_size, blob_position, v_buffer );
          UTL_FILE.put_raw ( out_file, v_buffer, TRUE);
          blob_position := blob_position + chunk_size;     
       END LOOP;  
    END;Hope this helps.
    Craig...
    -- If my response or the response of another is helpful or answers your question please mark the response accordingly. Thanks!

  • I have just upgraded to OSX 10.6.8 and now I cannot open or save PDF files from the internet. I get a dialogue box saying the QuickTime plugin has failed. I have tried to download the latest plugin but this doesn't work. Can anyone help?

    I have just upgraded to OSX 10.6.8 and now I cannot open or save PDF files from the internet using either Safari or Firefox. I get a dialogue box saying the QuickTime plugin has failed. Can anyone help?

    Is this what you downloaded: iTunes 10.7?
    When the update fails what if any error report do you get, specifically? Please do this before trying again:
    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

  • How to remove  "save pdf file as" dialog in startdoc with adobe acrobat 6

    We set up pdfWriter as default printer and hope to generate pdf file with startdoc call. The existing code worked great on Adobe Acrobat 5. However, after we upgraded to Adobe Acrobat 6(complete install), the same code behaved differently. Somehow, startdoc always popped out a "save pdf file as" dialog box and ask for the file path but ignored the input path parameter(the pdf file was generated at the path that user manully input in).
    W do not like this dialog box at all and expect silent action. How to remove this annoying dialog box and make the old code working (taking the parameter as pdf file path)?
    Thanks for your help.
    JD

    Hi
    I accessed to a website from my uni library computer using my student account and download a pdf file in there. However, that pdf file contains a line of words saying "Accessed by ... University Library on 30 Mar 2007". This line is printed vertically and on the left side of the page.
    Do you know how to remove that line? I think the website just embedded that line into the file.
    Please help.
    Thank you very much.
    tuanduy

  • Save PDF File As dialog box not appearing

    I am running Acrobat 8 Pro on Windows Server 2008. I'm having a problem with the Adobe PDF printer. When I attempt to print a document to this printer, the "Save PDF File As" dialog box does not appear. The dialog box does open, but it is either hidden behind the running application or is minimized. I have to click the icon on the taskbar to bring the window to focus. This problem only occurs the first time I attempt to print after logging onto the computer. On subsequent print jobs the dialog box shows up fine.

    Is there a registry setting or anything that I can set to get rid of the 'Save Scanned File As' box.
    No.

  • Can i save pdf files onto playbook?

    is it possible to save pdf files onto the playbook? i tried downloading one from a website and it showed up in the active downloads from where i then opened it, but it didnt permanently save. i thought maybe the adobe reader could store it but it didnt. 
    also, is it possible to transfer and save pdf files from a pc onto playbook? 
    this was one of the major things i was hoping the playbook could do..may determine whether it's worth keeping

    It's not through the Blackberry Desktop Software that I am transferring PDFs, Word, Excel files onto the Playbook; only media synching is supported at this time by that means. I did it on my PC through Windows Explorer, ie. the normal box you open on your computer when you click on "documents" and see the contents of your computer folders. There, in the left panel if you go down you see "computer", and click on it to display sub-folders, it should show the "Playbook" if you have a good USB connection. If you click on that PlayBook icon you will then see folders of the Playbook, including documents. That's where I pasted the documents, and they were then available to read and edit on the Playbook through Word to Go, Adobe Reader, etc. 
    The problem then (which other strings discuss) is that while you can paste in a set of documents organized in folders with sub-folders, the Playbook only sees the documents as being in a single folder. They apparently will still retain their organization though I haven't checked that.
    There is no way to synchronize in the way that DataViz Documents to Go does on the smartphones, and to me that is a big omission that RIM needs to take care of soon, or more specifically DataViz who I believe RIM owns now. The technology has been there for around 10 years. On my Palm I used to synchronize documents from my PC onto my Palm, work on various documents there, then when I synched again all the changes would automatically update on the documents on my PC. The only way to do this now is manually copy back from the Playbook to the PC, which is only OK if you are just working on one document.

  • How to save .pdf file using office word and excel

    Can someone help me how to save .pdf files using office word and excel?  I reinstalled my adobe 7.0 pro in my new pc and before I was able to do it but with my old pc.

    For anything after Office 2003, you have to print to the Adobe PDF printer. If you installed AA 7 on OS newer than XP, you may have to do a workaround to get it to work. With later versions of WORD you can always use the MS plugin for creating PDFs.

  • I recently loaded Mac OS X Snow Leopard and now cant save PDF files It ask me for my Owners password. Cant remember it

    I recently Loaded Mac OS X Snow Leopard 10.6.3 on my MacBook. Now I cant print or save PDF files. I am asked for my "Owners Password" I bought this mac new, 3 years ago and dont remember my Owners password only my admin. How can I fix this?
    Please Advise
    Rich

    That is your admin password. You might try this:
    To fix Home folder permissions
    Open the Terminal application in the Utilities folder.  At the command line prompt enter or paste the following command line:
    sudo chown -R `id -un`:`id -gn` ~
    Press RETURN.  You will be prompted to enter your admin password which will not be echoed.
    I would also do this:
    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    And, consider downloading either Mac OS X v10.6.7 Update Combo or Mac OS X 10.6.8 Update Combo and updating the system, but only after doing the above suggestions.

  • Photoshop CC and CS6 wont save PDF files

    I keep getting a program error when I try and save PDF files??

    Good day!
    Could you please post a screenshot to illustrate the issue?
    What are your exact Photoshop version and OS?
    What are the file’s Color Mode and bit depth?
    Boilerplate-text:
    Are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by pressing command-alt-shift/ctrl-alt-shift while starting Photoshop until the appropriate dialog appears after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed, 3rd party plug-ins deactivation, system maintenance, cleaning caches, font validation, etc.)
    Regards,
    Pfaffenbichler

  • How do I save PDF files by default to the folder of the source file?

    How do I save PDF files by default to the folder of the source file with Acrobat 9.0.0 Standard?

    I am not seeing that behaviour. If I right-click a link to a .pdf file, I get the file saved with the original filename.
    Maybe one of the settings in about:config controls that?
    pdfjs.previousHandler.preferredAction is a setting that has a value of 4 with my setup. I have no idea what that means, and I could not find any explanation anywhere. You could try using different numbers for that value and see if any make any difference. Why has nobody bothered to explain that setting anywhere?

  • "Save Pdf File" window

    Hi,
    I have an Access 2000 aplication which works fine with Acrobat 8.1.2 Pro
    -you select a product name
    -a PDF file is generated from this product's "Report"
    -and it's sent by mail
    It is a VBA code which stores: folder name, file name, printer name into Windows Registry
    I have migrated the file to Access 2007 and now there is a problem.
    It opens a "Save Pdf file" window and asks me to select a folder and to enter a file name.
    Seems that name and folder retrieve from the registry is not working.
    What is it? What can I do to resolve the problem? Any idea?
    Thanks,

    I searched without success ...How to find it?
    I have this:
    ' Put the output filename where Acrobat could find it
    bSetRegValue HKEY_CURRENT_USER, _
                     "Software\Adobe\Acrobat Distiller\PrinterJobControl", _
                     Find_Exe_Name("application", "C:\Program Files\Microsoft Office\Office12\MSACCESS.EXE"), _
                     sOutputFolder & "\\" & sPDFName

  • How to remove a hidden text in pdf file with Acrobat Pro 9. How to save pdf file and remove hidden text?

    I
    I made this file in indesign, the highlited empty spaces indicates that their is a hidden text and it pop up when searching for some words in pdf file. so how can I save pdf file to keep only the seen text ???

    Dear lrosenth,
    I went through some codes/suggestions in internet and I found that I need to have cmap file and cid font file for the respective font since pdf doesn't support unicode fonts directly.
    Can you help me to know where can I get cmap file and cid font file for tamil language font Latha(TrueType) microsoft font.
    Regards,
    Safiq

  • Avoiding the 'Save PDF File As' dialog when printing to the adobe PDF printer from a service

    Hello, can someone please help.
    I have Adobe Acrobat 8 Pro installed.
    I have an in house application which (among many other things) effectively monitors a directory and prints the file to the default printer. It works fine when run as an application.
    I have set the defaults on the Adobe PDF printer to put the output PDF file into a directory and not to open it so it works silently without prompts.
    When I run my application as a service, it brings up the 'Save PDF File As' dialog and I would like to avoid this. My impression is that if I put the right registry key in then it will work.
    I do not want to do any scripting if I can avoid it.
    Thanks for all constructive help given.

    Thank for your help Bill, but changing settings in the distiller did not seem to work. As my application prints directly to the default application without using anything specific to Acrobat, I was hoping there was a simple way forward. A colleague suggested copying registry entries from the account I logged on as to the S-1-5-18 entry, then rebooting. This had no effect as the prompt still comes up.
    Aandi, I don't have the Acrobat SDK or any experience of it.
    Also I'm not sure where any code/script would sit since the application is stable and so I would rather not change it.
    If it amounts to a few lines of javascript sitting outside the application then that would be of interest.

  • How do I save PDF files on my iPad to read later?

    How can I save PDF files from a website on iBooks to read later?

    Open the PDF in Safari and then tap it and you should get a bar at the top of it with 'open in iBooks' as an option - tap that and it should be copied to the iBooks app.

Maybe you are looking for

  • Sending mails when save button clicked on KS01 - Cost Center creation

    I Want to send a email to my officials when i entered the data and  click a saved button in KS01 after or before creating Cost Center..

  • Task Scheduler Program

    I live in a rural area and have Satellite internet. That means Data caps. But, I have 5 hours of unlimited each night. 12:00am-5:00. Is there a software program or way to schedule my downloads from iTunes? I can usually manage my software updates, bu

  • Treo 755 will not sync with my computer anymore

    I have a Treo 755 (Palm os) and it will not sync with my computer anymore. I have a PC with Win XP pro SP3. The last time it sync'ed was about two months ago, I had to fiddle with the connection before it would work. Now when I plug the phone in and

  • Please Help! ClassNotFountException with Postgres & JWSDP

    Hi Java Community, My problem is the following: I'm trying to access a Postgresql Database from a JSP published in Tomcat (the one that is bundled with JWSDP) but the JSP is returning a "java.lang.ClassNotFoundException: org.postgresql.Driver" I've t

  • Is there a way to restrict ability to update iOS?

    We are using iPads on carts managed with Apple Configurator. If a student updates iOS on an iPad, then that iPad can no longer be managed by Configurator. Is there a way is prevent users from update iOS?