‎2008 Jan 29 1:21 PM
I am in the SEM system. Below is the Function Module that I get the "Error generating the test frame" message. The error is "Any Table" is expected, not "Standard Table". That is as much of the error as I can get. I believe the error is being triggered by the Export Parameter that is defined as:
E_T_DATA TYPE Standard Table
The FM is RSDRI_INFOPROV_READ
I checked OSS and could not find anything. I guess my next step is copying the function moduoe to a Z version and chainging the parameters associated type to "Any Table".
Has anyone come across this issue? I'd rather resolve it than copy the FM to a custom FM.
Thanks.
Edited by: Tom M. on Jan 29, 2008 2:22 PM
‎2008 Jan 30 7:52 AM
certain function modules where data references are used cannot be tested from SE37, you have to create a test program and call the function module there to test it.
by the way are you trying to read contents of a cube using this FM. if yes, i have developed a custom FM which can execute a query and give you the results.
Raja
‎2008 Jan 30 7:52 AM
certain function modules where data references are used cannot be tested from SE37, you have to create a test program and call the function module there to test it.
by the way are you trying to read contents of a cube using this FM. if yes, i have developed a custom FM which can execute a query and give you the results.
Raja
‎2008 Jan 30 1:09 PM
Hello Raja,
I eventually discovered what you are saying. I was trying to test F.M. RSDRI_INFOPROV_READ. Then I saw RSDRI_INFOPROV_READ_DEMO which helped.
Can you share your custom F.M.? Wow, that would be great!
Thank-You.
‎2008 Jan 31 5:26 PM
check out this blog
[Execute BW query using ABAP Part III|/people/durairaj.athavanraja/blog/2005/12/05/execute-bw-query-using-abap-part-iii]