"myDS" should have what ever your SQL retrieves
The report will show what ever is in "myDS":
rpt.SetDataSource(myDS)
As long as the SQL is correct and myDS matches the data the report is expecting, there should not be any issues.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place