Skip to Content
author's profile photo Former Member
Former Member

no main program for include..

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 02: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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 18, 2008 at 02: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 02: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.