on 07-18-2007 10:22 AM
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
In the receiver mail adapter, select "keep atachments" checkbox.
regards
krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishnamoorthy,
thanks for your fast reponse
I have a Sender Mail Adapter and want to process als incoming Mail Attachments in the Mapping. I only tried out to declare all incoming attachments of the payload as application payload, I have still some Exception and want to know if this is the right way.
The other solution would be to put together all MailAttachments-1,....MailAttachments-N to one central Payload. But would cause more programming effort.
I thougth only to swap all MailAttachmants as Application. Could this technically be possible
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
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.