08-21-2009 10:14 AM
hi,
am getting error while activating the function module i.e. program or report statement is missing.
thank you in advance
karthik
08-21-2009 10:16 AM
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
08-21-2009 10:15 AM
Please activate Function Group and check .
You have to activate the Include.
08-21-2009 10:49 AM
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).
08-21-2009 10:16 AM
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
08-26-2009 9:30 AM
08-21-2009 10:17 AM
Plz check that u have write your code inside the statement
Function
endfunction.
08-21-2009 10:54 AM
yes i written the code inside function and endfunction then also getting the same error.
08-21-2009 11:02 AM
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
08-21-2009 11:05 AM
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
08-26-2009 9:31 AM
08-21-2009 10:37 AM
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.
08-21-2009 10:41 AM
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
08-26-2009 9:31 AM
thanks a lot for giving me the solution for my query by spending ur precious time thank you thanks a lot.
08-21-2009 11:05 AM
hello vinu,
try to Activate the Function Group in which the Function Module is created first..
rgrds,
Shweta
08-21-2009 11:58 AM
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.