I really would appreciate some insight into the memory issue I am facing by using the function module RSDRI_INFOPROV_READ.
I had a requirement in BI, in which I would have to read the data from an InfoCube at a granular level and then process the data in order to obtain two new keyfigures from the granular level and then aggregate the data set to a result set.
An example for this would be:
The Data would be at the following granularity (SPL Doc No, SPL Doc Item No, G/L Account, Profit Center, Company Code, Currency, Currency Type, Fiscal Year, Fiscal Period, Debit, Credit, Sales).
Once the data is selected then the data will be looped at in order to generate two new keyfigures and then the data will be collected into the datasets to form a new dataset.
So, I have defined the G_T_SFC set with the granularity I need and then similarly defined my G_T_SFK with the keyfigures.
Once this is done, I defined my selection criteria witihn G_T_RANGE table.
After this, I passed these into the function module RSDRI_INFOPROV_READ.
But in certain instances even though the data is visible fine in LISTCUBE, I am getting page allocation errors from this function module.
In some cases data is coming back but only for few records.
So, In total I would need advise in terms of if anyone has implemented the coding for this function module to efficiently handle huge amount of data.
Please do let me know.
Edited by: Julius Bussche on Feb 7, 2009 10:21 AM