cancel
Showing results for 
Search instead for 
Did you mean: 

Error:Class "CL_MAIN_CTR" does not contain an interface "IF_WD_COMPONENT_ASSISTANCE".

Former Member
0 Kudos

Hi,

I am getting below error message when i try to get the text using assitance class method  lv_text = if_wd_component_assistance~get_text( key = '001' ).

Class "CL_MAIN_CTR" does not contain an interface "IF_WD_COMPONENT_ASSISTANCE".

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi..

Try this..

Create attribute wd_assist of CL_MAIN_CTR and then call that mehod

like..

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

Former Member
0 Kudos

i checked CL_MAIN_CTR in se24.But there is no such class and the wd_assist is an attribute my assistance class

0 Kudos

Hi

o yes i mean call that method of interface using your attribute of assist class..

I think CL_MAIN_CTR is your assist class

Former Member
0 Kudos

no... CL_MAIN_CTR is not my assistance...Zassist is my assistance class