Hi,
In Scenario2 if you will add material,productNo and Quantity then you will not get one row for each product.Reason is 1003 product has listed under two material 3&4.In this case you will get two record for material 1003.That is correct.
If you have some other issue then share the scrrenshot where you are getting issue.
Amit