on 08-02-2007 10:58 AM
Hi All,
I am using Assistance class.
I have created zclass in SE24 and used IF_WD_COMPONENT_ASSISTANCE in interface.
but when try to use it in component controller with wd_assist as attribute referring to my zclass its throwing error. Do I have refer this else where.. like under application..
I would like to have step by step method of implementing assistance class.
ThanQ for Ur time.
Cheers,
Senthil
Hi Senthil,
Create the Assistence class from the WebDynpro compoenent property page using forward navigation. Like enter the assistence class name in 'Assistance class' and double click on it. application will ask to create the class and choose ok. Using this approach the framwork will automatically create the class and we will get the method IF_WD_COMPONENT_ASSISTANCE->get_text in the method tab automatically (No need to define explicitly the interface and super class)
Best regards,
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Dont create separately in the se24 create always in the Webdynpro Application itself . By doing this you need not have to insist the WD_Assist Manullay, but it automaticaly adds to the attibute of the Controller. Strictly speaking it needs to be instantiated automatically when the webdynpro application is called and not to be done maually.
cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Senthil,
You need to create your assistance class as a sub class of CL_WD_COMPONENT_ASSISTANCE.
Best regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In your specific component, this class should be mentioned as 'Assistance class'. You can do it in the component overview. Only then you can use the attribute wd_assist to access the class methods.
Regards
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.