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

An error creating a Function module. Can u help.

I have created a function group called zvendorgroup.

In that group i have created a simple function module called zvendfun.

The ABAP editor shows that the function module is syntatically correct but when i activate it an error pops up which is "The main program of the function ZVENDFUN does not begin with "FUNCTION-POOL".

How do i activate this function module that i have created. do i have to activate the function group that i have created. If yes then How?

Regards,

Vinod.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on May 18, 2007 at 09:02 AM

    Activate the function group ie in SE80> enter the function group> right click & activate..

    ~Suresh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 18, 2007 at 09:06 AM

    hi Vinod,

    Open the function group , and activate the TOP and UXX include of the function group .then try activating your function module zvendfun .

    It should work ..

    Reward if helpful !

    Regards,

    Ranjita

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2007 at 09:02 AM

    Hi

    All the programs in that Function Group are OK, then only your function module will be activated.

    Even if there is some error in one of the fun module it will give error and yours will not get activated.

    so first correct the error.

    Go to the Main program from the menu and find out the error and rectify and then activate.

    Reward points if useful

    Regards

    Anji

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 29, 2008 at 02:04 PM

    hi vinod,

    u have to activate the topinclude then only u can activate the FM...

    try activating the top FM...

    regards,

    vamshi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 31, 2019 at 03:56 PM

    Thank you for your help

    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.