Dear Venkatesh,
Thank you so much for your response...
Exactly this is the one which I need.
The SAVE method is working fine, but while executing ACTIVATE method it is raising an exception due to global variable 'rc'(rc = 8). And view is not created.
So can you please help me out of this by providing more information.....
Regards,
Siva R