Skip to Content
author's profile photo Former Member
Former Member

No read access to field L_C_ATINN

Hi

I have the following error

No read access to field L_C_ATINN

for the code

data: l_c_atinn TYPE cabn-atinn.

in SLIN check please advice how to avoid this

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2008 at 03:32 AM

    Kittu,

    We can use comment #EC NEEDED to make the message ignore as the variable is used.

    Declare as below.

    data: l_c_atinn TYPE cabn-atinn.    "#EC NEEDED
    

    Kind Regards

    Eswar

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Reason is there is no explicit usage of the variable apart from populating.

      Just for testing you can do as below.

      1. Remove the #EC comment.
      2. After the select statement write the variable WRITE:/ L_C_ATINN.
      3. Activate.
      4. Check in SLIN, you will not get the warning message.
      

      Regards

      Eswar

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2008 at 03:16 AM

    Can you check if the variable L_C_ATINN is used elsewhere in the program.

    Regards

    Eswar

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.