‎2009 Jul 15 1:31 PM
hello,
we do have a customized z report that shows open orders.
One result column shows stock on hand.
However, I am facing a strange problem: when I execute the report by entering the selection data by myself, the data in the on hand column are shown correct.
But if I execute the report with a saved variant that has the same entries I have made manually, the data in the on hand column are not shown correctly, all values are set to zero.
Do you have any idea what's the problem here?
Thanks
Anne
‎2009 Jul 15 1:37 PM
The problem is with the variant you have saved.
Run your report without variant and then save into same variant.
Again run the report using variant and check, is there any difference now?
Regds,
Anil
‎2009 Jul 15 1:37 PM
Hi Anne
the best way to find this kind of error is
put the break point in your program where you are selecting the data and see through debugging both the scenarios.
See during the select statement in both the scenarios you have the same values.
Regards
Sajid
Edited by: shaik sajid on Jul 15, 2009 2:37 PM
‎2009 Jul 15 1:37 PM
The problem is with the variant you have saved.
Run your report without variant and then save into same variant.
Again run the report using variant and check, is there any difference now?
Regds,
Anil
‎2009 Jul 15 3:13 PM
Hi,
I have created a new variant and for some reasons it was working then.
Maybe there was an issue with the existing variant.
Thanks all of you
‎2009 Jul 15 1:50 PM
Anne...are you using TABS?
The problem is in the variant that you have saved...
Debug and check, which value was not passed....