We found the solution.
In SP04 we used a function processRequestXML to send a query request in java script custom code.
where as for SP05 we send a query request using processRequestData function.
Now it is working.
Thank u jitendra for your support
regards
praveen