on 10-20-2005 10:08 PM
Hi Everyone:
The scenario is as follows, I have an input msg which looks like this:
<ACCOUNT>
<HEADER>
...
</HEADER>
<DETAIL> <--- occurence 1:unbounded
...
</DETAIL>
</ACCOUNT>
and somehow after doing the necessary mapping, etc I need to end up with 2 output files, one with the HEADER data (header.txt) and the other with the DETAIL data (detail.txt). Can I use File Content Conversion to do this? if so, how? I'm new to this environment so I'll appreciate any help
Hi Carlos,
If you are on SP14 then you could go for multimapping even
without bpm.
First create a message mapping with one source and two target msgs.And then create ur interface mapping. In the create the sender agreement and recvr determination and recvr agreements as usual.While doing the interface detremination chk the 'extended' box and specify ur interface mapping.
You could also do content conversion if u prefer nonxml output.
good Luck!!
Priyanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi carlos,
I think in any version (surely after SP13, I am not sure if it was on SP10 or earlier) You can do this WITHOUT BPM. so try out in any version, you are in.
1) 2 mappings with 2 Receiver Interfaces (one map will pick up header & give the output of Header and the other set for Detail)
2) In Interface determination, you can add any number of interfaces for your receiver service. You can execute all of them unconditionally (or with conditions as well).
This way, you can have One input to get two outputs (one with Hdr & one with Dtl)
Regards
Vishnu
Hi Carlos,
you have to use BPM (business process) to do this:
you can send several file from BPM
you can do 2 mappings:
input file to first file (header)
input file to second file (detail)
this way you'll have you scenario done:)
BTW
you use: File Content Conversion only when you send/receive data to XI inside you handle everything in XML
but sure you have to use File Content Conversion to map
inbound file to xml file representation in XI
and later on use File Content Conversion again to
map two aboutbound files from XML structures to flat
destination files
Regards,
michal
Message was edited by: Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.