Preheat oven to 160 degrees celsius fan-forced. Grease and line an 18X28cm rectangular slice pan with baking paper and set aside.
Sift the self-raising flour into a large bowl.
Add the caster sugar, coconut and melted butter. Mix together until a dough forms (use your hands if it's easier).
Press the mixture firmly into the prepared tin and smooth the top with the back of a spoon.
Bake in the oven for 10-12 minutes or until lightly golden. Set aside to cool slightly.
Reduce the oven temperature slightly (to 160 degrees).
Whisk the sweetened condensed milk, lemon juice and passionfruit pulp together in a bowl (it will thicken slightly).
Pour the mixture over the top of the cooled slice base.
Place back into oven for 15 minutes (or until the passionfruit layer has set when lightly touched). Leave in the pan to cool completely before cutting into slices.