Multiple Attachments in Email Payload declaring with Application Types

Hi XI Experts,
I am currently working on an Email Module to handle multiple attachments. I have read all forum entries to this topic but I got know answer to my question.
My question:
Is it technically possible to declare more than one Atttachment of the Payload with the tag <Application Type>? From the coding point of view I know that it is possible like this
for ( int  i = 0; i < XMBMessageOperator.numberOfPayloads(message); i++){
XMBPayload payload = XMBMessageOperator.getPayload(message, i);
payload .setPayloadType(PayloadType.APPLICATION);
but does the XI then also process all application attachment messages correctly as separate messages?
So from the coding point of view does the XI iterate over all application attachments and processes the messages?
best regards,
Dries

Hi Dries,
I would suggest to do it using SAPConnect instead of ccBPM.Check this blog.
It splits the payload and sends it as multiple attachment.https://weblogs.sdn.sap.com/pub/wlg/3007.Source [original link is broken] [original link is broken] [original link is broken] [original link is broken] code sends multple attachments as an email.
You have to use the viceversa.Read the thomas jung blogs for further info /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher .
vasanth

Similar Messages

  • Cannot send multiple attachments since 10.5.8 with IMAP

    Have had a consistent issue that Mail 3.6 will not send multiple attachments, regardless of size, since the 10.5.8 update with a IMAP configuration. Under POP, as in Gmail, using Mail 3.6 with multiple attachments is no issue. Using IMAP through my Godaddy Hosted Domains, in some cases it actually is sending mail as verified through webmail "Sent" folder but does not show in Mail 3.6 "Sent" folder. Have verified this through sending from my IMAP Goddady hosted emails to my POP Gmail account accessed via Mail 3.6. Can also send successfully through webmail on Godaddy to any Pop or IMAP account.
    It seems something in the 10.5.8 update has altered Mail 3.6 to impact this functionality. As a business owner this functionality is crucial, may have to switch to Entourage.
    Any suggestions are appreciated.

    That crash is because of a bad result from an OS routine.
    Our best guesses involve corrupt application installs, or corrupt OS installs.

  • Multiple attachments in email

    Is it possible to attach multiple files to emails on an iPad?

    It depends on which app you are using.
    I can attach multiple attachment with apps like GoodReader, Photo Manager Pro

  • Why can't i attach multiple attachments on email using iPad

    Using the iPad, in the apple mail app you can't attach documents only photos and videos, why is that? Especially trying to attach PDF files from iBooks  you can't from the mail app. Even if I go to iBooks and try to attach multiple pdf's on one email I can't.
    please help with this.
    Thank you.

    There are Apps like GoodReader which allow attaching multiple documents to emails including multiple PDFs.
    See here: https://itunes.apple.com/us/app/goodreader-for-ipad/id363448914?mt=8

  • Issue with multiple attachments in email program

    Hi All,
    i need one program which sends 3 excel sheets as an atatchments. in these attachments data should be separated by tab. i am not able to find suitable program for the requirement anybody can send me the code .
    thanks,
    maheedhar

    hi,
    Refer to this link...
    send mail with multiple excel attachments
    Cancatenate  fields of internal table CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB  to get the tab position between the fields.

  • Sending multiple attachments in EMail adapter based on the segments:

    Hi,
    The scenario is from IDOC-Mail and the requirement is will we be able to send multiple files in the Email based on the segments ?
    Just assume that you have to create one file with the IDoc header data,
    and in addition to that one file per segment.
    Is this requirement possible?Please help .
    Thanks & Regards,
    Rajesh
    Edited by: rajeshkpnnaidu on Dec 16, 2010 8:33 AM

    Hi,
    In this case IDoc-file-mail, if we create multiple files based on the each IDoc segments,how we can combine all the files(created in local directory) which are related to 1 single IDoc  and send all of them in a single mail.
    Ex: if there are 20 files in local folder with 2 different IDoc segments then how we can filter based on each IDoc.
    Hope i am clear with my above description.
    Please help?
    BR,
    Praveen

  • Updating import declarations with duty types and message types

    Hi All,
    I am a GTS developer. There are configuration changes in the system . As a result, the import declarations and presentation documents created in 2014  and 2013 have to be updated with :
    1.)  Replace old duty types with new ones in the logistic costs tab.
    2.)  Replace old message types with new ones in the communication tab.
    Any pointers on how to go about , regarding the table links between the duty types and declarations, message types and declarations , Function modules would be very helpful.  Thanks much in advance.
    Best Regards
    Shankarnarayan.K.

    Hi SK,
    That's a strange request.  Of course the configuration changes invalidate the old Declarations, but your attempt to re-write history isn't likely to achieve much.
    Since the messaging cannot be repeated, it makes no sense to update the documents.  And similarly, since the Declarations cannot be re-sent, updating the Duty Types will have no effect.
    But if you must do it, here are some tips:
    For the duty calculation, you need to update entries in table /SAPSLL/LEGCULC.  Assuming the the Duty Types haven't been re-named, you should loop through the entries and use MOVE-CORRESPONDING to copy the values from the configuration tables /SAPSLL/TLC_ASC (key = LAUNR) and /SAPSLL/TLC_AAR (key = TLC_AAR, matching /SAPSLL/LEGCULC-TLC_AART).  First check that all relevant fields have the same name, considering the Data Elements involved.
    For the messages, you need to update entries in table /SAPSLL/LEGMES.  However, I have no idea which fields your esteemed Application Consultant might have changed there, so can't immediately advise what should be copied.
    In both cases, the link to the Customs Declarations is that GUID_MOBJ = /SAPSLL/CUHD-GUID_CUHD, and MOBJT = 'O' (that's the letter, not number zero).
    Hope that helps.
    Regards,
    Dave

  • File to Mail with multiple attachments

    Hi All,
    I am doing file to mail scenario in which iam including attachments.
    I am able to send one attachment(i.e., .txt) from file to mail.
    My requirement is i need to send both .txt and .xls .Please let me know the procedure for sending multiple attachments(probabaly without any abap coding or .jar files usage).
    regards
    Madhu

    Hi Madhu,
         Using the default modules PayloadSwapBean and MessageTransformBean you can able to send multiple attachments.
    swap.keyName  :payload-name or payload-description or content-type, content-description. swap.keyValue: If you have  a multiple attachments then give the multiple key value.
    Like you have payload name
      Attachment1, Attachment2 then
    swap.keyName  payload-name
    swap.keyValue  Attachment1, Attachment2
    Using the MessageTransformBean you can able to change the file name.
    PayloadSwapBean:
    [http://help.sap.com/saphelp_nw70/helpdata/EN/2e/bf37423cf7ab04e10000000a1550b0/content.htm]
    MessageTransformBean:
    [http://help.sap.com/saphelp_nw70/helpdata/EN/57/0b2c4142aef623e10000000a155106/content.htm]
    Regards,
    Prakasu

  • While saving multiple attachments from mail, files with same name are added and not replaced

    While saving Multiple Attachments from Mail, existing file with same name are not overwritted but new files are added in the folder.

    Bjørn Larsen a écrit:
    Hi all
    Hope to get some help with Elements Organizer.
    I have 12-15 years of digital photos that I now want to import into my newly aquirede Adobe Elements Organizer / Photoshop. Since my Nikon names the files with continous numbers from 0001 to 9999 I have multiple files with the same name although they are not alike at all. My previous software had no problems with that since I keep the photos in separate file folders based on import date. I generally import photos after each event and so name the folder with the date and some event info (e.g. 2014.12.24 - Christmas at grandparents).
    That is a common situation, I have the same limitation for files not going over 9999 on my Canons...
    Now - when I import my photos into Elements Organizer I get a lot of error messages with "same name exist .....) Hmmmmmmm
    Please sate the exact wording of the error message, I have never seen a message stating 'same name exist...' or equivalent; only messages about files already in the catalog. Files already in the catalog mean that some files have the same 'date taken' and file size in Kb.
    Any suggestions. I'm using a mac and tried to rename files based on date taken. The mac can do that but it takes ages to go into each folder and run the renaming script there.
    I also use a similar folder creation scheme (such a date naming is the default for the downloader). That way I never get a message about duplicates for the same file names.
    However - I can't be the first or only person with this problem so I figure that some workaround must be known out there. Maybe the import action can recognize date taken or - well. Thank you very much in advance if you can help me out here.
    You can alsways set the downloader to rename the imported files with a unique new name, there are many options in the 'advanced' dialog of the downloader. I don't know about Macs, but I don't thing there is a difference.

  • How to save multiple attachments in Lion Mail?

    In Snow Leopard Mail, I can save multiple attachments to my Downloads folder with one click. In Lion Mail, I see no way to save attachments except by right-clicking on them one at a time. I must be missing something. Information appreciated.

    I believe you are missing something. I'm not on my Mac right now but there should be a setting where to save attachments and also muiltiples at one time.

  • How to avoid zeros in output for a field with Decimal type

    Hi Friends
    In a  Report one output field is declared with decimal type.
    Whenver that field is not filled with any values zeros will be displayed in the output.
    I tried to change the data type to char but i am facing some issues in calculations and shwoing only 2 decimal places.
    So is there any way to hide the zeros in the output if we the field is not filled with any value.

    Hi Sandeep,
    If required field type is declared as type p decimals 2 , if for that field in internal table there is no value  - then automatically output will get display in ALV as 0.00.
    To remove 0.00 in the output screen and to be displayed in blank then in the field catalogue add wa_fieldcat-no_zero = 'X'. in that particular field. then if no value for that field then it will display space in the output.
    wa_fieldcat-fieldname   = 'ZQUAN'.
      wa_fieldcat-seltext_l   = 'Quantity'.
      wa_fieldcat-outputlen  = '13'.
      wa_fieldcat-no_out      = ' '.
    wa_fieldcat-no_zero    = 'X'.  wa_fieldcat-hotspot     = ' '.
      wa_fieldcat-key            = ' '.
      wa_fieldcat-do_sum      = 'X'.
      wa_fieldcat-qfieldname  = ' '.
      wa_fieldcat-ref_tabname = ' '.
      wa_fieldcat-just                = ' '.
    Regards,
    Priya

  • Send email with multiple attachments using MS outlook

    Hi,
    Is it possible to send an email with multiple attachments using MS outlook. (Using activex)
    Regards,
    Neha

    nehrnul wrote:
    Hey thanks for the reply. I'll try that way also.
    but currently my requirement is to send email using MS Outlook. And I found 1 solution using invoke node
    Regards,
    Neha
    That' "requirement" sounds like it was written by someone who is trying to drive the design of the application.  Without knowing your personal situation it's hard for me to say, but if I had to guess I would say the real requirement is to send an email with multiple attachements, and the person giving that requirement thought sending it through Outlook would be the best way.  You should get clairification on what the real intend of that requirement is.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Sending email with multiple attachments

    Hi forum,
    I am able to send email with a single attachment using maildemo.sql from: http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    But now I am trying to send email with more than 1 attachment and it does not work. My code that calls the above mentioned package is as follows:
    <code>
    PROCEDURE send (
    psender VARCHAR2,
    precipients VARCHAR2,
    pcc VARCHAR2,
    pbcc VARCHAR2,
    psubject VARCHAR2,
    pmessage VARCHAR2,
    pnumattach NUMBER) -- The number of attachments that need to be sent
    IS
    p_blob BLOB;
    p_filename VARCHAR2(200);
    p_filetype VARCHAR2(200);
    p_currSeq NUMBER;
    conn utl_smtp.CONNECTION;
    i NUMBER;
    j NUMBER;
    len NUMBER;
    BEGIN
    IF pnumattach > 1
    THEN
    conn := SEND_EMAIL_HELPER.begin_mail(
              sender => psender,
              recipients => precipients,
              subject => psubject,
              mime_type => send_email_helper.MULTIPART_MIME_TYPE);
    j := 0;
    SELECT seq_attach_transact_id.CURRVAL INTO p_currSeq FROM dual; -- seq_attach_transact_id is a primary key that identifies every single attachment in the table
    WHILE (j < pnumattach) LOOP
    p_currSeq := p_currSeq - j;
    SELECT blob_content INTO p_blob FROM wwdoc_document WHERE transaction_id = p_currSeq;
    SELECT name INTO p_filename FROM wwdoc_document WHERE transaction_id = p_currSeq;
    SELECT mime_type INTO p_filetype FROM wwdoc_document WHERE transaction_id = p_currSeq;
    SEND_EMAIL_HELPER.begin_attachment(
    conn => conn,
    mime_type => p_filetype,
    inline => TRUE,
    filename => p_filename,
    transfer_enc => 'base64');
    -- split the Base64 encoded attachment into multiple lines
    i := 1;
    len := DBMS_LOB.getLength(p_blob);
    WHILE (i < len) LOOP
    IF(i + SEND_EMAIL_HELPER.MAX_BASE64_LINE_WIDTH < len)THEN
    UTL_SMTP.Write_Raw_Data (conn,
    UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, SEND_EMAIL_HELPER.MAX_BASE64_LINE_WIDTH, i)));
    ELSE
    UTL_SMTP.Write_Raw_Data (conn,
    UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, (len - i)+1, i)));
    END IF;
    UTL_SMTP.Write_Data(conn, UTL_TCP.CRLF);
    i := i + SEND_EMAIL_HELPER.MAX_BASE64_LINE_WIDTH;
    END LOOP;
    SEND_EMAIL_HELPER.end_attachment(conn => conn);
    END LOOP;
    SEND_EMAIL_HELPER.attach_text(
    conn => conn,
    data => pmessage,
    mime_type => 'text/html');
    SEND_EMAIL_HELPER.end_mail( conn => conn );
    ELSE
    utl_mail.send(psender,precipients,pcc,pbcc,psubject,pmessage);
    END IF;
    END send;
    </code>
    Can anyone please tell me where am i going wrong.
    Message was edited by:
    Monk

    The easiest is to send an e-mail with multiple attachments to yourself and then view the message in raw to see how it is formatted - how the boundaries work. what the boundary headers are, etc.
    Then you use that as a template for your PL/SQL code to generate a MIME body for an e-mail that has multiple attachments.
    To debug.. have your PL/SQL code send sample e-mails with multiple attachment to your account, view it in raw format and compare that to the original format you've based your template on.
    And none of this is really a PL/SQL issue.. it is all about formatting a valid MIME message for an e-mail.

  • Inbound Email Attachments with MIME type of application/octet-stream

    I'm hoping someone can help me here. I'm trying to start a BPEL process via email. The email can consist of no attachments or multiple attachments. All the attachments should be text, e.g. XML, CSV, etc.
    Where I have got to is receiving the email and writing the attachments to variables. All is fine until I get an attachment that has a MIME type of application/octet-stream. I would only expect to see this for files that are not text based.
    Does anyon know how I can inturpret this type so I can extract the text? In this example both files are text based although only the first file is displayed.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <mailMessage xmlns="http://services.oracle.com/bpel/mail">
    - <from>
    <email>[email protected]</email>
    <displayName>James</displayName>
    </from>
    - <to>
    - <address>
    <email>j@james</email>
    <displayName>James</displayName>
    </address>
    </to>
    - <replyTo>
    <email>[email protected]</email>
    <displayName>James</displayName>
    </replyTo>
    <subject>RE: test</subject>
    <sentDate>2007-05-02T11:19:37.000+12:00</sentDate>
    <contentType>multipart/mixed; boundary="----_=_NextPart_001_01C78C47.6040C3F0"</contentType>
    - <content>
    - <multiPart>
    - <bodyPart>
    <contentType>text/plain; charset="iso-8859-1"</contentType>
    <content>________________________________ From: James [mailto:[email protected]] Sent: Tue 1/05/2007 3:05 PM To: James Subject: test</content>
    </bodyPart>
    - <bodyPart>
    <contentType>text/plain; name="create_MODS_schema.sql"</contentType>
    <content>CREATE USER TOLLBPEL IDENTIFIED BY VALUES 'TOLLBPEL' DEFAULT TABLESPACE APPS_TS_MODS_DATA TEMPORARY TABLESPACE TEMP PROFILE DEFAULT ACCOUNT UNLOCK; GRANT ANALYZE ANY TO MODS; GRANT CREATE TYPE TO MODS; GRANT CREATE TABLE TO MODS; GRANT ALTER SESSION TO MODS; GRANT QUERY REWRITE TO MODS; GRANT CREATE CLUSTER TO MODS; GRANT CREATE SESSION TO MODS; GRANT CREATE TRIGGER TO MODS; GRANT CREATE SEQUENCE TO MODS; GRANT CREATE SNAPSHOT TO MODS; GRANT DROP ANY OUTLINE TO MODS; GRANT ALTER ANY OUTLINE TO MODS; GRANT CREATE ANY OUTLINE TO MODS; GRANT CREATE DATABASE LINK TO MODS; GRANT CREATE PROCEDURE to MODS; ALTER USER MODS QUOTA UNLIMITED ON APPS_TS_MODS_DATA; ALTER USER MODS QUOTA UNLIMITED ON APPS_TS_MODS_IDX;</content>
    <bodyPartName>create_MODS_schema.sql</bodyPartName>
    </bodyPart>
    - <bodyPart>
    <contentType>application/octet-stream; name="citup.log"</contentType>
    <content>W0luc3RhbGxTaGllbGQgU2lsZW50XQ0KVmVyc2lvbj12NS4wMC4wMDANCkZpbGU9TG9nIEZpbGUNCltSZXNwb25zZVJlc3VsdF0NClJlc3VsdENvZGU9LTEyDQo=</content>
    </bodyPart>
    </multiPart>
    </content>
    </mailMessage>
    Any help will be appreciated.
    cheers
    James

    I'm hoping someone can help me here. I'm trying to start a BPEL process via email. The email can consist of no attachments or multiple attachments. All the attachments should be text, e.g. XML, CSV, etc.
    Where I have got to is receiving the email and writing the attachments to variables. All is fine until I get an attachment that has a MIME type of application/octet-stream. I would only expect to see this for files that are not text based.
    Does anyon know how I can inturpret this type so I can extract the text? In this example both files are text based although only the first file is displayed.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <mailMessage xmlns="http://services.oracle.com/bpel/mail">
    - <from>
    <email>[email protected]</email>
    <displayName>James</displayName>
    </from>
    - <to>
    - <address>
    <email>j@james</email>
    <displayName>James</displayName>
    </address>
    </to>
    - <replyTo>
    <email>[email protected]</email>
    <displayName>James</displayName>
    </replyTo>
    <subject>RE: test</subject>
    <sentDate>2007-05-02T11:19:37.000+12:00</sentDate>
    <contentType>multipart/mixed; boundary="----_=_NextPart_001_01C78C47.6040C3F0"</contentType>
    - <content>
    - <multiPart>
    - <bodyPart>
    <contentType>text/plain; charset="iso-8859-1"</contentType>
    <content>________________________________ From: James [mailto:[email protected]] Sent: Tue 1/05/2007 3:05 PM To: James Subject: test</content>
    </bodyPart>
    - <bodyPart>
    <contentType>text/plain; name="create_MODS_schema.sql"</contentType>
    <content>CREATE USER TOLLBPEL IDENTIFIED BY VALUES 'TOLLBPEL' DEFAULT TABLESPACE APPS_TS_MODS_DATA TEMPORARY TABLESPACE TEMP PROFILE DEFAULT ACCOUNT UNLOCK; GRANT ANALYZE ANY TO MODS; GRANT CREATE TYPE TO MODS; GRANT CREATE TABLE TO MODS; GRANT ALTER SESSION TO MODS; GRANT QUERY REWRITE TO MODS; GRANT CREATE CLUSTER TO MODS; GRANT CREATE SESSION TO MODS; GRANT CREATE TRIGGER TO MODS; GRANT CREATE SEQUENCE TO MODS; GRANT CREATE SNAPSHOT TO MODS; GRANT DROP ANY OUTLINE TO MODS; GRANT ALTER ANY OUTLINE TO MODS; GRANT CREATE ANY OUTLINE TO MODS; GRANT CREATE DATABASE LINK TO MODS; GRANT CREATE PROCEDURE to MODS; ALTER USER MODS QUOTA UNLIMITED ON APPS_TS_MODS_DATA; ALTER USER MODS QUOTA UNLIMITED ON APPS_TS_MODS_IDX;</content>
    <bodyPartName>create_MODS_schema.sql</bodyPartName>
    </bodyPart>
    - <bodyPart>
    <contentType>application/octet-stream; name="citup.log"</contentType>
    <content>W0luc3RhbGxTaGllbGQgU2lsZW50XQ0KVmVyc2lvbj12NS4wMC4wMDANCkZpbGU9TG9nIEZpbGUNCltSZXNwb25zZVJlc3VsdF0NClJlc3VsdENvZGU9LTEyDQo=</content>
    </bodyPart>
    </multiPart>
    </content>
    </mailMessage>
    Any help will be appreciated.
    cheers
    James

  • When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail., When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail.

    When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail., When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail.

    That's probably because the message is in HTML format. Send the reply as plain text.

Maybe you are looking for

  • Clock-in/out runtime error in Netweaver UI5 portal

    Dear Experts Following error is runtime error for the service clock-in/out in the portal when i click on the service,i m getting the runtime error(in ST22) Category                        ABAP Programming Error Runtime Errors              MESSAGE_TYP

  • Iphone 5 Need Mac OS X6.0 download to make computer compatible

    I just bought the iphone 5 and am trying to link to my itunes.  My current computer is the Mac OS X 10.5.7.  I downloaded OS 10.6.8 to be able to download the new itunes, but that needs OS 10.6, does anyone know where I can download 10.6???

  • Consignment and GOAs / SRM

    Dear all, I am looking for some insights into your experiance with Consignment driven Processes in SRM / R/3. E.g. there are no technical issues using consignment items in GOAs and distribute the GOA into R/3. But from pricing perspective, the price

  • Urgent network Imac inte and Imac G5

    Hi, I have all my files in the Imac intel and I want to connect to it from the Imac g5 I have in the bedroom! It always ask me a passowrd and say it is not allowed or right. Please how to do? It is urgent.

  • Should correct run this filter sample?

    Hi all, i trying to use a filter on an IBM WAS 6.1.0.2 but the result is not what i expect because i think the application server doesn't work correctly. I show the sample and i hope someone can tell me if this sample should run how i expect: i have