Interface Controller context model attribute error

I am trying to create a controller interface as such:  I created a DC that goes out and retrieves SAP ID using a RFC call.  My controller context is bound to a RFC model.  I'd like to expose the SAP ID that comes back from that call within a model attribute to other components.  I try to create a model node and corresponding model attribute within the Interface Controller, setting the isInputElement = true.  However, as soon as I do this I get a number of compile errors:
"The context model node has not been bound to a model class", "The context model attribute has not been bound to a model property". 
Are you not allowed to map model nodes to an interface?

Karla,
First, set isInputElement to false. Think again, you are exposint "result" outside but not collecting "input" from outer component.
Next, calculated attributes to the rescue here.
Say, in component controller you have 1..1 / 0..1 model node <i>SapIdQuery_Input</i> with 1..1/0..1 child <i>SapIdQuery_Output</i> that holds <i>System_Id</i> attribute, type <i>string</i>.
Now create in component controller context (right below root node) attribute <i>System_Id</i> of type <i>string</i>, set read-only to true and calculated to true. Switch to source editor and write the following for generated attribute "getter":
if (wdContext.currentSapIdQuery_InputElement() != null &&
    wdContext.currentSapIdQuery_OutputElement() != null)
  return (String)wdContext
    .currentSapIdQuery_OutputElement()
      .getAttributeValue("System_Id");
else
  return null;
Now add controller usage (of component controller) in interface controller and map attribute in interface controller to calculated attribute in component controller.
If you expirienced problems with mapping, try to create calculated attribute in 1..1 subnode of root context node.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net

Similar Messages

  • Sending controller context value attributes to web service model

    Hi,
    I have put some parameters (value Attributes) in controller context and mapped to different views. Is there any way by which i can send the values to the web service model , each time the web service is called? like through header or some thing like that??

    Hi Sujesh,
    Read those value attributes in your controller using following code:
    wdcontext.currentContextElement().get<attribute>();
    and then set these value in your web service model.
    <model name> model = new <model name>();
    model.set<attribute>(<value>);
    wdcontext.node<nodename of your web service model>().bind(model);
    wdcontext.current<nodename of your web service model>element().modelobject().execute();
    Regards,
    Bhavik

  • Custom controller context value attribute

    Hello,
    I have a custom controller with one value attribute. In the wdDoInit() method of the custom controller I can not access this attribute using:
    wdContext.currentContextElement().setAttrib()
    Why?
    The same works without any problems using the component controller instead of the custom controller.
    Thanks, cheers,
    Felix

    Hi,
    I have created the custom controller and within that I have created the attribute.
    Now I am able to access the attribute by using thr same code.
    wdContext.currentContextElement().setAge(" ");
    After creation of custom controller you just save all metadata. Then check it.
    I think you will get  the attribute.
    Thanks
    Chandan

  • Context from interface controller

    Hi Experts,
    I am Using one DC A in DC B.
    Using interface controller context mapping I got the Context of DC A in DC B.
    I mapped the context also.
    Now I have added new context node in DC A, I want map it in DC B.
    But I am not able to see the newly added Context of DC A in the interface contrlloer.
    I have done refresh, rebuild and Sync options but no use.
    How can I resolve this?
    Regards,
    Naresh

    Hi,
    Copy and paste the newly created context from component controller to interface controller
    Then do a build.
    Regards
    Ayyapparaj

  • Activation Failed: The context model node has not been bound to a model cla

    Hi Experts,
    I have created a DC for Models and created a DC for the Application.
    Have done all the steps that are required for getting the Model DC into the Application DC.
    Have made all the binding to the Controller and View, But durring the activation, I am receiving an error as given below
    [wdgen] [Info]    Initialize generation templates from configuration jar:file:/usr/sap/NWI/JC63/j2ee/cluster/server1/temp/CBS/22/.B/11457/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelNode Zmm_Bapi_Get_Material_Input [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Im_Maktg [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Im_Werks [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Im_Matnr [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelNode Output [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Info]    XXX.sampledc.CN_SAMPLEDC --> ContextModelNode Output [supplyingRelationRole]: Supply function or supplying relation role missing (Hint: A child node which is not mapped must have either a supplying relation role or a supply function or one of its parent nodes must have a supply function.)
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Ex_Message [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Ex_Flag [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelNode It_Outtab2 [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Info]    XXX.sampledc.CN_SAMPLEDC --> ContextModelNode It_Outtab2 [supplyingRelationRole]: Supply function or supplying relation role missing (Hint: A child node which is not mapped must have either a supplying relation role or a supply function or one of its parent nodes must have a supply function.)
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Picture [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Waers [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Infnr [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Netpr [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Inco1 [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Ekorg [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Lifnr [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Price_Unit [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Maktx [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Name1 [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Filep [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Matnr [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Werks [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Inco2 [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelNode It_Outtab [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Info]    XXX.sampledc.CN_SAMPLEDC --> ContextModelNode It_Outtab [supplyingRelationRole]: Supply function or supplying relation role missing (Hint: A child node which is not mapped must have either a supplying relation role or a supply function or one of its parent nodes must have a supply function.)
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Picture [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Ebeln [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Waers [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Netpr [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Inco1 [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Lifnr [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Price_Unit [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Ebelp [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Name1 [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Filep [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Matnr [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Txz01 [referencedProperty]: The context model attribute has not been bound to a model property
         [wdgen] [Error]   XXX.sampledc.CN_SAMPLEDC --> ContextModelAttribute Inco2 [referencedProperty]: The context model attribute has not been bound to a model property
    Thanks & Regards,
    Palani

    Hi Palani,
    May be something is missed while checking in the activity. This is what you can do:
    1) Note the error.
    2) You will have to forcefully activate the activity since its already checked in.
    3) Create a dummy activity and do the following:
                              Right click on the DC in the Webdynpro Perspective and Click on Repair and chose Project Structure and Classpath.
                              Right click on the DC in the Webdynpro Perspective and Click on Rebuild.
                              Right click on the DC in the Webdynpro Perspective and Click on Reload.
                             Close the DC and then open the DC again.
             Add these files to repository in the following way: Go to DC Perspective Expend the DC node Right Click on the src folder Chose DTR Chose Add Chose
                             Subtree. It will add the changes to the central repository and now if you Checkin the activity and see the results the changes will be effective.
    4) Also map the context attribute once again.
    5) Now check in the activity and try to activate.
    Regards.
    Rajat

  • Unknown attribute error

    Hello
    I am trying to incorporate OVS Help for one of my input field. I checked one pdf related to that and configured based on that.
    When I click on the help button, it gives error
    "com.sap.tc.webdynpro.progmodel.context.ContextException: NodeElement(OVSApplicationView.OrderHeader.0): unknown attribute parameters.aUART "
    This error is coming from function applyInput. The aUART model attribute is inside parameters tag and hence in applicationNodeElement.getAttributeValue i used as paramters.aUART (I also tried without parameters but same result)..
    What attribute we should pass over here?
    Thanks in advance.
    Regards
    Rajeev

    Thanks for the info but I tried that earlier but gave the same error. Let me explain me my scenario.
    I am having web service model to which my custom controller is binded. My application controller is binded to custom controller (here I am having doubt because the custom controller has model attributes and application controller has value nodes.in that case how to bind those?). The custom controller is binded to a view and corresponding input fields.
    In this case I guess since there is no binding between custom controller and application controller, its not able to find the application controller attribute. Please do let me know whether my configuration is correct or I will have to change that.
    Thanks in advance.
    Regards
    Rajeev

  • Activation error : context model node has not been bound to a model class

    Hi All,
    I have DC project, which i am able to run without error, But when i try to activate this DC project, I am getting below error in activation log : Please help me out, It's very urgent...
    [wdgen] [Info]    Generating packages/com/ltli/crtmachineord/models/zp3019_dealer_default_valuesmodel/Zp3019_Dealer_Default_Values_Output.java
         [wdgen] [Error]   com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode Zp3019_Salesorder_Mac_Texts_Input [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Error]   com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode Output_Text [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Info]    com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode Output_Text [supplyingRelationRole]: Supply function or supplying relation role missing (Hint: A child node which is not mapped must have either a supplying relation role or a supply function or one of its parent nodes must have a supply function.)
         [wdgen] [Error]   com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode T_Contract_Note_Text [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Info]    com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode T_Contract_Note_Text [supplyingRelationRole]: Supply function or supplying relation role missing (Hint: A child node which is not mapped must have either a supplying relation role or a supply function or one of its parent nodes must have a supply function.)
         [wdgen] [Error]   com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode Zp3019_Get_Employee_Name_Input [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Error]   com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode Output_Name [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Info]    com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode Output_Name [supplyingRelationRole]: Supply function or supplying relation role missing (Hint: A child node which is not mapped must have either a supplying relation role or a supply function or one of its parent nodes must have a supply function.)
         [wdgen] [Info]    com.ltli.crtmachineord.components.crtmachineordcomp.CustnoView --> Caption grp_equipmentnumber_Header: UIElement does not have a label
         [wdgen] [Warning] com.ltli.crtmachineord.views.longtextview.LongTextView --> TextEdit txe_LongText: UIElement does not have a label
         [wdgen] [Info]    com.ltli.crtmachineord.components.crtmachineordcomp.MatnoView --> Caption grp_equipmentnumber_Header: UIElement does not have a label
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label SalesDocType_Lbl [labelFor]: Value is not valid
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label SalesOrg_Lbl [labelFor]: Value is not valid
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label DistChannel_Lbl [labelFor]: Value is not valid
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label Division_Lbl [labelFor]: Value is not valid
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label SalesOffice_Lbl [labelFor]: Value is not valid
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label SalesGroup_Lbl [labelFor]: Value is not valid
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label Plant_lbl [labelFor]: labelFor is not set
         [wdgen] [Error]   com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> TextView txv_Ename [text]: Context element and property are not compatible
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label lbl_CustNo [labelFor]: labelFor is not set
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label lbl_ConsigneeTo [labelFor]: labelFor is not set
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label lbl_Pin [labelFor]: labelFor is not set
    Thanks
    Sandy

    We could resolved the problem by creating new DC project
    and copying the content of existing Dc project into new DC.
    (Also created new activity for this new DC), Build & Deploy the project.
    Now we are able to activate the new activity without any error.
    Thanks
    Sandy

  • 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

  • Error while genetrating gettter method on Context node attribute

    Hi,
    I am working in SAP CRM 7.0 Ehp1.Now I need to create get_p_a and set_p_a method
    on context node attribute.But while selecting attribute and clicking on right and selecting
    on generate P-Getter,getting an error (error message - View not copied or enhanced with wizard; processing not possible).
    This is a custom context node attribute and need to create gettter,setter method.
    Kindly assist on this or suggest is there any way to create method on required context node attribute.
    Regards
    Viren

    Hi there,
    Creation of Getter  Setter is not possible for the AET Generated Views and Components.
    It seems your view is generated using AET Table enhancement feature of Ehp1 and the context node is thus a based on a Z BOL object created by a feature of AET of Ehp1
    For such context node, generation of getter setters is not  possible with right click.
    If you need any of GET_ , SET_, GET_P_ or GET_V , then you need to copy the GET_P_XYZ etc method you find on context node class.
    Hope this helps
    Thanks & Regards
    Suchita

  • 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

  • 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

  • Problem when mapping  model attribute to dropdownbyindex

    HI
    I am mapping model attribute ( this is mapped to Model field of RFC ) to DropDownbyIndex.
    Once i call BAPI the executed list of values populates into dropdown but it doesn't show first value, instead it puts one extra space in dropdown ( 1 blank by default + 1), when we try to select this blank value it gives error.
    Pl help me solving this issue
    Thanks!

    Hi Ravindra,
    It might be write the all code in BAPI side only.
    After writing the bapi code u can retrive thru only DropdownbyIndex.
    What ever u created means Cusomecontroller or component controller in init() method u created BAPI instance and send input to the BAPI.
    When you setting the paramaeters in init() megtod
    U can do like this.
    bapi input = nwe bapi();
    input.setparametername("firstparameter displaying onthedropdownbox");
    for example
    input.setDoc_type("orders");
    add like this.
    Hope this will help
    nageswara.

  • How to map single context value attribute to multiple value attributes?

    Hello,
    is there any way to map a single value attribute
    from view's context into several value attributes
    in controller's context?
    The business context of what I want to achieve
    is the following: I have a view which can be called
    in two modes: read only (RO) and read-write (RW).
    The input parameters to the view are the same for
    both modes, however when in RO mode, the view calls
    a different set of web services than when called
    in RW mode. Before calling each of the web services
    I need to populate their context value attributes
    with appropriate input values.
    I know I can do it in Java code, but is it possible
    to do it without any programming (doing it in the
    source code is prone to errors)?
    Any help highly appreciated.
    Greetings,
    Tomek.

    Hi Kishore,
    than you very much for your kind help.
    I have already created a value attribute of type
    boolean and mapped it into the read-only property
    of the UI elements. This however does not solve all
    of the problems... I will describe it with an
    example:
    Let's say the form I want to implement will be
    used to: create (read-write mode), update (read-
    write mode) or show (read-only mode) customer's
    data. The customer's data is complex (lots of
    data, including tree structures).
    The problem is that:
    - when the form is called in read-only mode,
      it should populate its fields with values
      provided by the getCustomerData web service,
    - when the form is called to create a new
      customer (in read-write) mode, it should
      not use the getCustomerData web service.
      Instead it should map the input values
      entered by the user into input parameters
      of the createNewCustomer web service,
    - when the form is called to update customer's
      data, it should first display values returned
      by the getCustomerData web service, and then
      it should map the modified values entered by
      the user into input parameters of the
      updateCustomer web service,
    In all the above cases I must map my view's
    context data to different controller's context
    elements. Doing it directly in the source code
    is not a nice solution. Is there any other
    way to achieve this? 
    Calling a form in different modes in not an
    unusual thing, so I was hoping that maybe
    there are any built-in mechanisms that would
    solve the obove problem...
    Greetings,
    Tomek.

  • Interface Controller Issue

    Hi,
    Hope you can help me on this one. We're trying to use an interface controller to use an external Web Dynpro app in our current Web Dynpro project. Whenever we try to do some context mapping in our Wed Dynpro project, it seems that our Web Dynpro project (during build time) fails to identify context of our component controller (it gives an <insert context node name / context objects here> cannot be resolved errors).
    Did anyone experience this error or would anyone know how to resolve this?
    Thanks!
    Angelo

    Hi Angelo,
    Please have a look at below document might helps for your issue In[Inter Application Communication and Navigation (Design Time) in WebDynpro|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ae5f90-1679-2c10-4183-8c64cf932088?quicklink=index&overridelayout=true]
    Suppose there are two DC1 and DC2.
    DC1 having context node XYZ/attrubute available in DC1 component Controller and interface controller and mapped it properly.
    - then build and deploy DC1.
    - Now sync sources and sync used DC for DC2
    - then click on component name of the DC2 and bind interface controller to component controller and drag n drop context node XYZ to component controller.
    - once done then try to re-build and use the contect node XYZ
    Hope it will helps
    Regards
    Arun

  • Attaching OVS to model attribute.

    Hi,
    Can I attach OVS to a model attribute in the view controller? I tried to do it but at runtime I got the error 'must not modify the datatype of a mapped attribute'. Any suggestions...Thanks.

    Hi Guys,
    i have also the same NullPointerException in a Webdynrpo App using a  RFC Model.
    Actually, i'm not a expert in this technology
    @Kalpi
    So, what you mean by reffering to parent element?
    Can you give me an example?
    Actually i fight with this problem until three days, and i've no solution.
    I hope someone can help me! I became totally desperate.
    Thanks
    Best Regards,
    Chris
    Message was edited by: Christian Kleinschroth
    Message was edited by: Christian Kleinschroth

Maybe you are looking for

  • Dynamics CRM usage of CRMAF_ filters in sub reports

    Have a main SSRS report which uses CRM pre filtering via the "CRMAF_" prefix, this report calls a sub report which needs to use the same pre filtering as selected and applied via the main report. The sub report is a summary total presenting the infor

  • Can I use Adobe Creative Suite 5.5 Master Collection Edition for Commercial Purposes?

    The title says all. Can I use the student edition of Creative Suite Master Collection CS5.5 for business and commercial purposes? I will use it to create a website for my mother's business, possibly a trailer, a logo, and art along the way. Also, I w

  • WebDynpro Abap test failed (System admin/suport)

    Hello, I'm using EP 7.0 and I'm trying to test travel&expenses (Ehp3) WD for Abap from System Admin/Support Desk: Integration of SAP Applications/WebDynpro and we get the following error: Exception in SAP Application Integrator occured: Unable to par

  • Safari Bookmarks Question

    I do not sync my mac's bookmarks with my iphone since I don't need all those on the phone. I've gradually added web sites that I want to follow in bookmarks. I know how to move individual ones up or down in the list and of course how to delete them b

  • I Dont get it! DMG doesnt open

    Ok, I must be missing a step here. I burned a DMG of my iDVD project. Now what? Ive tried viewing it on my computer DVD player. It doesnt work. No point in burning this to DVD as far as I can see. What good does it do to create a disk image if you ca