Application Development and Automation 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: 
Read only

no main program for include..

Former Member
0 Likes
10,896

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
Read only

Former Member
0 Likes
5,254

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
Read only

Former Member
0 Likes
5,255

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

Read only

ThomasZloch
Active Contributor
0 Likes
5,254

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

Read only

Former Member
0 Likes
5,254

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