Skip to Content
0
Former Member
Oct 25, 2007 at 12:08 PM

Compile Error Statement is not accessible

834 Views

Hi All,

I have report in SAP 4.7 . when i do syntax check on it it give a warning -"statement is not accessible."

But same thing when we compile we are getting as Syntax error in ECC 6.0 .

when I compile it, it prompts

<i><b>Include ZHRIPENR

Statement is not accessible.</b></i>

<i><b>My REPORT program -</b></i>

REPORT ZHRIBANK NO STANDARD PAGE HEADING

LINE-SIZE 80

LINE-COUNT 65.

START-OF-SELECTION.

INCLUDE ZHRIPENR.

END-OF-SELECTION.

<i><b>My INCLUDE program -</b></i>

*INCLUDE ZHRIPENR.

.....

......

PERFORM BATCH_INIT.

......

.......

FORM BATCH_INIT.

....

....

...

ENDFORM. " (BATCH_INIT)

when I compile it, it prompts

<i><b>Include ZHRIPENR

Statement is not accessible.</b></i>

Please let me know how can i proceed .

Cheers,

Reddy