on 12-31-2007 4:07 AM
Source IDOC has the followign fields :
MATNR
STLNR
IDNRK
STLNR1
Receiver side file :
Mat_stock
+Mat_level
++field1
++field2
++field3
++BOM
++BOM_parent
The Mapping rules I need to follow are:
STLNR is corresponding parent material ID of MATNR
STLNR1 is corresponding child material ID of IDNRK
If STLNR exists, fetch corresponding MATNR
same way if IDNRK exists, fetch corresponding STLNR1 and compare it with STLNR. If they are same, insert the first row for Mat_stock in such a way that Matnr exists as parent BOM
same way, since STLNR == STLNR1, display Mat_stock as a record with IDNRK as the child node
how do I do this? please help
thanks and regards,
Venkat.
HI Nikhil,
Provide the sample test data of Source and how the data should be look like in Target.With your post Target Structure is fine.Waht about Source ? All your Four fields you mentioned are in same heirarchie level ? Provide the Idoc name , So that u can get more help from all.
Cheers
Veera
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikhil,
Looking at your scenario it seems that it can be done by using UDFs but the scenario would be more clear if you let me know which IDoc you are using.
Regards,
Amit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.