‎2013 Apr 19 12:40 PM
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
‎2013 Apr 19 12:49 PM
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
‎2013 Apr 19 12:52 PM
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
‎2013 Apr 19 9:36 PM
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
‎2013 Apr 19 2:55 PM
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
‎2013 Apr 25 11:27 AM
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
‎2013 Apr 25 12:24 PM
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
‎2013 May 09 11:11 AM
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