Read Email Attachment Document and Save it in DMS

Hi
I  have developd a zFM for reading the email attachment and storing it in SAP.(CV01N)
using the FM for SO_DOCUMENT_READ_API1(Read attachement)  CVAPI_DOC_CHECKIN(Save Document) FM for save it in SAP.
After reading the attachemtn am getting Hexa decimal Values and i have convert into binary.
But the output is showing can't open the file.
How to solve this?
CALL FUNCTION 'SO_DOCUMENT_READ_API1'
          EXPORTING
            document_id                = lv_doc_id
          IMPORTING
            document_data              = lw_doc_data
          TABLES
            object_content             = lt_objcontent
            contents_hex               = lt_contents_hex
          EXCEPTIONS
            document_id_not_exist      = 1
            operation_no_authorization = 2
            x_error                    = 3
            OTHERS                     = 4.
Converteing Hexa decimal into srting by loop the internal table  lt_contents_hex.
lv_raw concatenate hexa decimal values
          CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
            EXPORTING
              buffer        = lv_raw
            IMPORTING
              output_length = lv_length
            TABLES
              binary_tab    = it_temp_binary.
     CALL FUNCTION 'CVAPI_DOC_CHECKIN' ......

Hi,
thank you.
The DB-Version is 9.2.0.4.0
This document does not help me...
I need to create any procedure that inserts the nodes(tag-name) and when the node has any content then the content too in the table and s.o., so how I have it entered in the question...
Any Idea?
Regards

Similar Messages

  • Why can't I attach documents and photos to my outgoing emails in Windows live hotmail

    Ever since the new version of Windows live hotmail has been downloaded on my computer, the only way I can attach documents and photos to outgoing emails is thru Internet explorer without any add ons and even this was not easy. I used to be able to attach with no problems and now I cannot and I really need to be able to do this. I send alot of emails with attachments. Every time I try to attach a document it gives me an error message. It just says error nothing else. Please help!!!!

    Hi
    Pages saves its files as a small package, not a single file. You will have to compress it first (think it's called Create Archive but can't be sure). You could do File>Export & choose .doc which would save it as a Word document & then attach it to the email (some formatting may be lost).
    Steve

  • Receive email and read email attachment via BPEL

    Hi All,
         Does anyone know how to or has a module on receiving email and read email attachment via BPEL.
         Im now reading and exploring UMS adapter as this activity can handle both reading email and email attachment.
         Your response/s will be very much appreciated. Thanks.

    943363 wrote:
    Hello,
    I have an Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bits on an AIX 5.3 mainframe without the enterprise web interface.
    I would like to do that process :
    a daily email is sent to the oracle instance with a CSV in attachment.
    I would like that attachment in a directory configured onto the instance.
    I have a PL/SQL procedure triggered by a job that will insert the content of the CSV in a table.
    Is that process possible with what I have ?
    Thanks in advance,
    Best Regards,
    Grégory B.Databases don't receive email. Just sftp the file and schedule a job to process it.

  • How can I extract certain pages from my document and save as another file?

    How can I extract certain pages from my document and save as another file?

    You would need Adobe Acrobat to do that, not Adobe Reader.

  • How can I remove a page from a PDF document and save it as a new PDF document?

    How can I remove a page from a PDF document and save it as a new PDF document?

    Tools - Pages - Extract and tick the option to delete the extracted page from the original file.

  • How scan a text document and save as editable text not image

    I have a new ENVY 5660 and a macbook pro running yosemite.  When I scan a text document and try to save it, I am only given a choice of image formats.  How can I save it as an editable text in pages or word?

    Hi , Welcome to the HP Forums! I see that you are wondering how to scan a text document, and save as editable text, and not a image, with your HP Envy 5660, on Mac OS X 10.10. I am happy to look into this for you!  According to your printer's specifications, it states: NOTE: Integrated OCR software is available only with Officejet 5740 and 8040 models. Which means, this software is not included with this printer. You might be able to perform this operation, if you are able to get third-party OCR software. Such as: ReadIris.  Hope this answers your question!  “Please click the Thumbs up icon below to thank me for responding.”

  • How to I scan a document and save it to my computer?

    I just bought a PIXMA MG2920. How to I scan a document and save it to my computer? There is no buttons on the front, just the print buttons.

    Hi jmkj1234,
    To scan with your PIXMA MG2920, the IJ Scan Utility can be used.  To view how to scan, please use the following link:
    http://ugp01.c-ij.com/ij/webmanual/ScanUtility/W/MG2900%20series/1.1/EN/SU/su-004.html
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Does anyone know of an e-reader app for the iphone that has text to speech capability? I have a Kindle 3G that can read whole pdf documents and books but I cannot figure out how to do it on my iphone 4.

    Does anyone know of an e-reader app for the iphone that has text to speech capability? I have a Kindle 3G that can read whole pdf documents and books but I cannot figure out how to do it on my iphone 4.
    All of the apps I have found on the App store either do not have the text to speech capability or if they have it they will only read a page at a time or simply read the text you paste into their window. I really do not understand what is so difficult about having this feature as Kindle provides it--though Amazon does not make the feature available on its iPhone 4 app.
    Please help.

    thanks. yes i am aware of the VoiceOver feature but it is NOT the solution to my problem. as you said, it is a solution to a different set of issues. i want the text to speech ability because i there are books i need to read but do not have the time to sit down and read them and have become used to listening to them read to me either by a professional human reader or with the text to speech software on the Kindle.
    I think Apple makes the best audio devices but i am really disappointed in this inexplainable shortcoming. if apple can give us siri they ought to be able to design a nice little button that i can push to turn on text to speech while i am in a document, book, magazine or webpage. clearly it is possible as apple has added the "reader" button in safari to have web pages dropped into the reader format.
    thanks for your suggestion though, it is what everyone suggests but it does not address the issue.

  • I had a trial version of Pages for 30 days and then purchased the actual software without removing the trial. Now when I try to edit documents and save them it wont because it tells me I am using a trial version.... How can I remove the trial version?

    I had a trial version of Pages for 30 days and then purchased the actual software without removing the trial. Now when I try to edit documents and save them it sometimes wont because it tells me I am using a trial version.... But sometimes it lets me!! How can I remove the trial version? I cannot tell which one I am using when I open it....

    Question asked and answered quite once a week.
    Go to my iDisk (address below)
    and download :
    For_iWork:iWork '09:uninstall iWork '09.zip
    Run it then reinstall the purchased software.
    Yvan KOENIG (VALLAURIS, France)  vendredi 2 janvier 2011 16:21:41
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please :
    Search for questions similar to your own
    before submitting them to the community

  • Unable to attach document and open address book

    Hi
    I am using IE9, and webaccess 2012 is NOT able to attached document and also unable to open address book. Firefox work fine. IE 9 only work on basic interface of webaccess.

    amtbqld wrote:
    > I am using IE9, and webaccess 2012 is NOT able to attached document
    > and also unable to open address book. Firefox work fine. IE 9 only
    > work on basic interface of webaccess.
    I don't have a Windows 7 machine to test with, so I tried Windows 2008
    R2. Installed IE9 and tried to attach a file. Worked fine. Wasn't
    sure what you meant by "unable to open address book" so I tried both
    the contacts tab as well as composing a new message and clicking the
    address book button. Both of those worked.
    Since my 2008 R2 server wasn't fully patched, I applied SP1, post-SP1
    updates, etc and tried all the tests again with IE9. All still worked.
    Is it possible you have some sort of IE add-on which could be
    interfering? Have you tried IE9 on another machine?
    We're your Novell--again. http://www.novell.com/promo/backtobasics.html
    Enhancement Requests: http://www.novell.com/rms

  • Need to read Email from Lotusnotes and Outlook using Oracle

    Dear All,
    My database version Oracle 10.2
    I need to read Email from Lotusnotes and Outlook using Oracle.
    I have tried with below link
    http://sourceforge.net/projects/plsqlmailclient/The problem is i am getting some java error.
    Can anyone suggest me to proceed further.
    Cheers,
    San

    I am using the another function to read an email from pop3 server
    create or replace
    FUNCTION pop3 (
       username   VARCHAR2,
       PASSWORD   VARCHAR2,
       msgnum     NUMBER
       RETURN tstrings PIPELINED
    IS
       --POP3_SERVER             constant varchar2(19) := '127.0.0.1';
       pop3_server   CONSTANT VARCHAR2 (100)     := 'xxxxxx';
       pop3_port     CONSTANT NUMBER             := 110;
       --POP3_TIMEOUT            constant number := 10;
       pop3_ok       CONSTANT VARCHAR2 (10)      := '+OK';
       e_pop3_error           EXCEPTION;
       --E_READ_TIMEOUT  exception;
       --pragma exception_init( E_READ_TIMEOUT, -29276 );
       socket                 UTL_TCP.connection;
       line                   VARCHAR2 (30000);
       BYTES                  INTEGER;
       -- send a POP3 command
       -- (we expect each command to respond with a +OK)
       FUNCTION writetopop (command VARCHAR2)
          RETURN VARCHAR2
       IS
          len    INTEGER;
          resp   VARCHAR2 (30000);
       BEGIN
          len := UTL_TCP.write_line (socket, command);
          UTL_TCP.FLUSH (socket);
          -- using a hack to check the popd response
          len := UTL_TCP.read_line (socket, resp);
          IF SUBSTR (resp, 1, 3) != pop3_ok
         THEN
           RAISE e_pop3_error;
          END IF;
          RETURN (resp);
       END;
    BEGIN
    --UTL_TCP.CLOSE_CONNECTION (SOCKET);
       PIPE ROW ('pop3:' || pop3_server || ' port:' || pop3_port);
       -- Just to make sure there are no previously opened connections
       UTL_TCP.close_all_connections;
       -- open a socket connection to the POP3 server
       socket :=
          UTL_TCP.open_connection (remote_host      => pop3_server,
                                   remote_port      => pop3_port,
                                   --tx_timeout => POP3_TIMEOUT,
                                   CHARSET          => 'US7ASCII'
       -- read the server banner/response from the pop3 daemon
       PIPE ROW (UTL_TCP.get_line (socket));
       -- authenticate with the POP3 server using the USER and PASS commands
       PIPE ROW ('USER ' || username);
       PIPE ROW (writetopop ('USER ' || username));
       PIPE ROW ('PASS ' || PASSWORD);
       PIPE ROW (writetopop ('PASS ' || PASSWORD));
       -- retrieve the specific message
       PIPE ROW ('RETR ' || msgnum);
       PIPE ROW (writetopop ('RETR ' || msgnum));
       --PIPE ROW( 'LIST '||msgNum ); PIPE ROW( WriteToPop('LIST '||msgNum) );
       PIPE ROW ('*** START OF INTERNET MESSAGE BODY ***');
       LOOP
       dbms_output.put_line('entering');
          BYTES := UTL_TCP.available (socket);
         IF BYTES > 0
          THEN
             BYTES := UTL_TCP.read_line (socket, line);
             line := REPLACE (line, CHR (13) || CHR (10), '');
             -- WILL HAVE TO USE PLSQL FUNCTIONS (HAVE BOOKMARKED) TO GET THE MAIL
             -- IN THE PREFERRED FORMAT. CAN USE "REPLACE()"
             IF LENGTH (line) = 1 AND line = '.'
             THEN
                PIPE ROW ('*** END OF INTERNET MESSAGE BODY ***');
             ELSE
                PIPE ROW (line);
             end if;
         END IF;
          EXIT when length (LINE) = 1 and LINE = '.';
          -- PIPE ROW (line);
       END LOOP;
       --PIPE ROW( '*** END OF INTERNET MESSAGE BODY ***' );
       -- close connection
       PIPE ROW ('QUIT');
       PIPE ROW (writetopop ('QUIT'));
       UTL_TCP.CLOSE_CONNECTION (SOCKET);
    EXCEPTION
       WHEN e_pop3_error
       THEN
          PIPE ROW ('There are no mails !');
    END;I am getting the below output .
    21     pop3:sbssld1 port:110
    75     "+OK Lotus Notes POP3 server version Release 8.0.1 ready on SBSSLD1/SBPSS.
    47     USER [email protected]
    69     "+OK [email protected], your papers please.
    13     PASS password
    63     "+OK [email protected] has 1 message.
    6     RETR 1
    17     "+OK 1546 octets
    38     *** START OF INTERNET MESSAGE BODY ***
    9     Subject:
    48     X-KeepSent: A231D6D0:8485FE4B-65257AB1:0022E60F;
    23      type=4; name=$KeepSent
    46     To: [email protected]
    53     X-Mailer: Lotus Notes Release 8.0.1 February 07, 2008
    95     Message-ID: <[email protected]mbnpparibasfs.in>
    48     From: [email protected]
    36     Date: Fri, 9 Nov 2012 11:51:14 +0530
    90     X-MIMETrack: Serialize by POP3 Server on SBSSLD1/SBPSS(Release 8.0.1|February 07, 2008) at
    23      11/09/2012 11:51:21 AM
    17     MIME-Version: 1.0
    37     Content-type: multipart/alternative;
    68     "     Boundary="0__=EABBF022DFB16ED68f9e8a93df938690918cEABBF022DFB16ED6""
    27     Content-Disposition: inline
    (null)     (null)
    58     --0__=EABBF022DFB16ED68f9e8a93df938690918cEABBF022DFB16ED6
    39     Content-type: text/plain; charset=UTF-8
    33     Content-transfer-encoding: base64
    (null)     (null)
    (null)     (null)
    76     DQoNCg0KUmVnYXJkcywNClNoYW5tdWdhbSBOYXRhcmFqYW4uDQpNb2IgOiA5NjI5MjUyNDI1DQpP
    76     ZmYgOiAwNDQgMjI1MDQ3MDAgRXh0biA0Nzc5DQoNCiB+SWYgdGhlIGZhY3RzIGRvbuKAmXQgZml0
    68     IHRoZSB0aGVvcnksIGNoYW5nZSB0aGUgZmFjdHMu4oCdIC0gQWxiZXJ0IEVpbnN0ZWlu
    (null)     (null)
    58     --0__=EABBF022DFB16ED68f9e8a93df938690918cEABBF022DFB16ED6
    38     Content-type: text/html; charset=UTF-8
    27     Content-Disposition: inline
    33     Content-transfer-encoding: base64
    (null)     (null)
    76     PGh0bWw+PGJvZHk+DQo8cD5SZWdhcmRzLDxicj4NClNoYW5tdWdhbSBOYXRhcmFqYW4uPGJyPg0K
    76     TW9iIDogOTYyOTI1MjQyNTxicj4NCk9mZiA6IDA0NCAyMjUwNDcwMCBFeHRuIDQ3Nzk8YnI+DQo8
    76     YnI+DQogfklmIHRoZSBmYWN0cyBkb27igJl0IGZpdCB0aGUgdGhlb3J5LCBjaGFuZ2UgdGhlIGZh
    60     Y3RzLuKAnSAtIEFsYmVydCBFaW5zdGVpbjxicj4NCjwvYm9keT48L2h0bWw+
    (null)     (null)
    60     --0__=EABBF022DFB16ED68f9e8a93df938690918cEABBF022DFB16ED6--
    (null)     (null)
    36     *** END OF INTERNET MESSAGE BODY ***
    4     QUIT
    42     "+OK Lotus Notes POP3 server signing off.
    "Now pls suggest me how can i store the sender mail id, receiver mail id, subject and body of the mail in a table.
    So that i can display the saved data in the above table as a mail in my separate application.
    Thanks in advance.
    Cheers,
    San

  • Still failed to read email attachment, both Mail and Enturoge

    I can't open email attachments (tif and jpg) after installation of OS X 10.6 by using Mail.
    I today installed MS Enturoge but still having same problem as Mail.
    Can Apple tell me why? And how to solve this problem?

    Alex,
    Yes, the inbound mail attachment is supported in B2B PS3 (11.1.1.4.0) but you cannot send both attachment and body to a JMS queue simultaneously from B2B. Body will be passed to the JMS queue and attachment will be written to the b2b.attachments.dir (set as B2B property in EM console) -
    http://docs.oracle.com/cd/E23943_01/user.1111/e10229/app_isags.htm
    Regards,
    Anuj

  • PDF attachment sign and save problem

    I've used digital signatures for quite a while without problem. Recently, I've noticed that when trying to digitally sign a PDF attachment from Outlook 2003 or 2010 using Adobe Acrobat Standard 7, I get an error when clicking Sign and Save. The Sign and Save As button works fine
    Error is:
    The document could not be signed.
    There was an error when attempting to commit this signature. The document was not saved.
    The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder.
    Any help is greatly appreciated! TIA!

    I will try that, thank you.
    Jim Dodge
    English Proofreading Coordinator
    ASIST Translation Services
    4891 Sawmill Road, Suite 200
    Columbus, OH 43235-7266
    www.ASISTtranslations.com
    Tel:  937-596-6649
    NOTICE: This electronic mail transmission is for the use of the named
    individual or entity to which it is directed and may contain information
    that is privileged or confidential. It is not to be transmitted to or
    received by anyone other than the named addressee (or a person authorized
    to deliver it to the named addressee). It is not to be copied or forwarded
    to any unauthorized persons. If you have received this electronic mail
    transmission in error, delete it from your system without copying or
    forwarding it, and notify the sender of the error by replying via email or
    by calling ASIST Translation Services, Inc. at (614) 451-6744, so that our
    address record can be corrected.

  • Adobe unable to read email attachment

    I want to know how to get adobe to read my email attachment.  Adobe reader says it is either not a supported file type, or that the file has been damaged.  What do I do?

    Hi Pat.  The one that is opening is an email opening in wordpad or docx.  The other three don't seem to open right away.  I have to go through adobe.  They are doc.  All four from a distance appear to be microsoft word documents.  I don't understand about the file association being correct or not.  They all look similar, but apparently one is different and opens while the other word documents do not.

  • How do I edit a pdf document and save it without having to save it as a new file?

    I recently copied a pdf document to my computer. I need to make changes to it and forward it to someone else for review. I can make the changes, but when I try to save it, I get a message that the document is read only or is already open. As far as I can tell, there are no restrictions on the document and it is not already open.
    I am using Adobe Acrobat X on a PC running Windows 7 64 bit.
    Any help with this frustrating problem would be appreciated.

    Often what you describe occurs because Windows Explorer is open and has focus on the file.
    Put focus elsewhere and, if the Preview mode is "on" turn it "off".
    Be well...

Maybe you are looking for

  • How can I merge music purchased with multiple apple-id's?

    Hi, I have purchased music on iTunes with two different Apple-id's. Don't ask me why but years ago I created another id for a reason I am unable to recollect. Now I want to merge all purchases onto one id.. Is there a way to do this? Thanks for your

  • Serial number problem - no replies from customer support. What to do?

    Hello I'm having a problem for the serial number validation. After the successful Acrobat Pro XI installation, I have entered the licence and the message "we are unable to validate this serial number--" is displayed. Since I would like to contact the

  • How to use the Oracle's SET ROLE?

    Hi all, does anyone know how I can call SET ROLE (for Oracle) from java before the report is produced with Crystal Reports API? I'm using Crystal Reports 2008 for the report design and new crystal report java sdk of JRC (v12.2 with SP1) which know as

  • PLZ HELP. Mac and windows font problems in images desciptions

    Hello everyone, macintosh, windows, Bridge CS3, Greek language My husband went away for a month and showed me and asked me to put descriptions in Bridge for about 600 photographs in his office macintosh. But I did not do this in the office. I took th

  • ABAP WebDynpro - How to get a reference to a component?

    Hey, I want to have a reference within my normal component to a different component - Is this possible? Thanks in advance, Patric