Application Development 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: 

"REPORT/PROGRAM statement missing, or program type is I"??

Former Member
0 Kudos

Hi,

I built a function module. It is no problem when I activate it, but when I test it (without writing an ABAP/4 program), it shows the error "REPORT/PROGRAM statement missing, or program type is I".

Could anyone have any idea how to solve it? I really appreciate any suggestions.

Bing

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Noyan,

Its common prob with Function module.

Goto SE80->Give Function group name->Right click on it->Activate.

Try this, it surely works.

Dont forget to reward points if found useful.

Thanks,

Satyesh

6 REPLIES 6

Former Member
0 Kudos

write a program call the function module and test it

Former Member
0 Kudos

hi there....

make sure that the Processing type in Attributes tab is 'Normal function module'. Also chk the general data, it must be having some name in the Program Name and include name column.try checking the program names in se38, if the program is of type include or not.

I hope this will solve the query. in my case, SAPLZ123 is the program name and LZ123U28 is the include name.

do reward if helpful or get back with further issues.

abdul_hakim
Active Contributor
0 Kudos

Hi

Follow the following Options to resolve this error

1.Go to Function Builder (SE37)

2.Select Goto-> Main Program

3.then include the following statement above the first comment

line

FUNCTION-POOL <function group name>.

*******************************************************************

  • System-defined Include-files. *

*******************************************************************

4. Activate ur Function Group

5. Activate ur Function Modules

Thanks & Regards,

Hakim

Former Member
0 Kudos

Hi Noyan,

Its common prob with Function module.

Goto SE80->Give Function group name->Right click on it->Activate.

Try this, it surely works.

Dont forget to reward points if found useful.

Thanks,

Satyesh

Former Member
0 Kudos

hi,

its normally comes when u create FM

just activate it 'process anyway' .

it will not throw u an error when executed or when ur function uses this FM.

Former Member
0 Kudos

Thank you very much for these very helpful answers.

Bing