cancel
Showing results for 
Search instead for 
Did you mean: 

Using Assistance class

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

S-H
Active Participant
0 Kudos

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

Answers (3)

Answers (3)

Former Member
0 Kudos

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

thomas_szcs
Active Contributor
0 Kudos

Hello Senthil,

You need to create your assistance class as a sub class of CL_WD_COMPONENT_ASSISTANCE.

Best regards,

Thomas

Former Member
0 Kudos

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