on 08-05-2009 11:28 AM
hello,
my scenario is FILE to RFC
source message
ORDER 1..unbound
CAB 0..1
num 0..1
LIN 0..unbound
linea 0..1
num 0..1
target message
ZORDER 1..1
pi_datos 0..1
item 0..unbounded
num 0..1
pi_lineas 0..1
item 0..unbounded
num 0..1
the source message can have one CAB and n LIN. I need to have in target message, pi_lineas, item, num the num of different CAB of ORDER (source message)
i have using the CopyValue for this, but the problem is when i receive more one CAB, in this case, the value of field num (target message, pi_lineas, item, num) is the same for all CAB of source message
thank very much
i'm sorry you were guest, i can't give you points..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> i have using the CopyValue for this, but the problem is when i receive more one CAB, in this case, the value of field num (target message, pi_lineas, item, num) is the same for all CAB of source message
This is exactly how the copyValu should work. It takes the first occurrence and copies that values. The function is itended to be used with one value only.
For your purpose, you have to use the fnction UseOneAsMany.
Regards
Stefan
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 | |
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.