08-31-2007 6:53 AM
i craeted one function module, i check for syntax.
it showed no errors, but wen i am activating it is throwing error
report/program statement missing, or program type is i include.
i am using ecc 6.0
thanks in advance
siva
08-31-2007 6:55 AM
Check whether the statment FUNCTION fun-name is present in the beginign of the FM.
08-31-2007 6:55 AM
Hi Siva,
You need to activate the complete function group containing this FM..
Try to activate the function group first...
Thanks and Best Regards,
Vikas Bittera.
**Reward if useful**
08-31-2007 6:55 AM
Hi,
1. While activating , It opens one BOX(Popup) Showing all Inactive Programs.
Select Function related Includes and then activate it in bunch.
2. It might be error of some other include. So double click on Error. Check where it takes you and solve it.
Reward if useful!
08-31-2007 6:57 AM
hi
may by function group is not activated first time u have to have to activate the function group related to that function module try this .
08-31-2007 7:00 AM
hi siva,
Check your function group is activated or not.
From GOTO->Function Group -> display
Write your function group name and <b>click main program</b> and activate it.
and if it gives problem dbl click on its <b>include files</b> and <b>activate</b> them or <b>actvate anyway</b>
after actvating your function group activate your FM.
Reward if Useful,
Regards,
Sachin.
08-31-2007 7:01 AM
Hi,
May be for this case, u might not have used REPORT statement. Directly without Report statement u might have activated. That's why u got error. Use report statement and run it. Or ur program may be of type Include. Include programs directly u can't run. These Includes might be used by some other program. Through that, program only u can run this.
Try and reward if found useful.
08-31-2007 7:15 AM
Hi Siva Prasad,
this is due to... while creating a function module SAP will automatically creates 2 includes. You need to activate those two includes before activating your function module.
Goto Tcode SE80 and under function group, enter your function group name. then on left side you will get one window. Right click on function group name and press activate.
Reward If Helpful.
Regards
--
Sasidhar Reddy Matli.
09-13-2007 7:57 AM
Mr Sasidhar..
thanks for ur reply..
i got the same error and ur solution worked for me..
Thanks
Sai Reddy