ok, that's a good start 
first, just for sure, is ValMsDate variable a collection variable? if not then make it collection. only collection variable will be able to capture all the repeater rows. with scalar variable you will get just first row.
do likewise for MSDetail result set
next steps you need to perform
- configure for each loop over one one collections (doesn't matter which one), eg.
within the action save value of current collection element and current index into scalar variables

- next use collection operation to similarly get value of MsDetail, eg
an element in the other collection at the same index position will hold the value of Detail field from the same repeater row.

- now once you stored single row values in scalar variables you need to use create item action.
I'm not sure about setup of your list, so hopefully you will manage to configure it on your own.