cancel
Showing results for 
Search instead for 
Did you mean: 

Relevance of assistant class.

arafat_shaik
Explorer
0 Kudos

when we can directly make use of class and create its object and make use of its methods in our component without declaring assistant class. what is the relevance of assistance class?

Accepted Solutions (1)

Accepted Solutions (1)

former_member199125
Active Contributor
0 Kudos

Hi,

You can access assistance class objects using wd_assist attribute. No need of separate instance like normal class.

The assistance class is automatically instantiated when a component is called. The instance is available to each controller of the component through the attribute WD_ASSIST.

Assistance class is use to manage of dynamic texts. Texts that are combined at runtime only and/or contain variables can be stored in the text pool of the assistance class as text symbols.

Regards

Srinivas

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

If we wanted to use normal class similar to assistance class in webdynpro you need to manually create instance of class , and you need to pass the same reference to all the views / controllers if we need to use in other places as well.

But if in case of Assistance class we need not create the instance seperatly and same instance will be exist through out the life time of the webdynpro application.

Regards,

Bhaskar

arafat_shaik
Explorer
0 Kudos

Thanks Raju and srinivas.