‎2006 Sep 29 3:59 AM
Hi All,
i am Creating function module...while activating it it is giving me this error msg.
My code is this.
FUNCTION ZGSTT_YARITHMATIC.
*"----
""Local Interface:
*" IMPORTING
*" REFERENCE(A) TYPE I OPTIONAL
*" REFERENCE(B) TYPE I OPTIONAL
*" EXPORTING
*" REFERENCE(C) TYPE I
*"----
C = A + B.
write : 'Total of A + B' , C.
ENDFUNCTION.
Error while Activation.
REPORT/PROGRAM statement missing, or program type is INCLUDE.
Regards,
yunus
‎2006 Sep 29 4:02 AM
Hi,
Go to the function group in SE80 and try to activate the function group..
Thanks,
Naren
‎2006 Sep 29 4:04 AM
Hi,
As this is a function module there should be a zprogram to call this function in that. You cannot directly execute this. SO write program and call the created function module in that.
Regards,
Ram
‎2006 Sep 29 4:06 AM
Hi,
This is bcz the Function Group is not activated.
Goto the attributes TAB and check Function Group name.
Goto SE80 and select Function Group and enter the Function group name.
Activate it and then try to activate the FM.
Best regards,
Prashant