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

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

Former Member
0 Likes
942

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
Read only

Former Member
0 Likes
829

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
Read only

Former Member
0 Likes
829

write a program call the function module and test it

Read only

Former Member
0 Likes
829

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.

Read only

abdul_hakim
Active Contributor
0 Likes
829

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

Read only

Former Member
0 Likes
830

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

Read only

Former Member
0 Likes
829

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.

Read only

Former Member
0 Likes
829

Thank you very much for these very helpful answers.

Bing