Hello Hariharan,
as the error message says, it is not possible to use a write procedure within a calculation view, because a calculation view is intended to read data. So within a calculation view you have no chance to write data.
What is the goal you wanna reach? Would it be possible just do it with procedure? Why a calc. view is necessary?
Best Regards,
Florian