on 12-16-2010 7:49 AM
HI ALL,
I have a file to file scenario and we are sending 3 files in a single message using the file attachment .(Using additional files option option in file adapter)
My issue now is can we do mapping tor this file send using this option like fileA will have one mapping logic and FileB also will the same mapping logic ...?
Thanks
Souz
Yeah, requirements are still not very clear.
If what you meant was have a multimapping fromt he main payload + 2 attachments to a single destination file, it's possible to handle attachments in Java mappings if you're on PI 7.1+ and extend the new Java Mapping class (AbstractTransformation) instead of implementing the StreamTransformation interface.
Details here:
http://help.sap.com/saphelp_nwpi711/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
Best regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all you have to consider that receiver file adapter does not support attachments.
When you want to apply the same mapping logic for all files, is there any specific reason, why you can't simply process the files one by one?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Souz,
i am not very clear ur requirement. i think trigger file is created after data file in source system in your example.
if like this, additional file is not suit ur scenario. if only the data file exist without trigger file, the channel would still pick the data file and processed.
correct me if i miss-understood sth.
Regards,
Kevin Song
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
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.