Hi Midhun,
Thanks for your response.
First I'll resolve that server issue mentioned in the following discussion then I'll come back to development issue.
http://scn.sap.com/thread/3380759
I think it is happening because of server problems only.
Here I am attaching the code....