‎2008 May 29 4:29 AM
Hi,
I built a function module. It is no problem when I activate it, but when I test it (without writing an ABAP/4 program), it shows the error "REPORT/PROGRAM statement missing, or program type is I".
Could anyone have any idea how to solve it? I really appreciate any suggestions.
Bing
‎2008 May 29 8:20 AM
Hi Noyan,
Its common prob with Function module.
Goto SE80->Give Function group name->Right click on it->Activate.
Try this, it surely works.
Dont forget to reward points if found useful.
Thanks,
Satyesh
‎2008 May 29 4:31 AM
‎2008 May 29 4:34 AM
hi there....
make sure that the Processing type in Attributes tab is 'Normal function module'. Also chk the general data, it must be having some name in the Program Name and include name column.try checking the program names in se38, if the program is of type include or not.
I hope this will solve the query. in my case, SAPLZ123 is the program name and LZ123U28 is the include name.
do reward if helpful or get back with further issues.
‎2008 May 29 4:37 AM
Hi
Follow the following Options to resolve this error
1.Go to Function Builder (SE37)
2.Select Goto-> Main Program
3.then include the following statement above the first comment
line
FUNCTION-POOL <function group name>.
*******************************************************************
System-defined Include-files. *
*******************************************************************
4. Activate ur Function Group
5. Activate ur Function Modules
Thanks & Regards,
Hakim
‎2008 May 29 8:20 AM
Hi Noyan,
Its common prob with Function module.
Goto SE80->Give Function group name->Right click on it->Activate.
Try this, it surely works.
Dont forget to reward points if found useful.
Thanks,
Satyesh
‎2008 May 29 8:28 AM
hi,
its normally comes when u create FM
just activate it 'process anyway' .
it will not throw u an error when executed or when ur function uses this FM.
‎2008 May 29 9:25 PM