Interface Controller of a Component

Hi,
Can anyone explain/provide any doc which explains using one component in another component using interface controller.
Warm Regards,
Imtiyaz

Hi,
Refer these links,
WebDynpro Componentization [original link is broken]
https://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/c053bcfa-426e-2910-f28a-91dec33159d6 [original link is broken]
http://help.sap.com/saphelp_nw04/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/content.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f727d100-0801-0010-4cbd-b0ad5c161945.
/people/sudhir.gorantla4/blog/2008/02/27/componentization-of-webdynpro-application-in-ce71
Regards,
Sunaina Reddy T

Similar Messages

  • How to create  in the Interface controller of a component

    Hi  Gurus............
    Could any one tel  How to create a method  in the interface controller of component
    and  use that componet  into other  comoponent as  Used Contoller .
    I  Found  following  Tutorial  but it was not cleared  Description.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2e71ce83-0b01-0010-11a4-98c28a33195f
    Thanks in Advance.

    Hi all,
    My actual requirement is as follows..
    I have implemented some functionality in One component .
    Here I  want to create a new method in the interface controller, so that I should be able to access this method in another component by declaring this component as used component in another one.
    My problem is, I am unable to create new method in interface controller of my component,
    It is appearing i n 'disabled' mode.
    Can any one please suggest me the appropriate solution?
    Thanks in advance
    SivaKumar

  • How to consume a method on the interface controller from another component?

    Hello,
    I have a project which contains two Components, A & B.
    I have exposed a method at the interface controller of Component A. How can I consume it from Component B?

    Hi,
       First add ComponentA as a used webdynpro component in ComponentB. Then open the Interface Controller of B and switch to Properties Tab. Select Add in the "Required Controllers" section. From the dialog that appears, select A's interface controller. Then you can access A's method from B's interface controller as:
    wdThis.wdGetAComponentInterface().<method>;
    Regards,
    Satyajit.

  • Call method of interface controller from component controller

    hi,
    I have created one method in the interface controller of a component. Now i have this method along with attributes to the component controller. Now from the component controller i want to call the method of the interface controller. How do i do it???

    Hi,
    You dont need to call the method from the interface controller when you are in the same component.
    You can call the method which is in the component controller.
    Interface controller is used to expose some methods to a different component.
    Ex Comp a want to expose a method which will be used by comp b then  you need the interface controller in comp a.
    Comp b will use comp a as used component
    then it will invoke the methods.
    Regards
    Ayyapparaj

  • Design question: Interface Controller vs. component controller

    Hello,
    I have a component A. This component has a component controller (compController) and an interface controller (intController).
    Component controller has method compMethod()
    Interface controller has method intMethod()
    - Am i allowed to call intMethod from component controller? ( i'm pretty sure this isnt bad design because this is also done in the tutorial on eventing)
    - Am i allowed to call compMethod from intController or is this bad design?
    - Am i allowed to subscribe compController to event in intController or is this bad design?
    Kind regards,
    Joren

    Hi Joren,
    like Valery already pointed out, we recommend not to implement any logic in the component interface controller but only implement methods used for delegating logic to the component controller. This is based on the fact, that the component interface controller will be implemented by the component controller in the the next major SAP NetWeaver Release. This means that it will not have its own Java class like in NW04 and NW04s. To simplify migration the interface controller code should be as slim as possible by applying the delegation principle.
    You wrote:
    <i>- Am i allowed to call intMethod from component controller? ( i'm pretty sure this isnt bad design because this is also done in the tutorial on eventing)</i>
    Yes, my (very old) tutorial on serverside eventing exposes a public method <i>fireEvent()</i> which is invoked by the component controller. In early versions of NW04 the wdFireEventInnerEvent() method was not exposed in the IPublic-API of the component interface controller but only in the IPrivate-API. Therefore an additional method fireEvent() must be defined to fire the event from another controller. As a negative side effect, this public fireEvent() method is also exposed by the IExternal-API of the component interface  controller so that the event can be fired from outside (by the Embedder component) which is not desired in most cases.
    Meanwhile the wdFire<event name>() method is exposed by the IPublic-API of the component interface controller, so that the public method fire<Event name>() is no longer needed.
    I will update the tutorial in this respect so that it again propagates best practices.
    Regards, Bertram

  • Referenz on interface controller needed

    Hello,
    my COMPONENTCONTROLLER has an interface method which needs to be called outside the web dynpro component. To be more specific: this method needs to be called in an ABAP OO class, not in a using component.
    Therefore I want to transfer a referenz on the interface controller (IWCI_<component>) to the ABAP OO class. But I don't know how to create a referenz on the interface controller (in the component of the interface controller!).
    Best regards, Hergen

    Hi Hergen,
    Below code snippet may help you to acess the interface method of the webdynpro component in an ABAP class.
    lo_interface_controller          TYPE REF TO abap_interface_controller.
    ( to get ABAP  interface name go to webdynpro component interface -> go to  interface controller -> properties-> ABAP Class name,  is the interface which need to be used in the programming )
    lo_interface_controller ?= wd_this.
    ( reference to Component controller of your webdynpro component in which above interface method is being used  )
    lo_interface_controller->interface_method( ).
    now you can use this interface controller's reference to acess the method of that interface.
    I hope this will help you.
    Thanks,
    Prashanth

  • Direct Context Mapping of an interface controller

    Hi all,
        I want get 2 or 3 context attributes from an interface controller of another component. I can see the attributes that I want in the interface controller of the other component. I've been reading SAP documents and other posts and everything is concepts. How can I access those attributes to get the data. I've been reading and it sounds like you can do direct context mapping and external. I'm pretty sure what I need is the direct context mapping. The other component is an SAP component (LO_OIF_MAIN_COMP) and I can not make any interface methods of the component controller. So the only way that I can figure is to either call/make reference to the interface controller and get the attributes... but I can not figure out how to do it. Please help. I've been researching this for several hours now... and in my mind it seems like a pretty concept. Thanks.

    Hi,
    I guess this seems to be WD compoent usage. you can use the steps mentioned in any article for e.g. WD ALV component usage and find out how the context mapping is done.
    refer , http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3439404a-0801-0010-dda5-8c14514d690d?overridelayout=true
    Thanks,
    Chandra

  • Difference between interface view and interface controller

    Hi,
    What is the difference between interface controller and interface view?
    When we will use interface controller and when we will use interface view?
    How do we create an interface view?
    How do we attach this interface view to a view in another component
    Regards
    MQ

    Hi
    Interface View Controllers
    A) Implement event handlers which are called when ..
           -starting (start-up plugs) Web Dypro applications
           -a component is reached via navigation (inbound plugs)
    B) Allow fireing outbound plugs (navigation)
    C) Allow firing exit plug
    D) Have no own context, public methods or events
    Interface Controller of a Component
    The interface controller of a Web Dynpro component contains all context nodes, events and methods of the component controller to which you assigned the Interface addition in the Controller Editor. These parts can be displayed in the interface controller view, although you cannot edit them here.
    Interface Controller of a Component Interface
    A Web Dynpro component interface can be created independently and defined so that it can be implemented later in any components (see working with Web Dynpro Component Interfaces in the Programming Manual of this documentation). That is why in this case you can define the context nodes, methods and events you require in the interface controller view. The relevant implementation then takes place in the component controller of the implementing component.
    Check this links and work on it.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#13 [original link is broken]
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#12 [original link is broken]
    Interface view and interface controller
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f727d100-0801-0010-4cbd-b0ad5c161945
    Difference between custom controller and interface component
    Thanks and Regards,
    Tulasi Palnati

  • Component Interface , INterface controller in WEB UI

    Hi Experts,
    Can anyone tell me what is a component interface, component usage , Interface controller and interface view?
    I am a beginner in WEB UI and is getting confused with these terms.
    Please help.
    Many Thanks,
    Neeraj

    Hi,
    component interface -> interface view:
    Here you can define which Comp/Window should be accessable from outside the component
    For example: COMP_1/MainWindow in component interface means this can be accessed as usage from other component
    component interface -> interface controller:
    In this node there is 2 child nodes: Context and Events:
    I don't know how to use Events. But in Context you can add context node from component controller, which can be accessed from outside. This is specially important, when you want to bind two context nodes from two different components.
    You can see how this can be used in component controller class in the method WD_USAGE_INITIALIZE
    component usage:
    Here you can define a usage of of other component.
    For example: In your COMP_2 you can create a usage from other component (COMP_1/MainWindow).
    Regards,
    Steve

  • Regarding Component interface controller

    hi all
    Can anyone explain me use of Component Interface Controller under Component with example.
    Thanks in advance
    Imityaz

    Hi,
    Interface Controller
    One Web Dynpro Component may declare the use of another Web Dynpro Component to form a u201CParent-Childu201D usage relationship. In such cases, the only point of interaction between the parent and child components is the functionality found in the childu2019s interface controller.
    if an interface controller is part of a component interface, the controller editor is in change mode and the context, the events and the methods can be implemented and edited directly.
    Refer this thread,step by step procedure is there.
    /docs/DOC-8061#61 [original link is broken]
    http://help.sap.com/saphelp_nw70/helpdata/EN/47/45641b80f81962e10000000a114a6b/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/44/0dcafa2d9d1ca2e10000000a11466f/frameset.htm
    Regards,
    Sunaina Reddy T

  • Component controller Vs interface controller

    Hi Experts
    Please state me the difference and similarities between the component controller and interface controller
    Regards
    Noel

    Hi
    Similarities between these two is that both are controller but each having different purpose in the application
    Component Controller
    1.Starting point of any application,(you can't create any app without defining any Component)
    2.Master Controller of the complete Component structure (View ,Model ,interface ,window)
    3.If function defined in Component Controller or Custom Controller it is available to any controller within your  component (Interface, View, Custom) but not available outside.
    Interface Controller
      1. To make Contents outside of the world one separate controller called Interface  Controller come into picture
          whose only task is to exposing of the content to outside.
    take further help from following threads
    1.[Component Controller,Custom Controller,interface controller|Component Controller,Custom Controller,interface controller;
    2. [Basic Question regarding component Controller and component interface|Re: Basic Question regarding component Controller and component interface;
    3.[controllers and components|Re: confused with controllers and components.;

  • Calling a method in the view controller from the component controller

    Hi
    Is there anyway to call a method in the view implementation from the component controller??
    Thanks
    jack

    Thanks for all your replies. I want this kind of a functionality because Im trying to invove a DC (Child DC) from a Parent DC such that the Child DC's view is displayed onto the view container of the Parent DC. I have embedded using 'interface view of a component instance' in the Parent Window and am able to create the component and set usage though the onPlugDefault of the Child View.
    But I observe that when i make a call from the parent, the flow is like this:
    1. The wdDoInit of the Child Component Controller gets triggered first.
    2. Then the wdDoInit of the Child's <b>VIEW</b> gets triggered
    3. and <b>THEN</b> the onPlugDefault of the Child Component Interface View
    What I had actually wanted was to Fire onPlugDefault where Im calling a method LoadData(), after which the Child DC's view must be triggered so it can display the fetched data.
    What is actually happening is the view gets displayed, but no data is displayed in the view.
    Right now I have just given a work around where Im triggering <b>LoadData()</b> of the <b>COmponent COntroller</b> from the <b>wdDoInit</b> of the <b>VIEW</b>.
    Is there a better way to do this? I find it strange that I have to load the Data from the view.
    Thanks
    Jack

  • How to create a method in Interface Controller

    Hi Guys,
            I am working with webdynpro ABAP sample application "Component usage" . There i got a issue like i am not able to create a method in Interface controller. There i am not able to edit anything. Can anybody please let me know how to do that.
                Thanks In Advance
    Regards
    Ravikumar

    Hi Ravi,
              Check This
    If one Web Dynpro component (parent component) needs access to another Web
    Dynpro component (child component) the parent component can declare the use
    of the child component. A specific component usage instance is then created and
    the parent component accesses the functionality of the child component via its
    component interface controller.
    The only parts of a Web Dynpro component that are visible to the user, are the
    interface controller and the interface view(s).
    All Web Dynpro components have only one interface controller. Via the
    interface controller, data, methods, and event handlers can be exposed to
    other components.
    Interface views represent the visual interface of a Web Dynpro component.
    There is a one-to-one relationship between a Window and an interface view.
    Each time a window is defined, a related interface view is automatically
    generated, which makes the window accessible from outside the component.
    The interface view only exposes those inbound and outbound plugs to the
    component user that have the interface property checked. Methods and
    context data of the window are not accessible via the related interface view.
    If the component has no views, there is no need to have Windows. In this
    case, the component will not implement an interface view. Such components
    having no visual interface are known as faceless components.
    Regards
    Sarath

  • IN Compsition Environment: interface controller in web dynpro

    Hi All,
    I've installed NW CE 7.1 and am trying to trigger an event created in the Interface controller. I observed that the methods and the events declared in the interface controller are not accessible in the view level. Has the WD design time concepts undergone a change?. In short, I'm not able to add the Interface controller as a required controller in any of the views that are present inside the same component.
    Any clues on this?
    Regards
    Satish.

    Hi All,
    I've installed NW CE 7.1 and am trying to trigger an event created in the Interface controller. I observed that the methods and the events declared in the interface controller are not accessible in the view level. Has the WD design time concepts undergone a change?. In short, I'm not able to add the Interface controller as a required controller in any of the views that are present inside the same component.
    Any clues on this?
    Regards
    Satish.

  • Question about Intel 82801FBM LPC Interface Controller in a Tecra A3X

    I have had to replace the HDD in a A3X. XP pro sp2 loaded fine and all's well but the device mngr is reporting this Intel 82801FBM LPC Interface Controller as an Unknown Device.
    The Intel Chipset ID Utility identifies this as a component of the Chipset 82915GM/GMS/910 GML
    I have run the Intel software update utility several times with no joy.
    I can find reference's to this driver but cannot find a download for it.
    Like I said the laptop seems to running fine except for this Unknown Device.
    Any suggestions greatly appreciated

    Hi,
    "Dont go to the seas when you can fish from the coast" - quoted the user from another forum which wrote this solution for your problem:
    1)Go into device manager
    2) Right click 82801
    3) Update driver
    4) No, not this time -> next
    5) Install from a specifin location -> next
    6) Dont search I will choose... -> next
    7) From the left box choose Intel and from the right scroll down until you meet this strange 82801FMB.... -> next
    Thats it!
    Thanks to google. :)
    Greets

Maybe you are looking for

  • Install Oracle 9i on Linux

    Hi, I downloaded the source from oracle OTN site and did : 1.      Uncompress the file using "gunzip". Eg.: "gunzip amd64_db_9204_Disk1.cpio.gz" 2.      Extract the file resulting from the step above using "cpio". Eg.: "cpio -idcmv < amd64_db_9204_Di

  • Add a new field for the movement 551

    Hey SAP folks, I am having a situation that while doing the overage receipt(551) in MIGO transaction system having an option to enter the Purchase order number in the screen but not for PO item number. When i went into the config under <b>Field selec

  • E-Mail Sender in

    Hi all, I have the following problem. I send E-Mails for example when a new activity is create and the email get as sender the person who create the activity. But the sender should be always CRM and not a person. Where can I define the sender for e-m

  • Unity Connection 7.x - Best Practice for Large Report Mailboxes?

    Good morning, We have 150 mailboxes from Nurses to give shift reports in. The mailbox quota is 60MB and the message aging policy is on. Deletede messages are deletede after 14 days. The massage aging policy is system wide, and increasing the quota wo

  • Raw file wont open

    adobe photoshop elements 11 wont open my raw files taken on my canon eos 70D. i have updated my soft ware and checked raw file , i have version 7.4.0.137. thanks stew.p