on 01-08-2009 11:28 PM
Hi,
Did anyone work on splitting the attachments in to separate XI messages in an adapter module? Is it possible? I am trying the possibilities of processing all the attachments of an XI message as separate XI messages.
Can we call the "process" method of the "ModuleProcessor" interface with channel ID and "ModuleData" object (created from each of the attachment of the original method)?
Any help or past experience would be appreciated.
VJ
hi,
>Did anyone work on splitting the attachments in to separate XI messages in an adapter module? Is it possible?
as mentioned by Stefan it's not supported by SAP... but
it's possible
and you can do it quite easily within an adapter module
so if you can life with a risk of a message lost (due to lack of transaction handling) you can use it
Regards,
Michal Krawczyk
http://mypigenie.com XI/PI FAQ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can also try doing something like this
mail to file and use split multi mapping to create many files from one
mail (for each attachment)
then file to IDOC (or BAPI etc) that will create orders
then you will have two flows but everything will be in standard
and you can split it easily this way
Regards,
Michal Krawczyk
Vijay,
I am trying to understand your scenario.........a bit.
There is a api call to countAttachments, count and iterate through them, issue seems to lie in making a new message out of each attachment, if that is indeed what you want........
Do let me know
Regards
Ravi Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
>issue seems to lie in making a new message out of each attachment,
getAttachment can be used to read attachment
Regards,
Michal Krawczyk
http://mypigenie.com XI/PI FAQ
This is not supported and you risk data lost, as no transaction habdling is available.
You have to create a whole adapter for this purpose.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.