cancel
Showing results for 
Search instead for 
Did you mean: 

No write access to reference F_ASSIST takes place

Former Member
0 Kudos

Hi Experts,

When i do extended code check in my web dynpro application i am getting the below error.

Program: /1BCWDY/KPVGBYUZCUZLXT07TCHN==CP Include: /1BCWDY/S_L8P8K1ZGJ7H29HGR7WZ8 Row: 185

No write access to reference F_ASSIST takes place

(The message can be hidden with "#EC NEEDED).

The above error msg shows the msg in the below location.

include : /1BCWDY/S_K5QJHCEHI85OOEQHOZQL

data:

f_Assist type ref to YTEST_ASSIST read-only.

Note:

In my web dynpro component i have accessed the method from the assistance class YTEST_ASSIST.

Please help me out in this issue.

Regards,

Sathish.

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I'm not sure what help you are looking for. This isn't an error, but instead just a warning of the extended check. Nor is this Web Dynpro related. The extended check is warning you that you don't have any write access. If you want to get rid of this warning, simply do as the message says and add "#EC NEEDED to the end of the data statement.

rahul_mahajan
Active Participant
0 Kudos

Hi Sathish,

I am also getting the same error in EPC checks.

"No write access to reference o_grid takes place "

I have declared the object as follows:

DATA o_grid TYPE REF TO cl_gui_alv_grid .

However, I am passing it to a generic subroutine as a parameter as follows :

IF o_grid IS INITIAL.

*Setup container

PERFORM alv_setup_container USING o_grid g_custom_container 'CC_CONTAINER_201'.

ENDIF.

When used directly for creating a container ; i am not getting an error.

Could you/anyone else please reply on this ?

Any help in this regard will be appreacited.

Thanks & regards,

Rahul

Edited by: mahajanr on Jul 28, 2011 4:23 PM

I have got the solution for this.. What we need to do is just use CHANGING instead of USING while passing the parameters to subroutine.

Cheers !!!