Skip to Content
0
Former Member
Dec 01, 2005 at 05:51 PM

Function module Error

933 Views

Hi,

I created FM using Se37. I didn't put any code inside that FM. But While Activating that FM i am getting error like "program SAPLYMATERIAL "Report/Program statement missing, or program type is include". If i double click that program name then it's going to this code

*******************************************************************

  • System-defined Include-files. *

*******************************************************************

INCLUDE LYMATERIALTOP. " Global Data

INCLUDE LYMATERIALUXX. " Function Modules

*******************************************************************

  • User-defined Include-files (if necessary). *

*******************************************************************

  • INCLUDE LYMATERIALF... " Subprograms

  • INCLUDE LYMATERIALO... " PBO-Modules

  • INCLUDE LYMATERIALI... " PAI-Modules

If i try to activate this telling me syntax error "The main program of the function "YMAT" does not begin with FUNCTION_POOL". Kind of strange....... B'cos i didn't write any code in FM. Why i am getting this error?