cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

REPORT/PROGRAM statement missing, or program type is INCLUDE error upgrade

Former Member
0 Likes
15,925

Hi,

One of our client is doing upgrade from 4.6 to ECC6.0. We are getting errors in few include programs. The error is "REPORT/PROGRAM statement missing, or program type is INCLUDE". Please suggest some solution for this.

Thanks,

Sonal

Accepted Solutions (1)

Accepted Solutions (1)

alexandredonato
Discoverer

Hi,

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.

dave_price
Participant
0 Likes

Thanks, this fixed mine.

Answers (8)

Answers (8)

ThangaPrakash
Active Contributor

Hi

You will be getting this error only during the syntax check.

If you try to activate it it will activate.

It occurs mostly in the include program.

Regards,

Thanga Prakash T

Former Member

Hi Sonal,

This error comes in either include programs or executable programs. It usually comes in an include program when the function group is not activated and it may come in an executable program when the report zxyz statement is missing.

Regards

Purnand

Former Member

Hi,

You need to find out the main programs (in which these includes programs have been called) and activate .

Regards,

Jasmine

Edited by: jasmine_123 on Nov 5, 2009 1:50 PM

Former Member
0 Likes

Hi Jasmine,

I have checked, the include is not used in any programs. But we want to remove this error.

Thanks,

Sonal

former_member331934
Participant
0 Likes

please try CTRL + F7

former_member712912
Discoverer
0 Likes

Hi, Even if the problem you are experiencing appears as an error, it does not prevent the program from being executed. The problem will be solved if you write the name of the program in top include.

Former Member
0 Likes

You create a temp program with this include. Activate your temp program with this include.

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Sonal,

Are you getting this error when you are trying to do a "Syntax" check (Ctrl+F2)?

If so, then try activating it (Ctrl+F3) & see if you are getting any errors ?

BR,

Suhas

Former Member
0 Likes

Hi Supriya,

I have checked, the include is not used in any programs. But we want to remove this error.

Thanks,

Sonal

Former Member
0 Likes

How aer you creating the program from 4.0 to 6.0 ecc?

Just check did you kept include in the attributes?and check any fullstop is missed...

Ps: if nothing works then create a test include program and check then if still you persist the problem consult you basis guy.Good luck.

Regards

sas