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: 

no main program for include..

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

ThomasZloch
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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