Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

REPORT?PROGRAM statement missing or program type is I(include)

Former Member
0 Likes
4,532

Hi all,

I am creating remote funtion module to read sales details. But i am getting an error while activating tha FM.

this is the error.

REPORT?PROGRAM statement missing or program type is I(INCLUDE).

Can anyone tell me why this is coming..?

7 REPLIES 7
Read only

Former Member
0 Likes
1,372

HI Sreelakshmi,

You are trying to activate an Include, open it in SE80 and open the Main Program and from here ACTIVATE the code

Cheerz

Ram

Read only

0 Likes
1,372

hi

activate the function group.

Goto->Main program and Activate

Read only

Former Member
0 Likes
1,372

Dear all,

The include name should not end with 'TOP'.

For example The include name should not be ZPQR_TOP. Please change the include name from ZPQR_TOP to ZPQR_DECLN. I think you will not get that error.

Next solution is write the REPORT statement inside the ZPQR_TOP.

I think it will help you

Sumit.

Read only

kabil_g
Active Participant
0 Likes
1,372

In the attributes Tab you might not Created Properly Check in the attributes tab and tick mark the Optional Check box in the Import Tab...........Even u got problem save check activate seperate seperate  Tab .... then u will come to know the problem and post your thread..............

Regards

kabil

Read only

Former Member
0 Likes
1,372

Dear Kabil,

I can not get you properly.

I am giving below the screenshot of attribute of the program. Here I am not getting any Import tab and Optional Check box. Please help me for the same.

Regards,

Sumit

Read only

kabil_g
Active Participant
0 Likes
1,372

Hi sumit,

            Did u Created any Include Program  For these.......... Activate the All the Programs

Your Problem Will solved........

Read only

matt
Active Contributor
0 Likes
1,372

Old thread resurrected... so locking now.