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

how to activate a function group

Former Member
0 Likes
7,766

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
4,178

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>

13 REPLIES 13
Read only

Former Member
0 Likes
4,178

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.

Read only

0 Likes
4,178

hi bharat

in se80 also when i am trying to activate the fg it shows the same error.

Read only

0 Likes
4,178

activate whole function group in SE80 if there's no syntax error.

Sameer

Read only

Former Member
0 Likes
4,178

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

Read only

Former Member
0 Likes
4,178

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.

Read only

0 Likes
4,178

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.

Read only

0 Likes
4,178

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

Read only

Former Member
0 Likes
4,178

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.

Read only

Former Member
0 Likes
4,179

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>

Read only

peng_tang
Participant
0 Likes
4,178

HI

I think you also need to activate those includes program in the main program. Thanks TP.

Read only

vigneshyeram
Active Participant
0 Likes
4,178

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

Read only

0 Likes
4,178

hi Vignesh,

    

            It really works.

          Thanks.

Read only

0 Likes
4,178

Hi Praveen,

Please reward points if it's helpful.

Thanks & Regards,

Vignesh Yeram