Hi Vinoth,
for loop should run for the length of the array (source/target should be the same length i hope)
make sure you remove the context from the Source and Target output of the RFC response, so that you will not add any context change in Hashmap. You can use standard function remove context here.
hope this helps.
Thanks,
Snadip