2008 Feb 16 10:41 AM
I declared
Data: V_USRID TYPE SYSID.B
But in extended program check it is showing that
No read access to field V_USRID.
Every time i am hiddening this type of message, is there any solution for this. please guide me
I declared
Data: V_USRID TYPE SYSID.B
But in extended program check it is showing that
No read access to field V_USRID.
Every time i am hiddening this type of message, is there any solution for this. please guide me
2008 Feb 17 1:20 PM
The message simply means that although you've defined the variable, and perhaps given it a value from somewhere, you never read from it anymore. Typically this means that you don't actually need the variable. Sometimes you do need it, but only perhaps as a field to select into when doing an existence check. In these cases it is valid to hide the check using the "EC comment.
matt
2008 Feb 19 6:55 AM
2008 Apr 24 1:18 PM
Hi,
This is because the variable to get the name of SAP R/3 is declared and assigned the value sy-sysid, but no where the variable is assigned to other variable..
Since it is used for only assignment, in the extended program check it shows as no read access.
To avoid this you can avoid declaring the variable if it is not used anywhere in your code, else comment the code as given in extended check.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |