on 07-06-2006 8:42 AM
Hi everybody!
<u>I have the following source structure:</u>
<b>Invoice_Mobilephones</b> 1..1
-
<b>G01</b> 1..999999
-
<b>G01.Cost center</b> 1..1
-
<b>G01.Name</b> 1..1
-
<b>G01.Phone no.</b> 1..1
-
<b>G01.Costs</b> 1..1
<u>The incoming data looks like this:</u>
<b>Invoice_Mobilephones</b>
-
<b>G01</b>
-
<b>G01.Cost center</b> 0010
-
<b>G01.Name</b> employee1
-
<b>G01.Phone no.</b> 111111111
-
<b>G01.Costs</b> 50.00
-
<b>G01</b>
-
<b>G01.Cost center</b> 0010
-
<b>G01.Name</b> employee2
-
<b>G01.Phone no.</b> 222222222
-
<b>G01.Costs</b> 30.00
-
<b>G01</b>
-
<b>G01.Cost center</b> 0020
-
<b>G01.Name</b> employee3
-
<b>G01.Phone no.</b> 333333333
-
<b>G01.Costs</b> 20.00
-
<b>G01</b>
-
<b>G01.Cost center</b> 0040
-
<b>G01.Name</b> employee4
-
<b>G01.Phone no.</b> 444444444
-
<b>G01.Costs</b> 110.00
-
<b>G01</b>
-
<b>G01.Cost center</b> 0040
-
<b>G01.Name</b> employee5
-
<b>G01.Phone no.</b> 555555555
-
<b>G01.Costs</b> 80.00
<u>The destination message should look like this:</u>
<b>Invoice_Mobilphones_sums</b>
-
<b>G01</b>
-
<b>G01.Cost center</b> 0010
-
<b>G01.Name</b> employee1
-
<b>G01.Costs</b> 50.00
-
<b>G01.Name</b> employee2
-
<b>G01.Costs</b> 30.00
-
<b>G01.Sum</b> 80.00
-
<b>G01</b>
-
<b>G01.Cost center</b> 0020
-
<b>G01.Name</b> employee3
-
<b>G01.Costs</b> 20.00
-
<b>G01.Sum</b> 20.00
-
<b>G01</b>
-
<b>G01.Cost center</b> 0040
-
<b>G01.Name</b> employee4
-
<b>G01.Costs</b> 110.00
-
<b>G01.Name</b> employee5
-
<b>G01.Costs</b> 80.00
-
<b>G01.Sum</b> 190.00
Does anyone know how to solve this problem?
Thanks for your help!
Chris
Hi Chris,
it is not possible to create alternating elements in the message mapping.
-
G01.Name employee1
-
G01.Costs 50.00
-
G01.Name employee2
-
G01.Costs 30.00
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hav look at this doc...
www.itemfield.com/resourcecenter/ Conversionagent_ds_1001.pdf<a href="http://www.itemfield.com/resourcecenter/ Conversionagent_ds_1001.pdf">Conversion agent</a>
Also help.sap.com/saphelp_nw04/helpdata/ en/43/4c38c4cf105f85e10000000a1553f6/content.htm
Message was edited by: Prasad Ulagappan
<a href="http://help.sap.com/saphelp_nw04/helpdata/ en/43/4c38c4cf105f85e10000000a1553f6/content.htm">HELP</a>
Message was edited by: Prasad Ulagappan
Hi Chris,
I have tried some ways in Graphical mapping, but couldnt get the desired result. So, the better option is go for java mapping.
Regards,
Prasad U
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.
hay Chris,
Sorry but I don't see any easy way to do it, what I would do is develop a Java/Abap program that insert all the record in a table and then getting the results sorted and sumed as you mentioned using SQL is simple, but it's a costly way performance wise.
Uri Lifshitz.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.