06-18-2008 3:37 PM
hi,
i have created an include and when i do a syntax check, i get the message, "there is no main program for this include". what does that mean ? how to overcome this issue ?
only when this is resolved further statements can be checked.
thks
06-18-2008 3:39 PM
only executable program can be sintax checked.
to check this include.
include it in other report program and check it.
go to se38
create report.
reprot z_test.
include <name>.
no check the sintax.
go through
http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
Edited by: S.r.v.r.Kumar on Jun 18, 2008 8:11 PM
06-18-2008 3:39 PM
only executable program can be sintax checked.
to check this include.
include it in other report program and check it.
go to se38
create report.
reprot z_test.
include <name>.
no check the sintax.
go through
http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
Edited by: S.r.v.r.Kumar on Jun 18, 2008 8:11 PM
06-18-2008 3:40 PM
It pretty much means what it says. Includes only make sense when being included in some main program (executable, class, module pool etc.). Only then the context for a syntax check is complete.
Thomas
06-18-2008 3:46 PM
hi
have u defined ur program in program attribute as Executable or include type
plz check it
it might solve ur problem
becoz if it is an include program u must give type as include type
Cheers
snehi