Hi Venkat,
Spel is proprietary code to CA Service Desk Manager, and thus there is no official CA documentation on it. However, there are some resources out here on the communities that have published lots of information regarding the use of spelcode and how to do certain things with it. Please take a look at this post: Where can I find Spel functions documentation?
That should help you out.
Thanks,
Jon I.