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.

Similar Messages

  • How do I view/print a pdf document in an email? I'm not getting the little hand icon.

    How do I view/print a pdf document in an email? I'm not getting the little hand icon.

    Ah, yes, I'm using Adobe Reader!  That makes sense.  Thanks so much for your reply.  At the moment, I scan Word documents into my computer and they're automatically converted to PDFs.  If I had Adobe Acrobat on my computer, and scanned in documents, would they open in Reader automatically or could I open them in Acrobat and therefore add password protection?

  • EXCEL PDF document - attachment to email

    I am trying to attach a PDF document to an email as an attachment but instead it is copying into the body of the email.  How do i change this so it is an attachment????

    Control click or right click on the image and select 'view as icon'. Also make sure that 'send Windows-friendly attachments' is selected in the Mail>Edit menu.

  • 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

  • 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.

  • I need a password to open a pdf document I my email?

    I need a password to open a pdf document in my email how do I do that?

    Get the password from the file's author.

  • Encypting Pdf document sent through email from BO WEBI

    Hi,
    Encypting Pdf document sent through email from BO WEBI . Is there any sdk scripts/3rd part tools to do this.
    Thanks
    Ranjith

    Hello Ranjith,
    There is no native functionality for encrypting a PDF document from within BusinessObjects Enterprise. Additionally, none of the BOE SDKs are able to encrypt a PDF document either. Generally speaking, if it is not possible in the product (BOE) it's not possible with the various SDKs.
    I am not aware of any third party tools that can do this from inside BOE either. If you haven't done so already you may want to post a question to the [Business Objects Board|http://www.forumtopics.com/busobj/index.php?sid=1037068e7b26619422be6a7b18a8c2ee] (BOB) to see if anyone there has a suggestion.
    Sincerely,
    Dan Kelleher

  • 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

  • How do I import à pdf document from an email?

    How do i import a pdf document from an email? Thanks.

    If you haven't, update Reader to Reader 11.2.1. Use the Help system to find out how to bring a PDF from your email. If you're still having problems, check back here.

  • How can I send more than one document on an email

    how can I send more than one document on one email

    Thank you but I understand that form of attaching a document. However when I select a document then click 'Share' I have the option of sending the document by email as a word or pages document or pdf, what I want to know is can I use this procedure to send more than one document per email and if I can how?

  • Best solutions for storing text, Word and pdf documents on iPad

    I just switched from using a powerbook to an iPad + microkeyboard for my work computer (I'm freelance and need to bring my own device wherever I go), and I love the size and weight of it compared to a laptop.
    What I am glitching on is the fact that I cannot save documents to my ipad. Clients email Word and PDF docs to me, and I have (very few of) my own docs, such as resumes, which I need to update slightly and send out to them as well. It's not ideal when I need to send out a resume to dig through my Sent folder on Mail and forward it, creating a new email but just saving the attachment. I also need to access certain received documents repeatedly as reference. I'm surprised iOS for iPad doesn't have a "Documents" folder as OS X does.
    How are users working around this problem currently? Please give me suggestions for solutions. I'm hopeful that future iterations of iOS will provide a way to store and access a personal library of documents as it does photos and videos, so I will commit to working through this in the short term. What are your work arounds?
    T

    I doubt iOS will ever change. iOS does not have a file manager system like you're used to on a laptop or desktop, so it lacks the ability to access files like you're used to. So whatever workarounds you find will likely become your regular work flow. If Apple hasn't added a file manager to iOS in the past 5 (give or take) years it's doubtful they'll do so in the future...the lack of a file manager is why the iOS operating system is so secure, viruses can't infect and use a file manager system to spread if they don't have one.)
    iOS ties the access to files to the apps that access them. As you said, photos with the photos app, music with the music app. With your purchase of a new iOS device you are eligible for free Apple apps, amongst them Pages and Numbers, Apple's word processing and version of excel.. You can store your documents in that app and access them that way. Or there are tons of other word processing apps. I use Documents to Go (although it's not free so you may wish to  experiment with the free apps first before  you start paying)
    File transfer....well Apple's work flow is that everyone has access to always on and always available internet, thus their workflow being built around the cloud and using the internet for file transfer, as well as e-mailing stuff to yourself. There are some flash drives out there that have their own wifi transmitter that may help you. You'd plug them into another computer, put the file on it, turn on the wifi transmitter and use a small localized hotspot to connect your ipad to and download the files to your iPad via an app that will come with the flash drive.

  • Mail sends Word and PDF attachments but they don't arrive

    When I send emails with Word or PDF attachments they leave my inbox, but the email is not received on the other side.
    Anyone know why?

    Hi Ernie
    I see you've answered many peple's questions about this, thanks! I've tried deleting the outbox in my Library folder as you suggested to someone else.
    Messages without attachments are received by others.
    Messages are sent to sent box
    Messages show they have an attachment in the sent box.
    Another related issue that has happened. I might have 5 attahments and then saved them the email to the Drafts folder, only to find that it has deleted or can't see several of them when I open it again to send.
    Thanks for this
    dyingswan

  • Attaching additional BLOB pdf document to an email snet by BIP Bursting

    Hi,
    I am trying to attach an additional pdf document which is stored in the database as a BLOB to an email that is sent via BIP bursting. I am using Oracle Applications v11.5.10.2. Does anyone have any input on how to do this or if its possible? Basically, I am generating a BIP report and sending it in an email using the Bursting process within BIP, but I want to attach an additional .pdf document to the same email. Any help on this would be greatly appreciated.
    Regards,
    Ray

    Dynamic Delivery Content
    You can reference information in the XML data to be put into the delivery content. This
    takes the same format described above (that is, ${ELEMENT}).
    For example, suppose you wanted to burst a document to employees via e-mail and
    personalize the e-mail by using the employee's name in the subject line. Assuming the
    employee's name is held in an element called ENAME, you could use ${ENAME} to
    reference the employee's name in the control file as follows:
    subject="Employee Details for ${ENAME}"
    Sample Control File
    The following sample control file shows an example control file to split data based on
    an EMPLOYEE element and send an e-mail to each employee with their own data. The
    sample file is annotated.
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="[http://xmlns.oracle.com/oxp/xapi]">
    <xapi:request select="/EMPLOYEES/EMPLOYEE"><! - This sets the bursting
    element i.e., EMPLOYEE - >
    <xapi:delivery>
    <xapi:email server="rgmamersmtp.oraclecorp.com" port="25"
    from="[[email protected]|mailto:[email protected]]" reply-to ="[[email protected]|mailto:[email protected]]">
    <xapi:message id="123" to="${EMAIL}" cc="${EMAIL_ALL}"
    attachment="true" subject="Employee Details
    for ${ENAME}"> Mr. ${ENAME}, Please review the
    attached document</xapi:message><! - This assigns a delivery id
    of '123'. It also sets the e-mail
    address of the employee and a cc copy to a parameter value
    EMAIL_ALL; this might be a manager's e-mail. The employee's
    name (ENAME) can also be used in the subject/body
    of the email. - ></xapi:email>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="/usr/tmp/empGeneric.rtf">
    <xapi:template type="rtf" location="/usr/tmp/empDet.rtf"
    filter=".//EMPLOYEE[ENAME='SMITH']" ><! - Employees with the name
    SMITH will have
    the empDet template applied - >
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>

  • Is it possible to stream video into a PDF document with HTML 5?

    I'm trying to get around using flash to stream videos into my interactive PDF documents, as it's not supported on iOS. I'm wondering if there's a way to use HTML 5 to acomplish something similar. I have access to both InDesign CC and the latest version of Adobe Acrobat Pro.

    An alternative is to separate the quiz pages to a separate document and include it in the main PDF as a file attachment. You can create links in the main document to the attachment so that it opens in a new window. When this quiz document is closed, the main document will be open.

Maybe you are looking for