on 09-26-2014 5:04 AM
Hi experts,
make me clear What is assistance class in webdynpro .
and where does it come in webdynpro. and way of use, its advantage and disadvantage??
Thanks
Vikash
Hi,
For each Web Dynpro component, a uniquely assigned assistance class can be created. Creating an assistance class for a component provides the following benefits:
● We can store coding there that is required within the component, but is not linked directly with the layout or with the function of a controller. Method calls of the assistance class are much better from a performance point of view than calls of methods of a Web Dynpro controller.
● The second important function of the assistance class is the management 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.
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.
● The assistance class may be used by any number of webdynpro components. Therefore an assistance class provides a means of re-using methods, attributes and constants between a number of different components. Originally 'faceless' components were designed to serve this purpose, but in practice assistance classes can achieve the same result
Refer below links for more information
Working with the Assistance Class
Assistance class in Web Dynpro ABAP
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikash,
An assistance class is just like normal ABAP class but it should inherits from the class CL_WD_COMPONENT_ASSISTANCE.
As WD follows MVC architecture principle, Model viz class , FM holds the business logic.
Benefits:
Please refer the below links for more details.
Working with the Assistance Class - Web Dynpro for ABAP - SAP Library
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.