on 10-02-2014 11:08 AM
Hi expert,
maybe is a simple question, but I don't remember how to do that.
In a receiver scenario in my input mapping I have:
header (0..1)
- header field1
- header field2
- header field3
- lines (0...unbounded)
--- line field1
--- line field2
....
In output mapping I want to transfer header field2 value into line field2 value (same value for all the lines).
But if I try with graphic mapping only the value of the first line get populated, and the value of other lines is null.
What I have to do to populate the field for all lines?
Thanks
Fabio
Hi Fabio,
You can use the copyValue function. Check how it works in this wiki http://wiki.scn.sap.com/wiki/display/XI/Standard+Functions+in+PI+7.0
Regads
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Inaki,
thank you for your reply.
I've tried with copy value: it works if you have only1 header.
But I have:
-RecordSet (1...n)
--header (0..1)
--header field1
--header field2
--header field3
-- lines (0...unbounded)
--- line field1
--- line field2
Excuse me if I've not been clear on this point.
If I use copyvalue the linefield get populated for all the lines and all the Recordsets, but always with header value from the same RecordSet.
My need is that linefield get populated with header value of the same RecordSet of the lines.
Thanks
Fabio
Use "use one as many node function" and repeat the headerfield2 as many times as corresponding lines.
Hi Fabio,
Can you share a sample input/output message?
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.