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

An error creating a Function module. Can u help.

Former Member
0 Likes
12,042

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.

1 ACCEPTED SOLUTION
Read only

suresh_datti
Active Contributor
2,175

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

~Suresh

6 REPLIES 6
Read only

suresh_datti
Active Contributor
2,176

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

~Suresh

Read only

0 Likes
2,175

Simple and concrete, it works for me, thanks

F.G.

Read only

Former Member
0 Likes
2,175

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

Read only

former_member196299
Active Contributor
2,175

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

Read only

Former Member
0 Likes
2,175

hi vinod,

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

try activating the top FM...

regards,

vamshi

Read only

Former Member
0 Likes
2,175

Thank you for your help