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

Includes

kiran_k8
Active Contributor
0 Likes
953

Hi Folks,

I have a program which is having 2 includes

report ztest.

include zk1.

include zk2.

Now I have copied this program through se80 into

report zabc.(copy of ztest)

include zxy (copy of zk1)

include zfg. (copy of zk2).

Now I have added some data declarations in include zxy and when I syntax check it is saying that report/program statement missing or program type is I.

Kindly let me know.

Thanks,

K.Kiran.

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
923

Hi,

I think you need to check your main program type

aRs

7 REPLIES 7
Read only

Former Member
0 Likes
923

Hi,

First u have activate your includes individual and then activate main program.

If u already do this then please send me your error no and error description ok i will help u.

Regards

Gurprit Bhatia

Read only

former_member194669
Active Contributor
0 Likes
924

Hi,

I think you need to check your main program type

aRs

Read only

0 Likes
923

ARS,

Main Program type is Executable program

Includes as usually I

Thanks,

K.Kiran.

Read only

0 Likes
923

Hi,

Go inside main and all includes and press save --> then come to main program and activate all

if this not working paste the main program code here

aRs

Read only

0 Likes
923

Hi Folks,

When I execute the main program it is not showing any error message.

But only when I syntax a particular include it is showing an error saying report/program name missing or program type is I.

Thanks,

K.Kiran.

Read only

0 Likes
923

Hi Kiran,

Go to SE80 and give main program and right click on the same and Activate it. Now it will give you the list of all objects of that program (including 2 includes) and select them all and activate.

Regards,

Atish

Read only

Former Member
0 Likes
923

HI Friend,

Make some changes in all the three programs, main program and two includes.. and click on activate in any of the program from the activate list select 3 programs.. you will not get any error at this time.

Thanks

Mahesh