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: 

GENERATE REPORT statement results in SY-SUBRC 8

Former Member
0 Kudos

Hi all,

I was trying to generate a report using GENERATE REPORT statment. It went on to sy-subrc 8.

What might be the possible reasons?

I have that report already present. Is it like the report should not exist already when we use Generate Report statement?

Thanks in Advance,

Jegadeesan U

1 ACCEPTED SOLUTION

former_member195402
Active Contributor
0 Kudos

Hi,

SY-SUBRC = 8 means SYNTAX Error, the program couldn't be generated! Check the report in SE38/SE80!

The report must exist!

Regards,

Klaus

Edited by: Klaus Babl on Feb 25, 2011 8:21 AM

4 REPLIES 4

former_member195402
Active Contributor
0 Kudos

Hi,

SY-SUBRC = 8 means SYNTAX Error, the program couldn't be generated! Check the report in SE38/SE80!

The report must exist!

Regards,

Klaus

Edited by: Klaus Babl on Feb 25, 2011 8:21 AM

0 Kudos

The Report exist. But its of type Subroutine Pool.

0 Kudos

And what is the result of the syntax check in SE80 for this Subroutine Pool.?

vinod_vemuru2
Active Contributor
0 Kudos

Hi,

Use first 5 additions of the GENERATE statement and see why the generation error is coming. Check f1 help for documentation on these additions.

1. ... MESSAGE f1

2. ... INCLUDE f2

3. ... LINE f3

4. ... WORD f4

5. ... OFFSET f5

Thanks,

Vinod.