on 09-19-2008 6:04 PM
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
Thanks Dava.
I am able to produce the value.
Thanks again.
Namadev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use the standard function useOneAsMany to replicate the data.
See the example given in this linf for reference.
http://help.sap.com/saphelp_NW04/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/content.htm
-Dava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.