‎2007 Jan 25 4:24 PM
Hi,
I wrote a custom function module. When i did the syntax check, I am getting the following error "REPORT/PROGRAM statement missing, or program type is INCLUDE".
Can you provide input on this please?
Thanks.
‎2007 Jan 25 5:17 PM
Hi,
Is your Funciton Group active ? If not, first activate your function group (i.e. main program) and then go for activation or syntax check of your custom FM. I hope activation of the Function Group will solve your problem.
To activate the Function Group, goto Transaction SE80.
Reward points if the answer is helpful.
Regards,
Mukul
Message was edited by:
Mukul R. Kulkarni
‎2007 Jan 25 4:25 PM
hi,
have u created fm using se37 ? can you place ur code here...
Regards,
‎2007 Jan 25 4:25 PM
go to se80 : give the funtion group name and activate from there.
then you will not get the error.
or go to the main program, by clicking goto-> main program. and try to activate from there.
regds,
kiran
‎2007 Jan 25 4:26 PM
Hi Krishen,
The program will still get activated and work fine.
Just execute it. It will work fine
‎2007 Jan 25 4:26 PM
u need to write a function module using SE37...here first statement should be
FUNCTION <program name>.
‎2007 Jan 25 4:52 PM
I think you got this error while activating and not while syntax check. Anyway, just do the syntax tax in the FM. FM will be activated in the calling program.
Thanks,
Santosh
‎2007 Jan 25 5:17 PM
Hi,
Is your Funciton Group active ? If not, first activate your function group (i.e. main program) and then go for activation or syntax check of your custom FM. I hope activation of the Function Group will solve your problem.
To activate the Function Group, goto Transaction SE80.
Reward points if the answer is helpful.
Regards,
Mukul
Message was edited by:
Mukul R. Kulkarni
‎2007 Jan 25 5:29 PM
Hi Krishen,
You need to activate the function group/main program using transaction SE80.
Regards,
Ferry Lianto
‎2007 Jan 25 7:54 PM
Hi Krishen,
At least Generate the function module using se37.
Hope it helps.
Points reward, if helpful.
‎2007 Jan 26 2:33 AM
‎2007 Jan 26 2:37 AM
Please create a FM from SE37.
You might have not created it thats why it is giving u error