Skip to Content
author's profile photo Former Member
Former Member

what is interface controller ?

How to create INTERFACE CONTROLLER ans what is the use of interface controller.

-I never see an option to create INTERFACE CONTROLLER

-But in standard components i have seen INTERFACE CONTROLLER how he had created

Some where i seen the purpose of INTERFACE CONTROLLER is to use the data one component in another component....but for that we have COMPONENT CONTROLLER, Then what is exact requirement for INTERFACE CONTROLLER.

Plese very helpful to many people if anyone clear it.

Thanks In Advance

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 01, 2012 at 08:16 PM

    Hello Shiva

    No we do not create an interface controller, like a component controller an interface controller is only available once for each UI Component.

    A component( Embedded ) can publish context nodes, Events, and Interface views (Windows) to an Embedding component

    Publishing the context nodes allows users to access UI Component data in read/write Mode.

    Publishing a window as an interface view enables the Embedding Component to use the visual parts of an embedded component & the UI Component events enable other UI Components to be informed about status change

    These elements (context nodes, events and interface views ) are provided declaratively by the Interface controller which facilitates access to a UI component using a usage object.

    Consider the Example of publishing the context node of an embedded componet (say component X1) in the embedding component say X2

    Go to the runtime repository of X1

    Select 'context' under the interface controller

    right click on it

    Add your context node (say BUILEMP)


    Now we'll see how we can access BUILEMP in Component X2

    Go to the runtime repository in component X2

    select .component usage'.

    right click on it

    Add Component usage ( Used component X1)

    Interface view = Main window

    Check & Save.


    Now in the component controller class of component X2

    Implement "WD_USAGE_INTIALIZE" Method

    Case iv_usage-> usage_name

    WHEN 'X1'

    iv_usage-> bind_context_node


    iv_controller_type = cl_bsp_wd_controller=> co_type_component

    iv_target_node_name = 'BUILEMP'

    iv_node_2_bind = 'BUILEMP' .


    Hope this Helps



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for reply...

      What ever you explained example We can do this with help of component controller without using interface controller,Then what is scenario exactly when interface controller should use...And Is there any difference between interface controller and component controller....

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.