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: 

function-module

Former Member

hi experts,

i have created a new function group and i copied 1 function module to this group..when i try to activate this function module it was giving error;as below.

the main program of 'function module name' does not begin with function-pool.

can u give me some idea.

Thanks

Gopi

1 ACCEPTED SOLUTION

Former Member

Hi Gopi,

The problem might you have not activated FUNCTION GROUP which you have created.

To activate function group goto Tcode se80

select your function group right click on it and activate it.

Hope this will solve your problem..

6 REPLIES 6

Former Member
0 Kudos

check whether u have activated your function-group properly.

check in both TOP and UXX includes insite group is activated.

regards,

Padma

Former Member
0 Kudos

Hi,

Go to Se37 ...

In there go to your function group you have created... display it.

In that you will have an option to go to the main program go into the main program.. in the main program double click on the

XXXXXXTOP include.... Once you get into that you wil have a

Function pool................ " message Id statement...

Copy this statement... come back to your main program .... paste it and activate it... Once this is done you can continue activating your FM... it will not give any error.

Regards,

Pramod

Former Member
0 Kudos

hi pramod,

thank u for ur reply.

i pasted function-pool statement in source code of my function module.it was giving error that

report or program statement already exists.

Thanks

Gopi

0 Kudos

Hi,

You should not paste in the source code of your FM..

You should go to the Main Program of your Function Group.....

there you have to paste .....

Ok this is how you can go to your Main program.

In your FM attributes that you will have a Function group (Usually 4 letters ) say ABCD... Copy that

Go to SE38

Enter SAPL followed by Function group name. ABCD here.

i.e SAPLABCD... go to change option... paste the function pool statement on top and activate it.

Then activate your FM.

Hope this helps.

Please revert if any issues.

Regards,

Pramod

Former Member

Hi Gopi,

The problem might you have not activated FUNCTION GROUP which you have created.

To activate function group goto Tcode se80

select your function group right click on it and activate it.

Hope this will solve your problem..

Thats solved my issue.

Thanks.