on 01-17-2007 3:53 PM
Hi all,
We have a problem with bundling the IDOCS in Message Mapping. We have a requirement to convert more than one ORDERS05 IDOCS to one flat XML file.
When the IDOC has the following data, the mapping works well:
Input IDOC:
IDOC 1:
ORDERS05
- E1EDP01
--- POSEX 0010
- E1EDP01
--- POSEX 0020
- E1CUCFG
--- POSEX 0010
-
E1CUVAL 10-1
-
E1CUVAL 10-2
- E1CUCFG
--- POSEX 0020
-
E1CUVAL 20-1
-
E1CUVAL 20-2
IDOC 2:
ORDERS05
- E1EDP01
--- POSEX 0010
- E1EDP01
--- POSEX 0020
- E1CUCFG
--- POSEX 0010
-
E1CUVAL 10-1
-
E1CUVAL 10-2
- E1CUCFG
--- POSEX 0020
-
E1CUVAL 20-1
-
E1CUVAL 20-2
Output Message:
IDOC 1:----
IDOC 2:
Position number: 0010----
Position number: 0010
Configuration1: 10-1----
Configuration1: 10-1
Configuration2: 10-2----
Configuration2: 10-2
Position number: 0020----
Position number: 0020
Configuration1: 20-1----
Configuration1: 20-1
Configuration2: 20-2----
Configuration2: 20-2
However when you miss one E1CUCFG node, you will get a confusing result:
Input IDOC:
IDOC 1:
ORDERS05
- E1EDP01
--- POSEX 0010
- E1EDP01
--- POSEX 0020
- E1CUCFG
--- POSEX 0020
E1CUVAL 20-1
E1CUVAL 20-2
IDOC 2:
ORDERS05
- E1EDP01
--- POSEX 0010
- E1EDP01
--- POSEX 0020
- E1CUCFG
--- POSEX 0010
-
E1CUVAL 10-1
-
E1CUVAL 10-2
- E1CUCFG
--- POSEX 0020
-
E1CUVAL 20-1
-
E1CUVAL 20-2
Output Message:
IDOC 1:----
IDOC 2:
Position number: 0010----
Position number: 0010
Configuration1: 20-1----
Configuration1: 20-1
Configuration2: 20-2----
Configuration2: 20-2
Position number: 0020----
Position number: 0020
Configuration1: 10-1----
Configuration1: 10-1
Configuration2: 10-2----
Configuration2: 10-2
We have tried standard functions like: useOneAsMany, CreateIf, if, ifWithoutElse, collapseContext, etc. in the graphical mapping tool but it doesnt work.
Could you please take a look at this problem?
Appreciate any help on this,
Kind regards
Kamran Vakili
Ive solved this problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.