on 06-06-2010 4:41 PM
Hi all,
i am trying to do a IDOC to multiple file scenario.
Requirement:
An outbound idoc has 4 segments.
now i want the output of first 2 segments in one file and second 2 segments in another file.
How to approach this design (without BPM).
Waiting for reply,
Senthilprakash.
Hi,
Use multimapping (use external definition of Idoc in source side) in which target message occurance should be 0..unbounded.
write one UDF like below
for(int i=1;i<=4;i++)
{
if(i==2||i==4){
result.addValue("");;
}
}
so that it will split the target structure 2 time(when i=2 and i=4). so that you map all the source fields to target fields(all one to one mapping except UDF).
start doing this so that you will get the required output easily.
thanks,
madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.