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

Syntax Error on Function Module Activation

Former Member
0 Likes
2,179

Hello,

I have a problem like screen shot below when I activate my function module which I've been created.

Can anyone help me to solve this problem?

9 REPLIES 9
Read only

Former Member
0 Likes
2,031

Hello Ibnu,

you might be missing the FUNCTION statement in your FM.

Check that and let us know.

thanks,

bhaskar

Read only

Former Member
0 Likes
2,031

Hi ,

Go to SE80 and activate your main program.Then try to activate the FM.That should resolve your problem.

BR,
Giri

Read only

Former Member
0 Likes
2,031

Hi,

Check if you have activated the function group. If not, activate both function group and function module at a time.

Thanks,

Ramlal.

Read only

0 Likes
2,031

Hi Ramlal,

Its Because You may have Defined Two TOP INCLUDES, that's Why this Problem is coming.

Only Maintain One Top Include Delete Another TOP INCLUDE.

This is not major problem ,its just like warning.

Try to Activate any way it will activate.

Regards,

Hiriyappa.

Read only

sivaganesh_krishnan
Contributor
0 Likes
2,031

HI ibnu,

this error comes because the function group is not being active , you can active it by going to se80 and activate the function group .

Regards,

sivaganesh

Read only

Former Member
0 Likes
2,031

Hi Ibnu,

Please follow the below step by step.It will Solve ur  error.

this is the problem with the function group.if the function group is not active then you will get this error.please follow these steps to activate the function group.

1)go to se37

2)go to menu item  Goto

3)go to Function Groups->Display Group

4)enter the functiona group name and press enter

5)you will get another screen.In that click on main program.

6)you will get abap editor with the functionpool name as SAPLfunctiongroupname

7)click on Include provided for Global data.you will go to the abapeditor with that include.activate it.

8)click on include provided for function modules.you will go to the abapeditor with that include.activate it.go back.

9)click on activate in the screen that you get in step 6.

now activate the functional module.you will not get any error.

Thanks

Tarak

Read only

Former Member
0 Likes
2,031

U CAN DO THIS WAY ALSO.

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

Read only

Former Member
0 Likes
2,031

Hi Ibnu,

This error means the main program under which this appears is not active. So first activate the function group which contains the function module and then try activating the function module. Please post if issue persists.

Regards,

Sheetal.

Read only

kethanuppalapati
Explorer
0 Likes
2,031

Hi,

This happens for two reasons.

1) The report statement in the function group of the function module is deleted.

2) The function group in which you have you function module is not active.

Go to Se80 and activate the function group or you can even activate it from the SE37. Give the function module name and in goto menu choose function group and display group. Activate the function group there. This should solve the problem.

Regards,

Kethan