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

error in copied include program

Former Member
0 Likes
778

Hi friends,

i copied z program into y program the z program contains includes also i copied all.but in the copied program ( y program) in the includes the following error is coming

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

How to avoid the above error.

thanks for all.

6 REPLIES 6
Read only

Former Member
0 Likes
701

Hello,

Steps :-

1. Activate ur Y program .

2. A pop-up screen comes with all ur includes of ur Y Program.

3. Select all the include Programs along with ur main program.

4. Now choose activate.

Ur problem will be solved.

Regards,

Deepu.K

Read only

Former Member
0 Likes
701

hi just activate (don't see for messages)

activate all objects (that u see)

and activate all includes

reward if it helps u

vijay pawar

Read only

Former Member
0 Likes
701

Hi,

Goto attributes of ur program and change program type as include program.

Activate it again and try.

Jogdand M B

Read only

srinivas_akiri
Active Participant
0 Likes
701

Hi

The original program might be of type I, so you are not able to run it, it might atttached in another t.code.

you need to attach a t.code to your new include program or used in the any other executable program

Thanks

Read only

Former Member
0 Likes
701

well in every report there has to be following line:

Report Y?????.

AND this has to be the first statement to come.

sometimes that line is not in the main report but in the first include (normally top-include).

as long as this is still the first statement all is fine.

But if you perhaps have now the include for your selection screen above the include which contains the critical line, it wont work since you have other statements (Parameters or Select-options) BEFORE that critical line.

easiest way is to leave it in the main frame programm right on top, above all the includes.

Read only

former_member223446
Active Participant
0 Likes
701

hi

when u want to copeid ur program with another name.

click on copy button in se 38.

it will ask

sourec name and target name.then give ur prg name what ever u want.

after that one pop up window comes.

TICK THE ALL CHECK BOXES AND CONTIUE

then save it into ur package.

it will successfully copied.

i think in ur program u have 2 report statement ,block the one report statment( report statment means 1st line of every program).

if helpful

reward points

kiran