‎2008 Apr 01 10:11 AM
hi,
i have created a function group in se37. but it is inactive. when i am trying to activate it it gives an error
"REPORT/PROGRAM statement missing, or program type is I (INCLUDE)."
how can i activate this function group?
‎2008 Apr 01 10:26 AM
Rakhi,
There can be different approaches of creating Function Module (FM)... however, let me provide you with a very simple techinque:
Step1: Make sure that you have a development class or package. If you want to save it in local object ($TMP), you may not require it.
Step2: Go to SE80 to create Function Group (FG)... and it will ask for the development class. The FG gets activated when you save it.
Step3: Now goto to SE37 to create FM... you need to provide the FG here, and here you should activate the FM.
You now need to build up all the interface parameters of the FM and write code as per your requirement.
Hope it helps
Regards, Tapas
<Provide points if very useful or answered>
‎2008 Apr 01 10:14 AM
Hi,
goto se80.
select the function group,give the function group name and double click on the function group name and activate it from there.
rgds,
bharat.
‎2008 Apr 01 10:18 AM
hi bharat
in se80 also when i am trying to activate the fg it shows the same error.
‎2008 Apr 01 10:22 AM
activate whole function group in SE80 if there's no syntax error.
Sameer
‎2008 Apr 01 10:22 AM
Hi,
Check whether all function modules are activated in this function group or not.If not activate them & then the function group.
Hope this helps.
Reward if helpful.
Regards,
Sipra
‎2008 Apr 01 10:23 AM
Hi
Go to SE80.
First activate all the Function modules under that Function group.
Finally activate the function group.
This will be resolved.
Reward if help.
‎2008 Apr 01 10:26 AM
hi,
actually there are no function module in that function group. i will use it in tmg. and how can i activate the whole fg in se80? in se80 i am giving the fg name and then by entering into the includes i am activating it where m getting the above error.
‎2012 Jan 05 6:43 AM
Hi Rakhi,
user T.Code SE80 in that put your FG just HIT enter and go to Environment then select Inactive Objects and then select corresponding FG then just click on Activate Icon.
thanks,
Malli
‎2008 Apr 01 10:24 AM
Try with this solution
Goto SE37 and use menu GOTO->FUNCTION GROUP->DISPLAY GROUPS.
Give your function group name and click enter. In the next dialog box, choose main program button. It will take u to the main program screen, here it will be in inactive status. Activate this main program, now your function group will get activated.
‎2008 Apr 01 10:26 AM
Rakhi,
There can be different approaches of creating Function Module (FM)... however, let me provide you with a very simple techinque:
Step1: Make sure that you have a development class or package. If you want to save it in local object ($TMP), you may not require it.
Step2: Go to SE80 to create Function Group (FG)... and it will ask for the development class. The FG gets activated when you save it.
Step3: Now goto to SE37 to create FM... you need to provide the FG here, and here you should activate the FM.
You now need to build up all the interface parameters of the FM and write code as per your requirement.
Hope it helps
Regards, Tapas
<Provide points if very useful or answered>
‎2013 Mar 07 3:10 AM
HI
I think you also need to activate those includes program in the main program. Thanks TP.
‎2013 Mar 07 5:21 PM
Dear Rakhi,
Please go to SE80 Choose Function Group from the drop down then enter the Function group name then please click on the spectacles button
Function group will be displayed with all his components under Includes few includes will be displayed please go inside and activate individually.
then right click on Function group and activate over all.
Hope it helps you.
Kindly let me know your feedback.
Thanks & Regards,
Vignesh Yeram
‎2013 Aug 16 1:12 PM
‎2013 Aug 16 3:02 PM
Hi Praveen,
Please reward points if it's helpful.
Thanks & Regards,
Vignesh Yeram