文章转自 http://blog.csdn.net/balderzwz/article/details/6963082
Syntax Error :
Message : REPORT/PROGRAM statement missing, or program type is INCLUDE.
1) . Include program occurs such error .
Include XXXX_TOP
Re : Use key ( Ctrl + F7) instead of key (Ctrl + F2) to check program
2) . Function occurs such error .
You can activate the function group either from SE80 or by clicking on goto -> main program in the function module (SE37)