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: 

error while activating the function module

Former Member
0 Kudos

hi,

am getting error while activating the function module i.e. program or report statement is missing.

thank you in advance

karthik

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Do not activate only function module. go to SE80 , specify the function group name and activate the function group. It will be activated without above specified error.

Thanks,

Saibaba Kondani

14 REPLIES 14

Former Member
0 Kudos

Please activate Function Group and check .

You have to activate the Include.

0 Kudos

i opened the se80 and right clicked on the function group but it is not displaying the activate but it is just displaying create.

here also am getting the same error as program or report statement is missing or program type i(include).

Former Member
0 Kudos

Hi,

Do not activate only function module. go to SE80 , specify the function group name and activate the function group. It will be activated without above specified error.

Thanks,

Saibaba Kondani

0 Kudos

thanks a lot for giving me the solution for my query

Former Member
0 Kudos

Plz check that u have write your code inside the statement

Function

endfunction.

0 Kudos

yes i written the code inside function and endfunction then also getting the same error.

0 Kudos

Hi ,

You can ge t the function group name of the function module from se37 and go to se80 and there

select function group option and then provide function group name and enter

After that you will be list out, then right click on the functio group then activate..

Regards,

vinesh

Edited by: Siddivinesh Jogu on Aug 21, 2009 12:03 PM

0 Kudos

Hi,

It would seem that the top include of the function group is missing or damaged. Have you tried using SE37 and choosing Utilities -> Repair Func Group?

Regards,

Nick

0 Kudos

thanks a lot for giving me the solution for my query

Former Member
0 Kudos

hei..

there are two includes created when you create a FM.

activate your FM along with these two includes too.

check you Function group in SE80 to get all of them.

Former Member
0 Kudos

hii vinu,

hi there....

make sure that the Processing type in Attributes tab is 'Normal function module'. Also chk the general data, it must be having some name in the Program Name and include name column.try checking the program names in se38, if the program is of type include or not. you can also chk by writting a program call the function module and test it

I hope this will solve the query. in my case, SAPLZ123 is the program name and LZ123U28 is the include name.

or

Its common prob with Function module.

Goto SE80->Give Function group name->Right click on it->Activate.

regards,

Shweta

0 Kudos

thanks a lot for giving me the solution for my query by spending ur precious time thank you thanks a lot.

Former Member
0 Kudos

hello vinu,

try to Activate the Function Group in which the Function Module is created first..

rgrds,

Shweta

0 Kudos

Hi ,

To make it simple, when you try to activate your FM, you would see list of inactive objects. Choose all your function module related objects ( there must be 3 or 4) and then activate.

Thank You,

Gajendra.