cancel
Showing results for 
Search instead for 
Did you mean: 

Error is from Standard SAP, how can i fix it pls.?

former_member202077
Participant
0 Kudos

Hello

I have developed a WDA, where in i have used a Assitance Class, mainly for maintaining the text elements purpose, well

But, when i did SLIN (Extended Prog. Check) on my_WDA component, i am getting the below error, but its generating from the part of Standard SAP code, hence i unable/can't fix it, pls. let me know how can get rid off this error in SLIN of my_WDA

Program:  /1BCWDY/ASZMKP2S0JX94EIL35HC==CP  Include:  /1BCWDY/S_ASZMN32Q8ILK6HWU2H53  Row:    567

No write access to reference F_ASSIST takes place

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

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

amy_king
Active Contributor
0 Kudos

Hi MSR,

If the error is listed only in SLIN and doesn't interfere with the execution or functioning of your WDA, I would feel free to ignore the SLIN error. The error appears to be reporting only that your component does not ever write to the assistance class.

Note that SLIN is giving you a way to hide the error message with the use of comment "#EC NEEDED. If you double-click and drill-down on this message to see on what line of code SLIN detects the error, you can place the comment "#EC NEEDED there.

Out of curiosity, if you are storing your text elements in the assistance class, how are you referencing the text elements from your component? I have a component that similarly uses an assistance class only for text elements but I don't get this error upon extended check. Are you using...

mytext = wd_assist->if_wd_component_assistance~get_text( '001' ).

Cheers,

Amy

former_member202077
Participant
0 Kudos

Thank you for the repl.

Surprise, am also fetching the text elements as you said, like below

lv_text_ele = wd_assist->if_wd_component_assistance~get_text( key = '035').

i took some help from the below link,

http://e-university.wisdomjobs.com/sap-abap-web-dynpro/chapter-105-274/messages-exceptions-and-web-d...

i can see my_assistance_class in the header (componenet controller)'s ASSISTANCE CLASS field as well. I can see it as an ATTRIBUTE of all views

Not sure wht i missed?

Thank you


former_member202077
Participant
0 Kudos

Any help pls?

To address this SLIN's error message, can i go ahead and write some dummy code, where in i write some to this ASSISTANCE CLASS? If so, pls. provide me some code snippet, which is safe for my WDA

Thank you    

amy_king
Active Contributor
0 Kudos

Hi MSR,

If you double-click on the SLIN message, it should bring you to the place where SLIN detects the error. Can you please let us know where SLIN brings you (e.g., with a screen shot)? If it is a line of code, you can add the comment mentioned above to hide the error message.

Cheers,

Amy

former_member202077
Participant
0 Kudos

Sorry for not writing my reply in full,

1) Yes, i have navigated into the spot at what point/position am getting this error, hence i said "Error in standard SAP" in the title of this post

2) Hence i could not hide it by tagging as you suggested (actually, our QA team also checks the hidden errors and asks us justification, hence am not ignoring this error, yes, i agree we can ignore SLIN errors, but our QA team is so, but in worst case i will try to convince them)

3) Yes, i would have attach a screen shot, now am doing it as below,

( its coming from,

Program:  /1BCWDY/ASZMKP2S0JX94EIL35HC==CP  Include:  /1BCWDY/S_ASZMN32Q8ILK6HWU2H53  Row:    567)

former_member202077
Participant
0 Kudos

Hello Experts,

Any help pls.?

Thank you

amy_king
Active Contributor
0 Kudos

Hi MSR,

You can create a customer message with SAP requesting that they include the comment #EC NEEDED for this DATA declaration as they have done for the DATA declarations in the class' private section (referring to your second screen shot). But since this is an SAP object, you cannot make the change yourself without a mod-- which isn't recommended for such a minor issue.

Cheers,

Amy

Answers (1)

Answers (1)

former_member202077
Participant
0 Kudos

Hello Experts,

Any help pls?

Thank you