Scenario to pick the mail with its attachments into XI

Hi to All,
I am creating a scenario in which i have to pick the mail from mail server (gmail) into XI ...and then want to process the attachment of the mail( which is in XML format)...&  put the information of the attachment into the RFC.
So i need a whole scenario starting from  IR to monitoring .....
Please help me out....
Thanks in Advance.

Hi,
U can use this link to see how to make the attachment as the main payload,    (i.e PayloadSwapBean adapter module)
This webblog may help u:
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
Use this link for URL related information:
mail sender channel
Also see this tread....
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

Similar Messages

  • Sending mail with multiple attachments

    hi.I wrote a code to send mail.but i need to send mail with multiple attachments.here is the code i wrote.what should i do to send the mail with multiple attachments.if i run this code iam able to send mails but not attachments.please help me
    <%@ page import="javax.mail.*,javax.mail.internet.*,java.util.Date,java.io.*,java.net.InetAddress,java.sql.*,java.util.Properties,java.net.*,javax.sql.*,javax.activation.*,java.util.*,java.text.*" %>
    <%@ page import="java.io.*,java.sql.*,java.net.*,java.util.*,java.text.*" %>
    <%
         String Attachfiles1="";
         String Attachfiles2="";
    String Attachfiles3="";
    if("Send".equalsIgnoreCase("send"))
              try
         String subject="",from="",url = null,to="";
         String mailhost = "our local host";
         Properties props = System.getProperties();
         String msg_txt="";
         String strStatus="";
    // byte[] bin=.....;
    //Adds Attechment:
    Multipart multipart = new MimeMultipart();
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText("Here are my attachments");
    multipart.addBodyPart(messageBodyPart);
    messageBodyPart = new MimeBodyPart();
    //first attachment
    DataSource source = new FileDataSource("C:\\img1.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName("C:\\Telnor1.jpg");
    multipart.addBodyPart(messageBodyPart);
    //Second attachment
    DataSource source2 = new FileDataSource("C:\\img2.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source2));
    messageBodyPart.setFileName("C:\\Telnor2.jpg");
    multipart.addBodyPart(messageBodyPart);
    //etc...
    message.setContent(multipart);
    Transport.send( message );
    String mailer = "MyMailerProgram";
    to=request.getParameter("to");
    from=request.getParameter("from");
    subject=request.getParameter("subject");
    msg_txt=request.getParameter("message");
    props.put("mail.smtp.host", mailhost);
    Session mailsession = Session.getDefaultInstance(props, null);
    Message message = new MimeMessage(mailsession);
    message.setFrom(new InternetAddress(from));
    message.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false));
    message.setSubject(subject);
    message.setHeader("X-Mailer", mailer);
    message.setSentDate(new Date());
    message.setText(msg_txt);
    BodyPart messageBodyPart = new MimeBodyPart();
    BodyPart messageBodyPart2 = new MimeBodyPart();
    Multipart multipart = new MimeMultipart(); // to add many part to your messge
    messageBodyPart = new MimeBodyPart();
    javax.activation.DataSource source = new javax.activation.FileDataSource("path of the file");
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName("file_name");
    messageBodyPart2.setText("message"); // set the txt message
    multipart.addBodyPart(messageBodyPart);
    multipart.addBodyPart(messageBodyPart2);
    Transport.send(message);
    out.println("Message Sent");
    catch (Exception e)
    e.printStackTrace();
    if("Attachfiles".equalsIgnoreCase("attachfiles"))
    Attachfiles1=request.getParameter("fieldname1");
    Attachfiles2=request.getParameter("fieldname2");
    Attachfiles3=request.getParameter("fieldname3");
    %>
    <html>
    <body>
    <div class="frame">
         <form action="Composemail.jsp" method="post">
              <b>SelectPosition:</b> <select name="cars" >
    <option value="ABAP">ABAP
    <option value="saab">Saab
    <option value="fiat">Fiat
    <option value="audi">Audi
    </select><br><br>
    <table border="1" cellpadding="2" cellspacing="2">
    <tr><th>Name</th>
    <th>EmailId</th>
    <th>ContactNumber</th>
    <th>Position</th>
    </tr>
    <tr>
    <td>
    </td>
    </tr>
    </table><br>
    <b>SelectUser :</b><select name="cars">
    <option value="Administrator">Administrator
    <option value="saab">Saab
    <option value="fiat">Fiat
    <option value="audi">Audi
    </select>
    <br>
    <b>To :</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="to" size="72"><br>
    <b>From :</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="from" size="72"><br>
    <b>Subject :</b>&nbsp&nbsp&nbsp<input type="text" name="subject" size="72"><br>
    <%=Attachfiles1%><br><%=Attachfiles2%><br><%=Attachfiles3%><br><br>
    <b>Message:</b><br>
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<textarea rows="10" cols="50" name="message">
    </textarea> <br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname1" value="filename" size="50"><br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname2" value="filename" size="50"><br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname3" value="filename" size="50"><br><br>
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="submit" name="attachfiles" value="Attachfiles">
    <center>
    <input type="submit" name="send" value="Send" >
    </center>
    </form>
    </div>
    </body>
    </html>

    Create a separate MimeBodyPart object for each attachment, rather than reusing
    the same one over and over.

  • Error in picking the mail...

    Hi to all..
    I am trying to pick the mail with attachment, i want to make the attachment as the main payload so i have used Michael Blog:
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    But i am getting this error:
    exception caught during processing mail message[1]; com.sap.aii.af.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/AF_Modules/PayLoadSwapBean caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of PayLoadSwapBean.
    Please help me out....
    Thanks
    Regards
    Vikas

    HI,
    sure as per the above blog it will workd fine,
    also see the below link  for payloadswapbean
    http://help.sap.com/saphelp_nw2004s/helpdata/en/6b/4493404f673028e10000000a1550b0/frameset.htm
    Regards
    Chilla

  • Sending mail with multiple attachments in jsp

    hi .I wrote a code to send a mail in jsp.but now i need to send mails with multiple attachments.how can i send mail with multiple attachment.

    Create a separate MimeBodyPart object for each attachment, rather than reusing
    the same one over and over.

  • Sending mail with 2 attachments

    Hi All,
            I have a requirement where I have to send a mail with 2 attachments. Both attachments should be excel sheets.
    Iam using the function module
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = gd_doc_data
          put_in_outbox              = 'X'
          commit_work                = 'X'
        IMPORTING
          sent_to_all                = gd_sent_all
        TABLES
          packing_list               = it_packing_list
          contents_txt               = it_message
         contents_bin               = it_attachment
          receivers                  = it_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
    I don't know where to pass another attachment.
    How can it be done?
    Kindly help me.
    Regards,
    Krithika

    Hi,
    Try this code.
    you have to populate both packing_list and contents_bin internal tables before passing to the fm SO_NEW_DOCUMENT_ATT_SEND_API1
    FORM CONVERT_OTF_TO_PDF TABLES OTFTAB STRUCTURE OTF.
      CLEAR: SOOD, W_LINES, CONTENT_IN, CONTENT_OUT.
      REFRESH: CONTENT_IN, CONTENT_OUT.
      DESCRIBE TABLE OTFTAB LINES W_LINES.
      SOOD-OBJLEN = W_LINES.
      REFRESH: CONTENT_IN, CONTENT_OUT.
      CLEAR: CONTENT_IN, CONTENT_OUT.
       CONTENT_IN[] = OTFTAB[].
        CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
             EXPORTING
                  FORMAT_SRC      = 'OTF'
                  FORMAT_DST      = 'PDF'
                  DEVTYPE         = 'HPLJ5SI'
    *         FUNCPARA        =
                  LEN_IN          = SOOD-OBJLEN
    *    IMPORTING
    *         LEN_OUT         =
             TABLES
                  CONTENT_IN      = CONTENT_IN
                  CONTENT_OUT     = CONTENT_OUT
             EXCEPTIONS
                  ERR_CONV_FAILED = 1
                  OTHERS          = 2.
      REFRESH OBJBIN. CLEAR OBJBIN.
      IF GV_SUMMARY <> 'X'.
        OBJBIN[] = CONTENT_OUT[].
      ELSE.
        REFRESH CONTENT_OUT.
        CLEAR CONTENT_OUT.
      ENDIF.
      REFRESH: CONTENT_IN, OBJPACK.
      CLEAR: CONTENT_IN, OBJPACK.
      DOC_CHNG-OBJ_NAME = TEXT-003.
      IF SY-SYSID NE 'S4P'.
       IF DOC_CHNG-OBJ_DESCR IS  INITIAL.
          DOC_CHNG-OBJ_DESCR = TEXT-004.
        ELSE.
          IF GV_SUMMARY = 'X'.
           DOC_CHNG-OBJ_DESCR = TEXT-012.
          ENDIF.
        ENDIF.
      ENDIF.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    * Fill the fields of the packing_list for the main document:
        CLEAR  OBJPACK.
        DESCRIBE TABLE OBJBIN LINES TAB_LINES.
       OBJPACK-TRANSF_BIN = 'X'.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM = 0.
        OBJPACK-BODY_START = 1.
        OBJPACK-BODY_NUM = TAB_LINES.
        OBJPACK-DOC_TYPE = 'XLS'.
        OBJPACK-OBJ_NAME = 'Attachment'.
        OBJPACK-OBJ_DESCR = C_PAYER.
        READ TABLE OBJBIN INDEX TAB_LINES.
        DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJBIN ).
        OBJPACK-DOC_SIZE = DOC_SIZE.
        APPEND OBJPACK.
        CLEAR  OBJPACK.
        DESCRIBE TABLE OBJBIN LINES TAB_LINES.
       OBJPACK-TRANSF_BIN = 'X'.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM = 0.
        OBJPACK-BODY_START = 1.
        OBJPACK-BODY_NUM = TAB_LINES.
        OBJPACK-DOC_TYPE = 'XLS'.
        OBJPACK-OBJ_NAME = 'Attachment'.
        OBJPACK-OBJ_DESCR = C_PAYER.
        READ TABLE OBJBIN INDEX TAB_LINES.
        DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJBIN ).
        OBJPACK-DOC_SIZE = DOC_SIZE.
        APPEND OBJPACK.
        REFRESH RECLIST.
        CLEAR RECLIST.
    ** get E-mail address
          IF NOT P_EMAIL IS INITIAL.
            RECIPIENT_INT-ADDRESS = P_EMAIL.
          ENDIF.
            RECLIST-RECEIVER = RECIPIENT_INT.
            RECLIST-REC_TYPE = 'U'.
            APPEND RECLIST.
    * SEND THE DOCUMENT BY CALLING THE SAPOFFICE API1 MODULE
    * FOR SENDING DOCUMENTS WITH ATTACHMENTS
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = DOC_CHNG
                PUT_IN_OUTBOX              = 'X'
           IMPORTING
                SENT_TO_ALL                = SENT_TO_ALL
           TABLES
                PACKING_LIST               = OBJPACK
                OBJECT_HEADER              = OBJHEAD
                CONTENTS_BIN               = OBJBIN
                CONTENTS_TXT               = OBJTXT
                RECEIVERS                  = RECLIST
           EXCEPTIONS
                TOO_MANY_RECEIVERS         = 1
                DOCUMENT_NOT_SENT          = 2
                OPERATION_NO_AUTHORIZATION = 4
               OTHERS                     = 99.
    Regards,
    Sailaja.

  • My Gmail account won't work well with my Apple Mail, THe mail won't download into my gmail account and I frequently as requested to put my IMAP password in and it is then rejected.

    My Gmail and Cox accounts  and  won't work well with my Apple Mail, The mail won't download into my gmail account and I frequently am requested to put my IMAP password in, and it is then rejected.I  go to mail preferences and put the password in the appropiate place and I am told the password is new and do I want to use it. I reply yes but its not saved. Any suggestions

    On the left, you should have a list of keychains and categories. If not, Select Show Keychains from the View menu.
    Select the login keychain and All Items in the Category.
    In the search field, type something that will help find your  account keychains, like "gmail."
    Select the keychain for your email account password and delete it.

  • How to send the mail with multiple file attachments ?

    Sending mails with multiple files as attachments.

    You need to start from the app, assuming that it has an email function, that contains the files that you want to send as attachments. The Photos app allows you to send up to 5 photos on the same email, but if you want to send multiple file types then you need an app that supports all those file types. I use the GoodReader app which supports quite a few document/file types (e.g. PDF, Excel, Word, pictures), and from that I can select multiple files (including different types) and attach them to the same email.

  • Syncing Mail with Word attachments without the internet?

    Is there a way to sync email with Word doc. attachments with a desktop, via a usb cable, without the desktop having an internet connection?
    The setup is an iphone that syncs mail with a work computer that is internet connected. At home there is no internet accept Edge; i.e. iPhone gets internet but the desktop does not. I would like to use the iphone to move Word docs from emails back and forth to the desktop. I.e. someone emails me with a word doc attachment, (ii) Can I then sync (download) the attachment onto my home computer via a USB cable, edit the document? and then (iii) sync (upload) the edited word document back to the iPhone (which will then sync with my work computer via the Edge connection.
    Thanks in advance!
    Message was edited by: Tooschaye

    Hey Tooschaye,
    iTunes will sync the email account settings to the iPhone, it does not sync the actual emails or attachments.
    You should be able to find a few applications on the App Store which will let you store files on your iPhone. Then you can transfer the files to your desktop. I believe most of these apps require the devices be on the same Wi-Fi network.
    -Jason

  • Howto send a mail with 2 attachments

    hi experts,
    i have to realise the following scenario:
    - a customer sends us invoice-data via webservice
    - sap-pi has to copy the payload
    - sap-pi adds some default-values the new payload
    - at the end i have to send an email with the original payload and the modified payload
      (every payload as a separate attached file)
    is this possible??
    could anyone describe me the steps i have to do?
    thx in advance,
    dieter

    thx for your answer - we solved our problem with a bean that we implemented in the communications channel of the sender.
    our next problem is that we want to rename the attachments. we made the following settings in the communications channel of the receiver:
    1     localejbs/AF_Modules/MessageTransformBean     Local Enterprise Bean     1
    2     localejbs/AF_Modules/PayloadSwapBean     Local Enterprise Bean     swap
    3     localejbs/AF_Modules/MessageTransformBean     Local Enterprise Bean     2
    4     sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean     Local Enterprise Bean     mail
    1     Transform.ContentDescription     untitled.xml
    1     Transform.ContentDisposition     attachment;filename="original.xml"
    1     Transform.ContentType     text/xml;name="original.xml"
    swap     swap.KeyName     payload-name
    swap     swap.KeyValue     attachment-1
    2     Transform.ContentDescription     invoice
    2     Transform.ContentDisposition     attachment;name="invoice.xml"
    2     Transform.ContentType     text/xml;name="invoice.xml"
    the message looks like this:
    <SAP:Manifest xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
    - <SAP:Payload xlink:href="cid:original-ID.xml">
      <SAP:Name>attachment-1</SAP:Name>
      <SAP:Description>attachment</SAP:Description>
      <SAP:Type>ApplicationAttachment</SAP:Type>
      </SAP:Payload>
    - <SAP:Payload xlink:href="cid:payload-8687af70bfd611dfb3f700e000c5720c<at>sap.com">
      <SAP:Name>MainDocument</SAP:Name>
      <SAP:Description>Main XML document</SAP:Description>
      <SAP:Type>Application</SAP:Type>
      </SAP:Payload>
      </SAP:Manifest>
    in our mail, the payload maindocument is an attachment with the name "invoice.xml" -> this works
    but the second attachment in the mail is named "untitled.xml" and it's not possible for us to rename this attachment to "original.xml"
    any ideas???
    thx in advance

  • SAP PI7.31 : Mail with multiple attachments - how to process via UDF

    Hi
    wondering how I can approach this problem.   I have to read an Email with any number of attachments  - it can have between 1 and 4 or maybe more of different types (CSV,XLS,PDF,ZIP).  I need to read this email and extract the attachments to a folder.
    Just to let you know I have done this OK for an email that I know only has 2 attachments ! Works perfectly - just no good for ?n? attachments !
       Mail Sender has AF_Modules/MultipartHeaderBean to add payload Attributes
       The message is sent to 2 Receivers
       Each Receiver File adapter then uses AF_Modules/DynamicConfigurationBean and AF_Modules/PayloadSwapBean
    Problem is that when I do not know how many attachments there are.  So I will have to write a Java UDF mapping, perhaps using the classTransformationInput.
    My question is : To create a Java UDF what should be structure of a sent Email message Type look like so I can feed that into a UDF to check what payload attachments there are etc ?.

    As long as you use java mapping, you can have any dummy structures for your interfaces.
    But, if you prefer to use graphical mapping with UDF, then you should have some valid structures for your mail and file interfaces. e.g., mail pack XSD for mail interface as metioned by Indrajit Sarkar
    and again the same structure for the file interface as well so that you can have one to one mapping an then make use of UDF code from the article. Use payload swap bean in the receiver file channel to replace xml payload with Zipped attachments and then finally use script to unzip this zip file.
    Rgds,
    Praveen Gujjeti

  • Need to Pick the file with continious records in File Sender

    Hi,
    I am Working with File to Idoc Scenario. Where I am using Field Fixed length as FCC. The fixed length of each record is 200.
    I am able to pick the first 200 characters.
    For example:
    If the file has 600 characters continiously. The first 200 belong to first record and second from 201 to 400 and so on.
    How can i control this in File adapter.
    Regards,
    Manoj

    Your data type record should have an occurence of 0..unbounded or 1..unbounded. In file content conversion, leave the recordset per message empty.
    Let's say you have the following structure:
    DT_MAIN_SEGMENT (0..1)
      RECORDSET (1..unbounded)
    In file content conversion, DT_MAIN_SEGMENT will be your recordset name and RECORDSET will be your recordset structure.

  • Mail with PDF attachments sent, not stored in Sent

    IMAP account, Sent folder configured to point to server's sent mail folder. "Windows friendly attachments" selected.
    If I send a message with multiple PDF attachments, the message will be received, but it won't be written to the Sent folder.
    I can't afford to lose the archive copy of these messages, so I have adopted the habit of bcc'ing myself, but it's a drag.
    Any thoughts?

    I don't think this is a Mail issue, I think it's to do with the receiving ISP and the reason the mail can't be delivered. For example, if the address does not exist the mail will probably bounce back straight away but if the recipient's mail box is full then the server may try later and if it's been emptied, the mail will go through - if not, after a few tries it will bounce. Hence the delay.

  • Sending mails with binary attachments

    Hi!
    I've to implement a routine for sending an email with attachments.
    These attachments can be PDF- or HTML-Files. Sometimes the last of the PDF-Attachments could not be opened when receiving the mail (it can't be open in the SOST as well).
    My coding is:
          loop at lt_doks.
            select single * from toadv where ar_object eq lt_doks-ar_object.
            call function 'ARCHIVOBJECT_GET_TABLE'
              exporting
                archiv_id                = lt_doks-archiv_id
                document_type            = toadv-doc_type
                archiv_doc_id            = lt_doks-arc_doc_id
              importing
                length                   = l_length
              tables
                archivobject             = l_image_tab
              exceptions
                error_archiv             = 1
                error_communicationtable = 2
                error_kernel             = 3
                others                   = 4.
            clear objpack.
            perform convert_document tables l_image_tab
                                            objbin
                                     using tab_lines_new
                                           i_pernr
                                           i_reinr
                                           l_subrc.
            if l_subrc ne 0.
              raise convert_error.
            endif.
            objpack-transf_bin = 'X'.
            objpack-head_start = 3.
            objpack-head_num = 0.
            objpack-body_start = tab_lines + 1.
            objpack-body_num = tab_lines_new.
            objpack-doc_type = toadv-doc_type.
            objpack-obj_name = 'Attachment'.
            objpack-obj_descr = lt_doks-objecttext.
            objpack-doc_size = tab_lines_new * 255."l_length.
            append objpack.
            tab_lines = tab_lines + tab_lines_new.
            clear tab_lines_new.
          endloop.
        endif.
      endif.
      if not document_data-obj_descr is initial.
    jetzt wird's ernst -> Mail versenden
        call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          exporting
            document_data              = document_data
            put_in_outbox              = ' '
            commit_work                = 'X'
          tables
            packing_list               = objpack
            contents_txt               = daten
            contents_bin               = objbin
            receivers                  = receivers
          exceptions
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 7
            others                     = 8.
      endif.
    form convert_document tables p_image_tab structure docs
                                 p_objbin structure solisti1
                          using  p_lines
                                 p_pernr
                                 p_reinr
                                 p_subrc.
      data: l_filename like filename-fileextern.
      clear p_lines.
      call function 'FILE_GET_NAME'
        exporting
          client           = sy-mandt
          logical_filename = 'Z_HRTV_CONVERT'
          operating_system = sy-opsys
          parameter_1      = p_pernr
          parameter_2      = p_reinr
        importing
          file_name        = l_filename
        exceptions
          file_not_found   = 1
          others           = 2.
      if sy-subrc ne 0.
        p_subrc = sy-subrc.
        exit.
      endif.
    Schreiben der Datei
      open dataset l_filename for output in binary mode.
      loop at p_image_tab.
        transfer p_image_tab to l_filename.
      endloop.
      close dataset l_filename.
      refresh p_image_tab.
      clear p_image_tab.
    Lesen der Datei
      open dataset l_filename for input in binary mode.
      do.
        read dataset l_filename into p_objbin.
        if sy-subrc <> 0.
          if not p_objbin is initial.
            append p_objbin.
            clear p_objbin.
            add 1 to p_lines.
          endif.
          exit.
        endif.
        append p_objbin.
        clear p_objbin.
        add 1 to p_lines.
      enddo.
      close dataset l_filename.
    Löschen der Datei
      delete dataset l_filename.
    endform.                    " convert_document
    Can anybody give me hint?
    Thanks a lot!
    Peter

    Hi,
    Whether your objpack-doc_type is coming correctly for the last PDF attachment?
    Thanks
    aRs

  • Mail with 6MB attachments created a 69 MB Monster, up and down, no end!

    Yesterday I sent a mail with about 6 MB of data, I couldn't wait until mail did its usual play with stupid upload to .Mac, upload to draft, re-download to drafts again, re-download to sent messages and so on. Today mail does nothing but trouble, everytime I start mail it wants endlessly to down- and upload a monster of a 69 MB file that I've never created and there is nothing to see, wheter to delete nor to refuse. Activity shows only that nothing goes forward and this task blocks anything else, I can't recieve mails, I can't send mails this way. This issue let go down anything with mail on my iMac! What can I do???

    Couldn't wait means I couldn't wait until it finishes this endless story!
    After a week of absence there is still the same problem. Ever and ever again it copies a 69 MB Monster to my drafts folder, I waited up to 5 of the same mail listed in the drafts folder and there was still no end. Deleting the files from drafts doesn't do anything, it shows "copy mail" in the activity window and there is no hope to end that task in hours! Then, after a while there is a timeout with .Mac.
    H O R R I B L E ! ! !

  • Auto-delete mails with ZIP attachments?

    Unfortunately, I have to do business with Windows users whose machines seem to be infested with viruses that harvest email addresses. As a result, I am engulfed daily with mail that contains Windows virus attachments (ZIP files) and spam with GIF attachments. And I'm tired of it. Reporting the senders to their ISPs is an exercise in futility.
    Since the only legitimate attachments I receive from clients are always, and without exception, Stuffit SIT or SITX files, is there any way to set up a rule in Mail that will delete emails with ZIP or GIF attachments but allow those with SIT/SITX files through?
    There doesn't seem to be a way to add "Attachment" to the list of headers in Rules. In view of the fact that the most common vector for viruses is via email attachments, this seems to be a major oversight on Apple's part.
    Any hints on dealing with this?
    Kind regards.

    Dave,
    sorry for being late but I just saw your message now...
    In 10.3.x, there indeed is no way to filter based on attachment names (this is a new feature present in 10.4.x). However, you should be able to mark all those messages as spam and filter them to your junk mailbox using Junk Matcher:
    http://junkmatcher.sourceforge.net/
    Andreas

Maybe you are looking for

  • ICR: FBICS3 selects cleared documents and old documents

    Hi, I have just gone live with ICR functionality (processes 002 & 003) and I have notice that FBICS3 transaction is not working as I expected: 1/ "Old documents": If I set in the program FBICS3 "year = 2010" & "month = 01"" I expected that the progra

  • Table in which changes to condition type is recorded for a contract

    Hi Experts We are working on customised report in classical Real estate in which for a particular contract changes done in the condition tab are to be displayed. In this report we want to restrict condition types related to Budget and forecast which

  • ITunes will not save a video podcast

    using iTunes 7.3, and after subscribing to a podcast, I am unable to save a video podcast. It goes through the down load process, but when complete it does not show up in the list of programs for a given podcast. The audio only podcast seem to be wor

  • Unable to provision apps to new users in added realm

    I added a second realm, but there are no applications in the provisioning console for it. I wonder if provisioning is manual for multiple realms. Does anyone have any experience or knowledge with this? thanks, Perryn

  • Site errors, how to remove

    Hi, I look into the site errors section and see the following link "BookingRetrieve.aspx?ID=35731". What is this? Where do I go to remove this? Thank you