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

Error in Extended program check

Former Member
0 Likes
723

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

6 REPLIES 6
Read only

Former Member
0 Likes
699

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

Read only

Former Member
0 Likes
699

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.

Read only

0 Likes
699

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.

Read only

0 Likes
699

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.

Read only

0 Likes
699

Hi Natesan,

Please use like the below in your code.

For example:

Data: matnr like mara-matnr. "#EC NEEDED

Hope this helps.

Thanks,

Srinivasa

Read only

Former Member
0 Likes
699

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