Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem Testing SAP Delivered Function Modules?

Former Member
0 Likes
584

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

1 ACCEPTED SOLUTION
Read only

athavanraja
Active Contributor
0 Likes
513

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

3 REPLIES 3
Read only

athavanraja
Active Contributor
0 Likes
514

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

Read only

0 Likes
513

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.

Read only

0 Likes
513

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]