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

Code inspector warning

Former Member
0 Likes
1,169

Hi,

Can anyone help me with this..

i am getting so many warning while running the code inspector like "no read access to internal table itab[] " wat is the reason for that.

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
861

Hi Cynthia,

U r getting data into some internal table. But no where u r reading the table entries.

If u used the internal table for download or the case where no need of reading then u can ignore the message

reward with points if useful

Regards,

Krishna K

6 REPLIES 6
Read only

Former Member
0 Likes
862

Hi Cynthia,

U r getting data into some internal table. But no where u r reading the table entries.

If u used the internal table for download or the case where no need of reading then u can ignore the message

reward with points if useful

Regards,

Krishna K

Read only

Former Member
0 Likes
861

Double click on internal table name and see where it is used if not then you can remove it. Unessecarily it will alliocate memory.

You can suppress these messages using Psuedo messages.

Reward if useful.

Read only

Former Member
0 Likes
861

Hi

Try to check this code:

DATA: BEGIN OF ITAB OCCURS 0,
      FIELD,
      END   OF ITAB.


APPEND ITAB.

Here an internal table is defined and a record is appended to it, but no reading of that table is done, so ths system gives a warning to indicate you're filling an internal table but then u're using it, so probably that table is useless.

Max

Read only

Former Member
0 Likes
861

Hi Cynthia,

Remove the Variables , Constants, Work areas and Internal tables which are all not used by your code.

Regards,

Suresh

Read only

Former Member
0 Likes
861

Hi,

Declared internal table and u r not using that table. u can comment or delete that table and check it out.

Regards,

Vara Prasad

Read only

Former Member
0 Likes
861

hi,

i think that u might be coded to read data directly from the bod of itab. i.e., u r not able to read data from body directly so, u have to transfer data to wa of itab.

if the code is like READ ITAB[ ] then it can shows error.

for this u have to declare wa and body separeately.

thanks & regards,

J.prakash