My understanding is that you want to call a query from your program to get the results of the query into an internal table. If so you can also use the function RSAQ_REMOTE_QUERY_CALL. Just pass your query name, usergroup, and remember to check SKIP_SELSCREEN and DATA_TO_MEMORY. It's RFC enabled and we use it here to download data but it should work fine internally. The format in the data in the export table doesn't look as friendly as I thought though.
↧