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 include

Former Member
0 Kudos

Hello All,

I have created a vofm routine.

When saved, it is getting activated.

But when checked syntax error, it is giving "report/program statement missing or program type is include".

I have ignored this error since, it is activating properly.

Problem now is, when moved to Prd, the transportation failed, the basis guy is pointing to this...and asking me why this error is happening?

Please let me know, why this error would occur and suggestions to resolve this.

Thank you in advance.

Best Regards,

Priya

7 REPLIES 7

matt
Active Contributor
0 Kudos

There probably is no error. The message says: "program type is include", which it is. Is the include active in production? Are the routines working? If yes to both, then there is no issue to resolve.

matt

Former Member
0 Kudos

Hi Priya,

You an run the standard report RV80HGEN to activate all the user defined rotuines. You call look at the Note 22808 for more information on this standard report.

Cheers

~Niranjan

0 Kudos

I allways forget to activate RV80HGEN lol.

This is the correct answer for condition routine,

if you do this and still had same issue try utilities>update navigation index

Former Member
0 Kudos

Hi Priya,

I think the error reffered by u says that the editor is not able to identify the code u hav written.

"report/program statement missing or program type is include". this error generally means that u hav missed the (Report/ Include)  statement at the top. (First line)

Please check for the Report/ Include statement .

Thanks ,

Azhar

0 Kudos

Hello All,

Thanks for your replies.

I have activated the routine using RV80HGEN still it didn't work. Actually when creating the routine, the developer has created it as a Report program.

I think, as report is missing on heading, its giving error. Now I have changed it to Include program.

Still the error occurs. "Report/program statement missing or program type is include"

Please advise.

Thanks,

Priya

raymond_giuseppi
Active Contributor
0 Kudos

Read first Note 327220 - VOFM function and its objects (section 13) that redirects you to Note 326560 - Various problems when using VOFM functions or Note 385067 - Various problems with VOFM functions in Release 4.6C. Read the document(s), and if that doesn't solve the problem, what is your version ?

Regards,

Raymond

0 Kudos

Hello ,

Thank you all for your replies.

I found the solution, and it was so easy until it found.

I have changed the program type from Report to 'INCLUDE'...Activated.

Then went to SE80...found the main program of that include and activated it too...

Finally the function group...I mean have activated it too...and its works.

There is no syntax error  when I do F2.

Thanks again.

Rgs,

Priya