Component to URL link a word/excel/pdf document inside Page

Hello Experts,
I would really appreciate if somebody can answer if there are any standard component or functionality available to call a network URL link to a word/excel/pdf document inside a ABOUT tab page for the definition and screenshot of How-to and functionality of the dashboard.
I am trying to avoid creating a custom component to use SAP UI5 HTML control to initialize a OLE object call to a given URL.
Thanks
Arun

Well, Word and Excel documents are binary, so you will need a Binary LOB (BLOB).
I have recently been storing/retrieving BLOBs through ASP/ADO . . .
BLOBs are limited to 4GB, but ADO has a limit of 2GB. Hopefully, that will not be a problem.
If you are using ODBC, then be aware that you need to enable LOBs by setting LOB=T in the connection string. If you are using ODBC with stored procedures, then there is a bug that causes the LOBs to be truncated to 32K, which is fixed in 9.2.0.6.5. A colleague tells me that the Microsoft ODBC Driver for Oracle works with LONGs but not with LOBs.
If you are using OleDB with stored procedures, then you'll need to set the "SPPrmsLOB" property to TRUE.
When uploading BLOBs through ADO, you need to set the parameter size to 1 higher than the actual size, otherwise you get an error.
When retrieving the BLOBs through stored procedures as OUT parameters, you need to set the parameter size to larger than the BLOB, otherwise it gets truncated. I do not like having to specify 2GB for a file that might only be 32K, so I prefer to return a record set via a REF CURSOR.
Tak

Similar Messages

  • Indesign/Acrobat PDF - embedded link file(word, excel, pdf)

    Hi,
    In the microsoft word, we can embedd, the pdf, word or excel files as link, so that when you click the embedded file (for eg. if you click the pdf icon of embedded file in word, the pdf file will open, as same as the word files and excel files will open) . There is will no seperate link files will be there. (so from a word doc embedded with pdf files and excel files will be opened from the word itself)
    Is there any option to do like this in Indesign or Pdf, where we can embedd the Link files inside the indesign, without linking the files from the hard dirve or server.
    Any idea about this? You people understand what i am trying to say?

    Acrobat Pro has an Attachements navigation panel that you can add (embed) files that will open in their native application when clicked to open.
    InDesign can do something similar... you can embed files via the Links panel... you can also edit original (but you might need to unembed it first.
    Not on a computer with InDesign right now, I will check tommorrow.

  • Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    You cannot use pendriver.
    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • How to upload documents( like word, excel, pdf etc) into r/3 system

    Hi All,
               Does anyone have information on uploading and downloading documents like word, excel,pdf etc into R/3 system. Is there any function modules, classes, programs etc to do this.
        To give an example about what i mean by uploading documents, we can take the process of attaching documents in support of a SLM issue in solution manager.

    Hi Syed,
      Use the FM gui_upload to upload a file from presentation server and gui_download to download file to presentation server. see the code below and also read the documentation of the respective FM's.
    data:
        lw_file  type string,              " File Path
        lw_file1 type IBIPPARMS-PATH.      " File Path
      CALL FUNCTION 'F4_FILENAME'
       IMPORTING
         FILE_NAME            = lw_file1.
      lw_file = lw_file1.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = lw_file
          FILETYPE                      = 'ASC'
          HAS_FIELD_SEPARATOR           = 'X'
        tables
          data_tab                      = t_kna1
       EXCEPTIONS
         FILE_OPEN_ERROR               = 1
      IF sy-subrc <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.                               " IF SY-SUBRC <> 0
    data:
        lw_file  type string,              " File Path
        lw_file1 type IBIPPARMS-PATH.      " File Path
      CALL FUNCTION 'F4_FILENAME'
       IMPORTING
         FILE_NAME            = lw_file1.
      lw_file = lw_file1.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
    *     BIN_FILESIZE                  =
          FILENAME                      = lw_file
          FILETYPE                      = 'ASC'
    *     APPEND                        = ' '
          WRITE_FIELD_SEPARATOR         = 'X'
    *     HEADER                        = '00'
        TABLES
          DATA_TAB                      = t_KNA1
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.                               " IF SY-SUBRC <> 0
      IF SY-SUBRC = 0.
        message 'file downloaded successfully' type 'S'.
      ENDIF.                               " IF SY-SUBRC = 0
    With luck,
    Pritam.

  • Converting image links from Word to PDF

    If I insert a picture into a Word file (Insert/Picture From File), select the picture and Insert/Hyperlink and then Convert to Adobe PDF, the hyperlink is still active in the pdf file as expected (Add Links is checked in the conversion settings).
    However, if I do the same but apply any layout options to the picture before attaching the hyperlink (e.g. Format Picture/Layout/Square text wrapping), Convert to PDF does not convert the link into the pdf file and the image appears as if no link had ever been set.
    Does anybody know of a solution to this problem?  Or is Acrobat 9 any better?  I am curently using Word 2000 and Acrobat 6 running on XP

    Thanks for the reply.
    I have already inserted the links within the pdf, so I do have a working document.  It is only a draft, though, and any subsequent editing requires going back to the original Word document, editing and converting again to pdf and then re-establishing the links - with over 30 images (linked to pre-exixting pdf documents) this last step is both tedious and error-prone!  Thanks for the warning re Acrobat 9 and Word 2000.  I had been thinking of upgrading ...
    Mike

  • Opening word, excel, pdf, jpeg files as attachments on iphones

    I've always been able to open word, excel, pdf & jpeg files as attachments on my iphone 5.  But recently, everytime I tried to open one of these, the file image turned up all grey, and in the case of jpeg files, it just kept on loading, loading & loading, but never finished loading ...  It seems like this happened after I updated to IOS 6.1.4 recently...  This is just a guess.  Could anyone help me with this?  Thank you.

    Srinivas,
    Thank you for your reply. It helped me get to a solution. In essence I needed to copy the Unix file to an internal table and then save it to the end user's PC file. Then I am able to open the document / attachment.
    I created a new function to:
    1) call method cl_gui_frontend_services=>directory_browse,  to ask the end user to pick a PC directory to copy the Unix file attachment to.
    2) Then  using the following code, copy the Unix file (as determined by application or user) to an internal table. Note that the line is not limited by a certain length.
      types: begin of t_tab,
              line type string,
             end of t_tab.
      data: k_wa_itab type t_tab,
            t_it_itab type standard table of t_tab.
    open dataset v_unixfilename for input in binary mode.
      if sy-subrc <> 0.
        raise unix_filename_read_error.
      endif.
      do.
        read dataset v_unixfilename into k_wa_itab-line.
        if sy-subrc <> 0.
          exit.
        endif.
        append k_wa_itab to t_it_itab.
      enddo.
      close dataset v_unixfilename.
    3) Using call method cl_gui_frontend_services=>gui_download, save the contents of the internal table to the PC directory from step 1 above.
    4) Open the Attachment from the end users PC via:
    call method cl_gui_frontend_services=>execute
    It seems like a long way to get this to work, but it is working. If there is a better way maybe someone else can fill in the blanks. Ideally a tool to read and open from a file from Unix without using the cl_gui_frontend_services would be ideal.

  • Convert TOC Links from Word to PDF?

    In a recent conversion of a Word document to PDF using Create PDF, the TOC links didn't make it through the process though most/all other links did. Is there a way to include TOC links in the converson process?

    Thanks for the reply.
    I have already inserted the links within the pdf, so I do have a working document.  It is only a draft, though, and any subsequent editing requires going back to the original Word document, editing and converting again to pdf and then re-establishing the links - with over 30 images (linked to pre-exixting pdf documents) this last step is both tedious and error-prone!  Thanks for the warning re Acrobat 9 and Word 2000.  I had been thinking of upgrading ...
    Mike

  • How to print bin/hex content of word, excel, pdf directly to printer?

    Hi all,
        My requirement is to print all the GOS attachments of a Quality Notification.
        I have output from FM SO_DOCUMENT_READ_API1 (reading GOS attachments). I would like to print the content directly, and the content could be of word, excel, pdf, jpg, notepad etc.,
       Is there any function module or any class/methods that can take in the content and print them according to the file type? If not, please suggest any alternative solution/ideas.
    Thanks
    Vinoth

    Hi,
    I have the same problem
    with the additionnal problem: do it in background
    So, What I have for the moment
    --> You have a tool : BC-XDC that allow you to convert any file into an OTF.
    --> there is also the tool : GhostScript to convert some format to specific format (using SM49) ..
    (I can't cut/past code ... don't know how to do)
    Hope that will help you
    Edited by: Frédéric Girod on Oct 30, 2009 10:33 AM
    Edited by: Frédéric Girod on Oct 30, 2009 10:34 AM

  • IWeb • How Do I Make Links in an Embedded PDF Document Open in New Page?

    On this page http://ostyn-newman.com/Gov_Downloads.html I have a PDF document that is embedded.  I tried an IFrame, but everything seemed to work better for me with the "Embed" code.  I am open to changing this if it would be better.  Here's my problem.  I can get the PDF document to display fine, but when I click on the links in the PDF document, the destination page opens in the embedded window.  I want the links to open the destination in a new window.
    I created the part of the document with most of the links (Pages 8.5 - 56) in Numbers and cut and pasted the table into a Pages document to create the completed document on our site.  I exported the docuemnt from Pages as a PDF file which is what you see.  There is also a link to download the file on the same page which works just fine.
    I have tried to insert the target="_blank" code but have not been able to get it to open the destination pages in a new window.  I am inserting the code by using the Insert/Widget/HTML Snippet Feature in IWeb.  Here is the code I am using.
    <embed src=
    "http://ostyn-newman.com/Media/GS27F0026XTextfile.pdf"
    style="width:850px; height:1000px;
    border-width:0px;
    border-color:#FFCC66;
    border-style:solid;"
    scrolling="auto" >
    </embed>
    I am not a coder and have just used Google to find the code to cut and paste and have played around with it to get to the place I am.  If anybody can tweak the code I have or offer some totally new code for me to insert that will get this to work would be greatly appreciated.
    Please keep in mind that most of the people who visit and use this page are government employees and are almost exclusivey using Explorer. 

    Thank you Jeff,
    I tried your original suggestion and now my inserted html widget reads
    <embed src=
    "http://ostyn-newman.com/Media/GS27F0026XTextfile.pdf"
    style="width:850px; height:1000px;
    border-width:0px;
    border-color:#FFCC66;
    border-style:solid;"
    scrolling="auto" target="_blank">
    </embed>
    It is live on my site.  You can see that the embedded document still opens the destination links in the embedded window.
    As for your other two suggestions, thank you as well.  I am aware of those techniques and did not use them because that is not how I want the other PDF links on the page to behave.  The catalog and autocad blocks downloads in the box at the top should simply download (or behave however the client's browser is configured to handle downloaded PDF documents or zip files.)  I don't intend to force those to open a new window.  I could also have our client click on a link to the PDF document and open it in a new page (like in your second suggestion) but I was hoping to embed the PDF and have it automatically viewable on our Download • Terms • Prices Page with all of the PDF search functions intact as well as the links be active.  My only complaint at this point is that the links in the embedded PDF document open the destination page in the embed window instead of a new window.  I only want to force a new window because the destination window doesn't behave properly when it opens in my embed window and it is difficult to figure out how to go back to the my PDF document when a destination window gets opened in the embed window.  The code you sent didn't do the trick.  Or maybe I didn't get it exactly right.  That is why I included it above.  Thanks for trying though.  I appreciate the effort.
    I would be willing to bypass the imbed/iFrame route altogether if I could just somehow drop the Pages document into the IWeb page and retain the search and link features, but I've not been able to figure out how to do that.  When I was exploring how to directly drop a Pages document into an IWeb page is when I stumbled on the method of embedding a PDF document into an IWeb page to retain the important search and link features.

  • Storing MS-Word and PDF documents in database uploaded through APEX

    I want to allow users to upload MS-Word and PDF documents they have created / edited outside of the APEX app for storage in the database along with the other app data.
    I know that I should use a file browse item in a region for this purpose.
    I have a some questions:
    1. What database datatype is best for storing MS-Word and PDF docs? CLOB?
    2. How can the user see that the file has been uploaded? In other words, how can they see that the filename has been uploaded? I want to show this on the page for later viewing. I have uploaded a document, but later, I have no way to see that the document has in fact been uploaded. From the APEX page, the file browse item does not indicate whether or not a file has previously been uploaded.
    3. How can the user download the previously uploaded document?
    4. Is there a way to give users the capability to edit a document in an APEX app where they can do MS-Word-like editing (font size, font type, bold, italics, etc.)?
    I know I've asked a lot here and I appreciate your input.
    -Reid

    In my case, I am uploading screenshots of my application and then displaying them. You can feel free to use it if you want, the code was mostly taken from examples of file uploads posted by others. Here is some code to get you started:
    File Table description
    CREATE TABLE FILE_UPLOAD
       (name           VARCHAR2(4000) PRIMARY KEY,
        subject        VARCHAR2(4000),
        id             NUMBER,
        blob_content   BLOB,
        mime_type      VARCHAR2(4000),
        PAGE_ID        NUMBER);File Upload Procedure
    IF ( :P20_FILE_NAME is not null ) THEN
         INSERT INTO FILE_UPLOAD (id, NAME, SUBJECT, BLOB_CONTENT, MIME_TYPE, PAGE_ID)
          SELECT ID,:P20_FILE_NAME,:P20_SUBJECT, blob_content, mime_type, :P20_PAGE_ID
                FROM APEX_APPLICATION_FILES
                WHERE name = :P20_FILE_NAME;
       DELETE from APEX_APPLICATION_FILES WHERE name = :P20_FILE_NAME;
      END IF;Download Image Procedure Definition
    CREATE OR REPLACE PROCEDURE download_my_file(p_file in number) AS
            v_mime  VARCHAR2(48);
            v_length  NUMBER;
            v_file_name VARCHAR2(2000);
            Lob_loc  BLOB;
    BEGIN
      SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
             INTO v_mime,lob_loc,v_file_name,v_length
        FROM FILE_UPLOAD
       WHERE id = p_file;
        -- set up HTTP header
        -- use an NVL around the mime type and
        -- if it is a null set it to application/octect
        -- application/octect may launch a download window from windows
      owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
        -- set the size so the browser knows how much to download
      htp.p('Content-length: ' || v_length);
        -- the filename will be used by the browser if the users does a save as
      htp.p('Content-Disposition:  attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
        -- close the headers           
      owa_util.http_header_close;
        -- download the BLOB
      wpg_docload.download_file( Lob_loc );
    end download_my_file;
    /make sure to grant the procedure rights for use by anyone
    GRANT EXECUTE ON download_my_file TO PUBLICDisplay Image Procedure Definition
    create or replace PROCEDURE "DISPLAY_IMAGE"
      inID NUMBER
    AS
      vMIME VARCHAR2(48);
      vLENGTH NUMBER;
      vFILENAME VARCHAR2(2000);
      vBLOB BLOB;
    BEGIN
      SELECT MIME_TYPE, BLOB_CONTENT, NAME, DBMS_LOB.GETLENGTH(BLOB_CONTENT)
        INTO vMIME, vBLOB, vFILENAME, vLENGTH
      FROM FILE_UPLOAD
      WHERE ID = inID;
      owa_util.mime_header(nvl(vMIME, 'application/octet'), FALSE);
      htp.p('Content-length: ' || vLENGTH);
      owa_util.http_header_close;
      wpg_docload.download_file(vBLOB);
    END;
    /Again, make sure everyone has rights to execute the procedure.
    GRANT EXECUTE ON DISPLAY_IMAGE TO PUBLICThis doesn't create an editor inside the browser, it just creates a simple upload/display process. For a WYSIWYG editor that handles PDF or Docs, you'll need something far more sophisticated, and I can't suggest anything there.

  • Send word or pdf document as HTML email

    Hello all,
    we have word documents (on a local file) that we want to send via SAP as HTML email, i.e. we need the content of the word document in the email body. The documents also contain images. With the class cl_bcs I can send mails including attachments and also pure HTML but I don't know how to convert the word or pdf document into HTML and how to process it to get the images in the correct way. Is there perhaps a more direct way to achieve the goal to mail the word documents? Is there anybody who can help?
    Thank you very much and best regards
    Frank

    First, as you guessed, most (all?) mail clients don't display "complex" documents (doc, xls, pdf, etc.) inside a mail, they are always provided as attachments. Only simple documents like images can be directly displayed.
    SAP's job is not to convert from a format to another, especially .DOC and .PDF formats, which are rather complex.
    You'd better look at specialized third-party softwares. Note that SAP has a connection tool called BC-XDC (eXternal Document Converter) which is used to connect these third-party softwares to SAP. You may look at the certified softwares using this connection tool.
    Notes: if the .DOC and .PDF documents are generated by one of your programs, prefer to modify them to generate the documents in another format (HTML) instead of converting them. I can't say much as I don't know your exact scenario.
    There is also SO_RTF_TO_HTM (and CONVERT_TEXT maybe) function module, but I wouldn't expect much of it.

  • Create Microsoft Word or PDF document in WebDynpro

    Hi,
    I need to create either a WORD or PDF document in WebDynpro. Can someone provide some information regardign this.
    Ravi ...

    Hi Ravi,
    why haven't you marked this question as a question? There's a checkbox for that.
    Please note that there's a Web Dynpro forum for questions about Web Dynpro: Web Dynpro Java
    Do you use Web Dynpro ABAP or Java?
    For WD4A the information about PDF is here:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/frameset.htm
    And for Word documents you can use the UI element OfficeControl:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/af8841349e1909e10000000a155106/frameset.htm
    Regards, Heidi

  • Generating word and PDF documents

    How can I generate Word and pdf documents with JDeveloper ?
    Iwan

    You already got answers on your previous thread:
    Create *.doc and *.pdf files with jDeveloper

  • When converting word to pdf the cover page of my documet gets page number 1.On the original the numb

    When converting word to pdf the cover page of my documet gets page number 1.On the original the number pages start from the second page.How to keep the original format?

    Michael's reponse is correct. However, as far as I knew, OFFICE 2007 came with printer metrics turned off, meaning it is not supposed to be sensitive to the printer selection. The setting is buried in the options list for compatibility. If it is turned off and a change in printer does affect the result, it would appear just one more of the many things in OFFICE 2007 that MS messed up. The latest one for me has been helping students with the messed up equation editor when you want to add equation numbers in a "standard" way. One of the MS employees even wrote a workaround macro for that problem.

  • Printer will no longer print PDF document--"no pages selected" although specific pages were selected?

    Brother printer will no longer print PDF document--"no pages selected" although I did specify pages.  Have reviewed and tried Adobe trouble shooting, not helpful.  Cannot print page as image.  Brother says to contact Adobe

    There may be some security issues related to the USPS PDFs.
    http://www.certified-mail-envelopes.com/signatures-usps-certified-mail-return-receipt-requested
    I can't help with the scan/print problem. You seem to have done everything I would try.
    I don't know if maybe using a registry cleaner would help.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

Maybe you are looking for

  • Message said "the file(the one i am trying to open) is not available"

    I can go into word(2010) and type a letter and then save it, but when i try to reopen the letter i get a message that say's it is not available.  Why?  What can i do to open the file, any file that i save won't open.   I have uninstalled Microsoft of

  • Letter of credit for vendor

    Dear all , Can anyone tell me how to create letter of credit for vendor . like the one create for customer via T.code VX11N thank's

  • Trackpad acting weird after using mouse.

    After an extended time using the mouse, my trackpad becomes, in a way, unresponsive. If I hover the cursor above links, edge of windows or applications in the dock, my cursor stays as the same arrow and the link won't underline and applications on th

  • Account on LDAP Directory Server.

    Folks, I am trying to provision user using 'Anonymous Login' concept on Lighthouse as well as on Directory Server, i am having IDM 7.1, Directory Server is already configured in my IDM. Just wanted to know which all WorkFlow / UserForms do i need to

  • Date and Amount format in BDC

    Hi friends,    I am facing problem with date and currency format while uploading data through BDC.    Plz. tell me how to handle the problems related to Date and amount format.    Thanks in Advance