Hi,
I have below source structure.
DT_DataCapture has Action has 0:unbounded and has many attributes, one of them is Key.
Action has a child node called MaterialReporting having 0:unbounded, which has many element, one of them is BatchNumber.
The structure looks like this.
DT_DataCapture
Action 0:unbounded
Key required
.................
. ................
MaterialReporting 0:unbounded
BatchNumber
.................
.................
I have a target field shich has to be populated with
ZMRSDATA
items 0:unbounded
PrimaryKey 0:1
.................
.................
.................
I am looking to copy the value of Key to the target filed PrimaryKey for as many times as MaterialReporting occurs.
How should I achive this using standard functions?
If I have to write auser-Defined function, how should I do it?
Looking for your suggestion ASAP.
Thanks in advance, Namadev