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 include

Former Member
0 Likes
559

Hi All,

I developed one report.my report name (in se38) is ztest.now i created one include for global data.

The include name is ztest_top.When I check this include(ztest_top) it shows error message " REPORT/PROGRAM statement missing or program type is I (INCLUDE)". But when I active this include then it is activated and no error that time.Can any body tell me why it comes error when I checked this

include ztest_top.

Thanks,

Rakesh

4 REPLIES 4
Read only

Former Member
0 Likes
528

Hi rakesh,

u'll get that error whenever u try to check syntax for any include..but when u activate it..it will get activated..

this happens because include programs are of type 'I' and dont have an executable object

Regards,

Amit

Read only

Former Member
0 Likes
528

Hi Rakesh,

Include is to be activated with the main program.

You cannot activate an include as stand alone. Thats why it had shown an error.

Report statement is written in main program and is not available in include.

Thanks,

Parul

Read only

Former Member
0 Likes
528

hi Rakesh,

As it is an Include does not have the Report statement and so it is not an Executable program

so error is given

thanks

Read only

Former Member
0 Likes
528

Hi Rakesh,

You can active include programs along with main program. Active your main program, the included programs will be actived together.

Best regards,

Brown