on 06-13-2006 10:40 AM
Hi there,
I want to read in two flat files and process them afterwards in the XI (message mapping and such).
I know that it is possible via BPM (as discussed here, for example: ). But I'm told to do it via the file adapter's "Specifying Additional Files" ( http://help.sap.com/saphelp_nw04/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm ), where those additional files are attached to the message. The advantage of this approach is that I can tell the File Adapter to only start when both files are present (--> optional = NO). This is not possible with the BPM method, is it?
I haven't found a way to use the attached file(s) in a message mapping - apart from using ABAP mapping or implementing a adapter module that merges the attachment into the payload. Both possibilities seem to need way more effort than I feel should be necessary...
Thanks in advance!
Dennis
Try java mapping instead
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dennis,
I found a solution for XSLT mapping of attachments:
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all!
Thanks once again for your kind help! We finally agreed to take the BPM approach nevertheless, as it's "nearest to the standard" and thus (hopefully) easiest to maintain.
We inserted a time-out into the BPM, so that it will abort after a short time when only one file was present. Not perfect, but good enough.
The advantage of this solution is that we can convert the CSV files to XML within the File adapter again. Both calling a MapForce transformation and afterwards combine the XML files within an Adapter module really doesn't sound like the optimal way...
Cheers,
Dennis
> I haven't found a way to use the attached file(s) in
> a message mapping
This is not possible.
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 |
---|---|
86 | |
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.