Usually you set missed approach altitude when you get a green indication of GP or VGP depending on the type, this is exactly like ILS where you set missed approach after getting G/S captured.
So like ILS approach where you also set platform altitude ( FAF altitude ) before the approach, we also set the same for RNAV approaches with VNAV guidance, why do we do this ?