04-03-2006 10:51 AM
Hi Group,
created an include.While syntax check i got the error saying REPORT/PROGRAM statment mising or program type is I(INCLUDE).But i could activate the include!? bug in SAP or something else???
Regards,
Bikash
04-03-2006 10:54 AM
Hi
You can active your include, but you can check it only if you place it in a main program.
Max
04-03-2006 10:56 AM
hi,
that is not a bug. it will generally comes when you do in syntax check.
if you find any other errors then check it,or else there are no bugs.
Regards
vijay
04-03-2006 10:56 AM
Hi bikash,
1. No its not a bug.
2. Its default behaviour.
3. What u do is this :
(i suppose u have not used this include
in any other program)
a) while trying to activate again, it will give the same error.
b) NOW, in another Z program,
include this include,
and activate this Z program. (without any errors)
It will get activated
c) now once again try to activate your include.
(this time it will get actviated
without any message box)
regards,
amit m.
04-03-2006 10:59 AM
hi bikash,
u would have missed the report statement in the report where u include ur INCLUDE statement..
check it out..
04-03-2006 11:07 AM
Hi Bikash,
For the syntax check to produce valid results, you must check the program in which the include occurs and not the just the inclde.
Regards,
Suresh Datti
04-03-2006 11:01 AM
Hi Bikash,
I hope that your Include is the part of a report/module pool program.
Do the following:
1) Check whether you have written a Include "<include name>" statement in your report/module pool program.
2) If no then write the above include statement in your program.
3) Goto SE80, right click on the report/module pool program and select syntax check. You will not get any error.
4) Most Important thing, whenever we do a syntax check for any Include alone, system always give error saying "REPORT/PROGRAM statment mising or program type is I(INCLUDE)". Don't worry with this error message.
Hope it helps.
Regards,
Neeraj Gupta
04-03-2006 11:07 AM
Hi,
Activate both the Include and Main program together.
Chk if include name has ben declared in the Main prog.
Regards,
Anjali