‎2007 Apr 19 2:05 PM
Hi all,
I am trying to create a function module which is an RFC enabled.
Steps:- 1) Created a function group.
2) Created a function module and assigned the above created function group and tried to activate function module its giving an error saying that "REPORT/PROGRAM statement missing, or program type is INCLUDE"
What is the problem..all our function group and function modules are created locally "Z".
Any help which solves the problem will be fully appreciated with max points.
Cheers,
Karthick
‎2007 Apr 19 2:18 PM
Hi karthik,
Just goto SE80 transaction code, then select the function group, and give the Function group name and right click on the function group and select ACTIVATE, then that will be activated. then activate the Function module
Regards
Sudheer
‎2007 Apr 19 2:08 PM
Hi
I am sorry i have given that reply by mistake, even i got the same mistake just follow this procedure.
1. Create the Function Group
2. Then go to menu Environment->Inactive Objects.
3. Then in the local object you will have function groups select ur group right click and activate that group.
4. Come back and activate ur function module you will not get that error.
Ur problem will be solved.
Regards
Haritha.
Message was edited by:
Haritha
‎2007 Apr 19 2:10 PM
‎2007 Apr 19 2:10 PM
‎2007 Apr 19 2:10 PM
Did you create the function module using SE37 or from SE80 ? What is the first statement in the source code of your function module.. it should be
FUNCTION <function_name>.
~Suresh
‎2007 Apr 19 2:16 PM
Hi Suresh,
I created function module using SE37.
<<<<What is the first statement in the source code of your function module.. it should be
FUNCTION <function_name>.>>>
Ofcourse we get it automatically?
Cheers,
Karthick
‎2007 Apr 19 2:10 PM
u need to include atleast either 1 import or export or table parameters.
‎2007 Apr 19 2:12 PM
‎2007 Apr 19 2:18 PM
Hi karthik,
Just goto SE80 transaction code, then select the function group, and give the Function group name and right click on the function group and select ACTIVATE, then that will be activated. then activate the Function module
Regards
Sudheer
‎2007 Apr 19 2:43 PM
Hi Sudheer,
Really great..My problem was solved.
Every one were suggesting the same activate Function group..but i was trying to activate it..but i am getting error...
You answer right click on FG and activate solved the problem.
Thank you very much for the help..i am awarding max points thanks...
Cheers,
Karthick