on 11-05-2010 9:16 PM
Hello All,
I created Web Dynpro component with assistance class.
On the component controller I can see the attribute "WD_ASSIST".
I also can use Goto -> text symbols and create net text key.
But when I tried to read the text:
wd_assist->get_text( '001' ).
There is abap error:
Method get_text is unknown protected or private.
I can see the method get_text inside my assistance class like this:
IF_WD_COMPONENT_ASSISTANCE~GET_TEXT visibility - public.
I think I missed something while creating the assistance class?
Thanks in advanced for the help.
Nir
Your method call should be:
wd_assist->IF_WD_COMPONENT_ASSISTANCE~get_text( '001' ).
You have to supply the interface name or go into the class definition and create a public alias for that method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.