ERROR: REPORTP/ROGRAM statement missing, or program type is INCLUDE 处理

来源:互联网 发布:番茄 法windows 编辑:程序博客网 时间:2024/06/06 15:36

1.       when Include program active occurs error:

http://forums.sdn.sap.com/thread.jspa?threadID=1523235&tstart=0

Are you performing syntax check on your INCLUDE programs using Crtl + F2. That wont work and it will return the message you are getting.

Instead to perform syntax check on includes use Crtl + F7

and activate the program.

 

since you are checking syntax for Include report it will give you this error.

you can directly activate your include errespective of this error.

 

 

2.       When function active occurs error.

http://www.saptechnical.com/Tips/ABAP/RPTMissing.htm

The error "REPORT/PROGRAM statement missing, or program type is INCLUDE" is common when activating any new custom function module.

 

This problem would be mainly because of the function group not being active. You can activate the function group either from SE80 or by clicking on goto -> main program in the function module (SE37).

The activation of the function group resolves the error.