Skip to Content
0
Former Member
Dec 31, 2007 at 04:07 AM

Display the records as parent and child nodes

71 Views

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.