Hi Kalpana,
You can create a new View Configuration with those 3 fields as mandatory. And then, in the DO_PREPARE_OUTPUT you can set the view if it is of that particular status.
In the method, you need to read the relationship to get the status using BOL Programming. Then get the status and check if the status which you retrieved is the one you mentioned. And then call the method SET_CONFIG_KEYS and pass the values of the desired configuration.
Let me know if you need help with the coding.
Hope this helps.
Thanks,
Samantak.