‎2007 Nov 09 1:00 PM
Hi everyone,
I am getting errors like No read access and No write access to the fields i have used in the report.
I am getting this error in Field attributes of Extended program check.
Please help me in solving these type of errors.
Thanks,
Mohanraj.N
‎2007 Nov 09 1:03 PM
Hi,
Are you using those fields in your program?
if not comment the declaration of those fields. if yes, there is no option you just can hide the message with "#EC * at the end of the declaration.
reward if it helps,
Satish
‎2007 Nov 09 1:03 PM
Hi,
No read accees, means that these fields have got a value somewhere in the program but you are not using this result anywhere (meaning you probably don't need this field at all). No write access means that the field has been defined but isn't used anywwhere in the program.
Regards,
John.
‎2007 Nov 09 1:11 PM
Hi,
I understood the error. How i can rectify that iam just using those fields to get some value.
I dont want to HIDE the values using #EC.
Please help me out.
‎2007 Nov 09 1:14 PM
If you don't want to delete the fields the only solution is to hide the error using the #EC NEEDED to the field definition.
Regards,
John.
‎2007 Nov 09 5:52 PM
Hi Natesan,
Please use like the below in your code.
For example:
Data: matnr like mara-matnr. "#EC NEEDED
Hope this helps.
Thanks,
Srinivasa
‎2007 Nov 09 5:45 PM
If you dont want to hide error, maybe you should try to use that field in IF condition.
e.g.
if l_matnr is initial .
l_matnr = MARA-MATNR
endif.
INSTEAD OF ONLY
l_matnr = MARA-MATNR