on 12-19-2005 4:49 PM
Hi.
I have an inbound file with a single record structure. Each record has a field "DocumentNumber". There may be multiple records with the same DocumentNumber. The Document Number will increment to 2, 3 etc. Each set of records with the same DocumentNumber relates to a single IDOC that I want to post.
IE
1, various fields <- IDOC 1
1, various fields <- IDOC 1
2, various fields <- IDOC 2
2, various fields <- IDOC 2
3, etc
I plan to use the BPM to split (transform) the file message into multiple IDOCs, using a message mapping defined in the Designer. I have done all this, and defined my Source Message as Single Occurrence (1) and my Target Message as 1:Unbounded. I therefore have a mapping within the target "Message1" structure.
Can anybody tell me how to define my mapping flow to create a new target structure IDOC when the DocumentNumber field increments? I was wondering about "createif" where DocumentNumber <> a global field set tot he previous value....
Any help would be very much appreciated.
JW
jaimewood@yahoo.com
You dont need to do a BPM for this.
Edit the IDoc XSD and make it multiple IDocs as mentioned in OSS Note 814393.
In your mapping create one IDoc per occurance of the document number.
Regards
Shravan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Still having trouble with this if anyone has a suggestion.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tony,
first you have to change the occurens - look in this Blog:
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
Mapping - you need to use node funktions if you use graphical mapping (f.e. SplitByValue, CerateIf and so on)
Good for that is this blog:
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
If you need more - keep on asking
Regards Matt
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.