Skip to Content
0
Former Member
Apr 10, 2009 at 02:36 AM

Include program gives a syntax error

1519 Views

Hello experts,

I have a code piece as follows:

*************************************************

REPORT z_obj_emp.

INCLUDE z_class_emp.

*************************************************

z_class_emp is another z report.

When I compile the report z_obj_emp, I get an syntax error:

"Each ABAP program can contain only one "REPORT", "PROGRAM", "FUNCTION-POOL" statement."

Could you please help me out to rectify this issue?

Thanks,

Mohit.