Hi Guru,
You will have to read the text from the text memory and check if your text type are filled with values.
Follow the below thread to understand how to get the text before saving.
And you will have to implement the logic in the BADI which Omer has suggested.
Thanks,
Karthikeyan