Hi Hema.
Was this issue really security related? We're facing the same issue (fails in BEx Web but works fine in BEx Analyzer) and there is no way this could be a security problem because, if it were, you would experience the same authorization error in Analyzer.
We performed several security traces while executing those queries and no security issue was ever found, so I'm really curious to know how you resolved this issue.
Regards,