Kunal,
That doesn't help . Please e-mail me the full query directly. View my profile to get my SAP e-mail address. Please also re-post the query here, maybe by substituting other characters for those that you are removing. The query is also very hard to read without any formatting. Use carriage returns to make it more readable.
Jason Latko - Senior Product Developer at SAP