Please go through my whole query. It's bit confusing but I tried to explain in detail what is my requirement and what all I did.
My requirement is, to execute a particular REPORT directly using Variant (Execute with Variant option of SE38-> SHIFT + F6).
I created a Variant for Report. Same Variant I assigned to the TCODE which I am using to execute the Report.
But while executing a Tcode I was encountering an error "Transaction cannot be tested due to inconsistencies".
So, I tried using the System Variant (using prefix CUS&) and it worked. But after transporting the TR to Quality server, I am getting error "Variant not found". Please help me.
P.S.: This is not a simple report which I am executing. As per requirement, I created one SAP Query using SQ01. And the code generated out of it is pasted in the above mentioned report.