on 12-15-2009 5:27 AM
Hi,
Can any one pls explain about webdynpro component interface? what s its actual puropse? wher we use it. I have gone thru some documents. But i am not getting the clear idea.
Gopi.
hi ,
when u define the the component interface definition in ur component , the elements of the separately defined
interface controller are added to the component controller of the implemented component .
After the implementation, the implementing component now contains the elements of the interface definition
refer this SAP online help :
Working with Web Dynpro Component Interfaces
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/6c/bd896e6661f04b9c8b2916aed3aadc/content.htm
and Implementing a Web Dynpro Interface Definition
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b9/1c2d4108f08739e10000000a1550b0/content.htm
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
it is for the exchange of data and methods of one component to another in a standardized way.
If you have for example one component embedding different components, which you do not know at design time, because you customize them for example and use them at runtime. Using components this and communicating with them is only possible by interfaces. Then you can call generic methods like SAVE / INITIALIZE, which are implemented in the Interface.
data lo_comp_usage TYPE REF TO if_wd_component_usage,
data lo_controller TYPE REF TO iwci_ztest_subcomponent,
lo_controller ?= lo_comp_usage->get_interface_controller( ).
lo_controller->save( ).
Of course this is just dummy code. But if you initialize and integrate components dynammically by for example "PREPARA_DYNAMIC_NAVIGATION" of if_wd_view_controller, you will have a component usage, you can access via the fixed component interface.
Regards
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
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.