Application Development 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: 

Report statement in include.

Former Member
0 Kudos
65

Hi All,

i came across a program which is a function pool and there are many includes.

in one of the include, there is statement called

"REPORT includename." is this the right way to define,

i just checked for syntax check and it showed me an error.

what can be done in such case?

2 REPLIES 2

Former Member
0 Kudos
29

Hi,

To include an include in the program you have write-

INCLUDE <includename>.

Regards,

Sujit

Former Member
0 Kudos
29

Hi poonam,

I understand that you have an include inside which you have REPORT includename . Actually this is not possible.

You can have includes inside report but includes cannot have report.

So the include should be declared as INCLUDE includename instead of REPORT includename.

Have a look at this link for more information.

[Include Programs|http://help.sap.com/saphelp_nw70/helpdata/en/9f/db973535c111d1829f0000e829fbfe/content.htm]

Best of luck,

Bhumika