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

Statement not accessible error

Former Member
0 Likes
3,623

Hi, we have upgraded the project from 46c to ecc version.

In one standard include MV45AFZZ , one statement is added IMPORT itab1chk FROM MEMORY.

In MV45AFZB , the value for itab1chk is getting exported.

In 46c , we r not getting any error when we run the VA01 transaction.

But in ECC, this transaction going for Dump giving error 'The statement is not accessible ' referring to the statement IMPORT itab1chk FROM MEMORY which is in MV45AFZZ include.

I tried by adding ID <KEY> to the IMPORT AND EXPORT statement. But still getting same error.

Can any one please suggest the solution.

Thanks,

laks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,155

Error maybe due to structure of itab1chk as 46C and ECC has difference in terms of how you define your data and also check for restrictions due to Unicode.

2 REPLIES 2
Read only

Former Member
0 Likes
3,156

Error maybe due to structure of itab1chk as 46C and ECC has difference in terms of how you define your data and also check for restrictions due to Unicode.

Read only

Former Member
0 Likes
3,155

Hi,

You get this Error normally when you are doing a syntax check on the Includes in which the code lines are not between FORM and ENDFORM.

I dont think this is a serious error atleast till 4.7 as the system will allow you to activate the Include. May be the ECC is a bit more stringent on this issue.

I think your problem will be solved if you try to include all the code lines only in the FORM and ENDFORM.

regards,

Mahesh