Please find the source and target structures..
1) It is SOAP to RFC scenario. In Source strcuture for one matnr , we have one or more submatnrs.
2)RFC in R/3 contains Import parameters as..matnr,batch,submatnr(onlyone).
3)I want to build mapping - for each submatnr in source I want to create one complete record in target .i.e
if matnr contains 2 submatnrs in source , i want to create 2 records at target side like
first record - matnr,batch,submatnr
second record - matnr,batch,submatnr.
here in both records the matnr and batch values are same , which we have taken from source but submatnrs changed.
Can any body help me how to build mapping.