Mix the butter with the sugar until it turns white and add the eggs one at a time, while mixing. Then add the milk (at room temperature) and finally add the baking powder together with the flour little by little, until it becomes a uniform and soft dough that does not stick to your hands.
Spread the dough on a baking sheet, spread the jam on top and bake at 180° C for one hour.