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

Similar Messages

  • Software needed for the USB device, "USB Interface Controller TEST2.0"

    My mother recently acquired a digital camera. She acquired it from a second-hand store, which did not include an interface cable or software. The manual (and the USB port on the camera) indicates that a male-male USB cable is necessary for photos to be copied to the hard drive.
    I was not successful in locating such a cable at any local electronics store (I assume such a cable is now out-of-date). I purchased one from a seller on eBay. The brand is "e circuit electronics".
    Upon powering up the camera with the cable connected to it and the computer, the following message appeared:
    "Software needed for the USB device "USB Interface Controller TEST2.0" is not available. Would you like to look for the software on the Internet?"
    I clicked "Yes". After an approximate two-minute wait, another message appeared stating:
    "Software Update is not able to connect to the Internet. Please check your configuration and try again."
    I deleted, "Software Update Preferences" in the Preferences folder inside the System Folder, without solving the problem. How do I solve the issue of allowing Software Update to connect to the Internet?

    Thank you for your continued assistance, BDAqua. Unfortunately, the driver you linked to does not seem to be compatible with the camera. It is a driver for the V20 model, whereas my model would correspond to be a V2755, as referenced from a list of other Vivicam models when during a search at the Open Drivers web site.
    From the system requirement about the card reader you gave me, it will not work, as this system is running 9.1. I am hesistant to upgrade this computer to 9.2, as I have experienced system unstability with that version, with even the 9.2.2 update applied.
    In the mean time, I have e-mailed Vivitar regarding this issue, but have as of yet received a reply.
    I am not certain as to other specifics to give you, in order to solve the Software Update problem. Please elaborate.
    Yes eww, the computer in question is able to fully connect to the Internet for all that I need. I am fully aware of the difference between a computer connecting to the Internet, and a computer connecting to a digital camera. I have 15 years of Macintosh experience.

  • 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

  • Using Interface controller in OCA application

    Hi,
    My requirement is to pass information and screen control between two components in two different DCs.
    My parent DC Component has to pass information to my child DC Component and also call the view assembly of the child DC.
    I am using CE7.1 SP07 PAT003.
    In my child DC I have created a component Interface Definition say ChildInterface. In the context of interface controller of ChildInterface I have added a string attribute. ChildInterface also has a view container.
    Now in my Child component I add ChildInterface as my Implemented Interface. I map the window of the child component to the ChildInterface. To the view container I add the default view of the component.
    Now I have created a public part and added the ChildInterface as an entity.
    I add a dependency in my Parent Component to this child DC's public part.
    At design time I can access my ChildInterface's context from my parent component. However, while adding a link from parent default view to ChildInterfaceView, it gives me an error. however on reload it suppress the error but doesnt open the java editors.
    While trying to deploy the applications it gives me a deployment failure message.
    Following is the trace-
    <r id="1240744927041" t="16:52:07" d="2009-04-26" s="E" c="000" u="" g="" m="Missing app.xml in component C:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.tc.mobile.dt.oca.rt\MI\bin\..\inbox\demo.sap.comparentimplementation\demo.sap.comparentimplementation.wdl">
    <f n="LocationName" v=" (com.sap.tc.mobile.cfs.deploy.oca.OCADeployer:OCADeployer)"/>
    <f n="ThreadName" v="main"/>
    </r>
    <r id="1240744927042" t="16:52:07" d="2009-04-26" s="E" c="000" u="" g="" m="Deployment of Mobile Component parent(1.0) failed --&gt; java.io.IOException: Missing app.xml in component C:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.tc.mobile.dt.oca.rt\MI\bin\..\inbox\demo.sap.comparentimplementation\demo.sap.comparentimplementation.wdl
         at com.sap.tc.mobile.cfs.deploy.oca.OCADeployer.deploy(OCADeployer.java:81)
         at com.sap.tc.mobile.cfs.deploy.DeploymentManager.processDeploymentStatusObjects(DeploymentManager.java:550)
         at com.sap.tc.mobile.cfs.deploy.DeploymentManager.processInbox(DeploymentManager.java:197)
         at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init(FrameworkInitializer.java:192)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.tc.mobile.cfs.startup.pda.Startup.main(Unknown Source)
    ">
    <f n="ThreadName" v="main"/>
    </r>
    <r id="1240744927695" t="16:52:07" d="2009-04-26" s="E" c="000" u="" g="" m="Resourcebundle sap.comtcmobilewdlitecontainer could not be found. Trying to use the default bundle.">
    <f n="LocationName" v=" (com.sap.tc.mobile.wdlite.renderer.exception.OCAExceptionLocalizeHelper:)"/>
    <f n="ThreadName" v="main"/>
    </r>
    <r id="1240744927696" t="16:52:07" d="2009-04-26" s="E" c="000" u="" g="" m="Internal Error. Please check the log file. --&gt; java.lang.NoSuchMethodException: com.sap.tc.mobile.wdlite.framework.Start.setUpSystemMenu()
         at java.lang.Class.getMethod(Class.java:1581)
         at com.sap.tc.mobile.wdlite.progmodel.core.Application.resetSystemMenu(Application.java:260)
         at com.sap.tc.mobile.wdlite.progmodel.core.Application.enter(Application.java:242)
         at com.sap.tc.mobile.wdlite.progmodel.core.Application.setCurrent(Application.java:119)
         at com.sap.tc.mobile.wdlite.progmodel.core.Application.launch(Application.java:143)
         at com.sap.tc.mobile.wdlite.progmodel.core.Application.launch(Application.java:175)
         at com.sap.tc.mobile.wdlite.progmodel.core.WDLite.launchApplication(WDLite.java:334)
         at com.sap.tc.mobile.wdlite.framework.Start.runOnContext(Start.java:580)
         at com.sap.tc.mobile.wdlite.framework.Start.startApplication(Start.java:604)
         at com.sap.tc.mobile.wdlite.framework.Start.startContainer(Start.java:641)
         at com.sap.tc.mobile.cfs.framework.spi.FrameworkManager.startContainer(FrameworkManager.java:259)
         at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init(FrameworkInitializer.java:230)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.tc.mobile.cfs.startup.pda.Startup.main(Unknown Source)
    ">
    <f n="ThreadName" v="main"/>
    </r>
    <r id="1240744927697" t="16:52:07" d="2009-04-26" s="E" c="000" u="" g="" m="Internal Error. Please check the log file.">
    <f n="LocationName" v=" (com.sap.tc.mobile.wdlite.renderer.exception.OCAExceptionHandler:)"/>
    <f n="ThreadName" v="main"/>
    Please help.
    Regards,
    Nisha

    please do attach the trace files..
    Meanwhile , just check the way you have implemented the interface and the interface defintion of achild node are correct.
    Once the implementations are correct,there should not be problem in deployment.
    Let us know if you need more info on interface definton creation ...
    Regards,
    Lakshmi
    Edited by: Lakshmi Reddi on May 28, 2009 6:03 AM

  • Map context node  web dynpro to context DATA of  interface controller ALV

    Hi Experts,
    I have started creating simple ALV by following the example in the below mentioned link.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3439404a-0801-0010-dda5-8c14514d690d
    I have completed 95% development but stuck with last bit of
    Set data to ALV for display (via reverse context mapping).
    When Click on the Controller Usage button. The component controller of your Web Dynpro component DOES NOT appears on the right side of the screen.
    Therefore I can not  Map context node NODE_FLIGHTTAB of your Web Dynpro component to context DATA of the interface controller of the ALV component.
    Could you please shed me light on this.
    Your time and help much appreciated.
    Best Regards
    CB

    Hi Chandra,
    You need to add component controller first. Just go to the property tab of interface controller of the alv component and click on create button and then add the component controller. After that you'll be able to see the node in the context tab.
    Regards
    Arjun

  • Change plug to interface controller in Netweaver 7.1

    hi ,
             We are moving to Netweaver 7.1 . Current my webdynpro application is hvng plug firing through interface controller . I hv read tht in 7.1 interface controller is abstract so tht we cnt fire plug from interface controller. I want to know how my my application ging to work in 7.1 Also where i need to make changes in case of firing plug in interface controller. Please also send me links on this topic.Thnx in advance.

    HI Kavita,
    There is no problem for fire plugs .in you application. As 7.1 supports backward compatibility.
    If you want to migrate your application then you need to take care whatever coding you have done in interface controller.
    and as plugs are defined in interface view controller. when migrating it will be converted according to new 7.1 structure.
    please refer
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40af00ad-8080-2a10-88b5-cc4cec99d8ac

  • Code example using interface controller ?

    Hi, guys:
    I have a question.
    In CRM UI, I need to integrate one component with another component, and I want to pass the value from 1st component to 2nd component using interface controller. Does any one who have done this before and have a code example?
    Really appreciate!
    Eric

    Hi Eric,
    Refer:
    [http://forums.sdn.sap.com/thread.jspa?threadID=2014259|http://forums.sdn.sap.com/thread.jspa?threadID=2014259]
    [http://forums.sdn.sap.com/thread.jspa?threadID=1909625|http://forums.sdn.sap.com/thread.jspa?threadID=1909625]
    Regards,
    Leon

  • Interface Controller does not exist

    Having implemented Compliance Calibrator 5.3, I've configured the JCo and am getting the following error message below.
    WARNING: *** Job Exception: Interface Controller does not exist for Component Instance VirsaXSR3_02 in Component Usage VirsaXSR3_02
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Interface Controller does not exist for Component Instance VirsaXSR3_02 in Component Usage VirsaXSR3_02
    I have searched the forum and found only one other message pertaining to this issue.  I need to figure out how to address this error.  Here is what I have done already:
    1. Tested the JCo - it tested and pinged properly
    2. Tested the RTA user - the user has the necessary authorizations
    I'm considering deleting and recreating the connector, but I don't see the point as the connector obviously connects to the backend.  I know this because I had some RFC errors that disappeared when I granted the authorizations to the user specified in the JCo.
    Please let me know.
    Thanks,
    Santosh

    Here you go.
    Row     VSYSKEY SYSNAME SYSTYPE SYSCON1 SYSCON2 SYSCON3 SYSCON4 SYSCON5 STATUS  MGMTRLVNT       SYSCON6 SYSCON7 SYSCON8 SYSCON9 EXTOBJ
    1       SANDBOX1        SB1     SAP     JCO     VIRSAXSR3_01_MODEL      VIRSAXSR3_01_METADATA   JAVA            0       0       rdgspd2s                                N     
    2       SB3     SANDBOX3        SAP     JCO     VIRSAXSR3_03_MODEL      VIRSAXSR3_03_METADATA   JAVA            0       0       rdgspd2s                                N     
    3       SANDBOX2        SB2     SAP     JCO     VIRSAXSR3_02_MODEL      VIRSAXSR3_02_METADATA   JAVA            0       0       rdgspd2s                                N     
    4       SANDBOX Sandbox environments    LSYS    SANDBOX SANDBOX                         0       1                                             
    5       SB2_RE  SB2_RE  SAP     JCO     VIRSAXSR3_01_MODEL      VIRSAXSR3_01_METADATA   JAVA            0       0       rdgspd2s                                N     

  • 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

  • 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

  • Windows 7 and DV6500t (ICH8M LPC Interface Controller)

    I recently loaded (via dual boot) Windows 7 onto my HP dv6500t.  All went fine and all is working OK except for one issue.  In Device Manager, I have one unknown device.  Looking at its properties, it shows a location of: "ICH8M LPC Interface Controller - 2815" and the driver is unavailable.  I tried to use sp36881 (Intel Chipset Installation Utility for ICH8) from HP's site and this did not work.  Any help?
    Message Edited by MagicPinball on 09-15-2009 09:00 AM
    This question was solved.
    View Solution.

    HP Quick Launch Buttons here
    ** Say thanks by clicking the "Thumb up" icon which is on the left. **
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **

  • 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.

  • Intel(R) 82801GB/GR (ICH7 Family) LPC Interface Controller - 27B8

    Intel(R) 82801GB/GR (ICH7 Family) LPC Interface Controller - 27B8
    The drivers for this device are not installed. (Code 28)
    There are no compatible drivers for this device.
     DVD / CD RW not working. 2 different drives  installed together . Duel Roms not running media but are seen in My Computer.

    Try the suggestions outlined in
    this post.
    Carey Frisch

  • 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

  • Xorg freezes often!

    Hi all, is there any solution, workaround or fix for the Xorg freeze bug? Description: Xorg freezes often, no mouse (or mouse very slow), no keyboard, cold reboot required! Additional info: System: ArchLinux i686, 32bit Current packages: kernel 3.3.2

  • F4 for field in clasical report

    Hi abapers i have one clasical report in that selection screen field crhd-arbpl(work center) d't have serch help. i wrote a program for it in that i used 'F4IF_INT_TABLE_VALUE_REQUEST' function module. but it is displaying output directly. when i pre

  • Safari 6 and going to site directly

    I don't mind the new single search bar but object to the fact I can't always get directly to a site. I types usps, usps.com even www.usps.com and was only able to get to the google seach. Yes the postal service site was on top but it was muh easier p

  • What is the best actual size and resolution to save photos to put on your iPhone?

    What is the best actual size and resolution to save photos to be easily viewed on IPhone?

  • ALV output with different Titles

    Hi, I have one requirement,that we have set of radibuttons in selection screen. when we are selecting that radiobutton ALV out put will be displayed. but user wants the description of the selected radio button in Menu Title Bar of AlV out put. can an