on 11-27-2009 8:56 PM
Hi ,
I have an idoc to JDBC scenario.
Here is idoc structure.
E1MASTL 1...1
|--> E1STOKL 0....9999
|--->E1STOPL 0....9999
my table struture expects data from 2 segments in the E1MASTL and 4 segments from E1STOKL and 3 segments from E1STOPL.
when i trigger the idoc which has 5 line items in E1STOPL and 5 line items in E1STOKL but only one from E1MASTL.
Now, when this idoc is triggered, the table is updated with all the first line items from each segment, instead i want all the 10 lines to be updated in the table.
I have tried mapping the Statemetn and access tags to the all the possible nodes on the Idoc side but could not succed in inserting multiple lines in the table though i had multiple line items in the idoc.
Please help me how do i do it.
Thanks in advance.
Regards,
Kalpana.
Edited by: Kalpana Timmapuram on Nov 27, 2009 9:58 PM
Now, when this idoc is triggered, the table is updated with all the first line items from each segment, instead i want all the
10 lines to be updated in the table.
The Statement node should be repeating.....now only first instance is getting mapped because the Context is not handled properly.
If you test the mapping in Message Mapping/ Interface Mapping Test tab then too the same thing will happen...only first line item is considered.
You either need to raise the Context of the respective Source nodes to a higher node (right-click on the source node in mapping editor--> Context --> raise it to higher node)
OR
You need to make use of the standfard functions Collapse Context & Remove Context in the mapping logic.
Regards,
Abhishek.
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 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.