How to use the com.sap.tc.webdynpro.progmodel.api.IWDView?

hi,
   In every view, the "com.sap.tc.webdynpro.progmodel.api.IWDView view" is the parameter of the mothed wdDoModifyView(). I wonder, if we can make type com.sap.tc.webdynpro.progmodel.api.IWDView parameter in other methods which are designed by ourself. Thank you!

Hi Daniel,
This method wdDoModifyView will be raised every time the view is changed or refreshed (i.e. button pressed, drop down selected). This should cover all cases where you need IWDView, personally I can't think of another case where you need this parameter.
As far as I know it is not possible but even if it is it's not recommended.
But perhaps I'm wrong, I'll be happy to hear more opinions from more experienced SDNers...
Roy

Similar Messages

  • How to get a "com.sap.tc.webdynpro.progmodel.api.IWDView" object

    hi,everybody,
         As we all know, there is a com.sap.tc.webdynpro.progmodel.api.IWDView object in wdDoModifyView() parameters.We can use the IWDView object in the method or after the method.But in my project, I want to use the IWDView object before wdDoModifyView() method.I don't know how to create a IWDView object. Would you please help me.Thank you!

    Hi daniel,
                   wdModifyView is called by framework while rendering the view &  IWDView is used for it. Before wdDoModifyView its not possible according to me , may be u can check with armin.
    Hi Manoj,
                   First of all, even if u declare a variable , u can't initializae it before weDoModifyView. Apart from that its always suggested , not to access the IWDView outside the wdModifyView . i think that's why wdDoModifyView is static & called everytime ,u do anything with the view.
    regards
    Sumit

  • How toadd com.sap.tc.webdynpro.programmodel.api.IWDNode returntype tomethod

    Hi,
    can u tell me how to create supply function???
    i just gone through the PDF(Advanced Input Help - The Object Value Selector (OVS))
    In that he created supplufunction and 4 methods
    1)getOVSInputNode-com.sap.tc.webdynpro.programmodel.api.IWDNode
    2)getOVSListener-com.sap.tc.webdynpro.programmodel.api.IWDOVSContextNotificationlistener
    3)getOVSOutputtNode-com.sap.tc.webdynpro.programmodel.api.IWDNode
    4)SwithchOVSListener-String
    Can u plz tell me how to get these return types and how to create supply function just by clicking new in methods tab

    Hi Padma
    Follow These Steps of Implementing <i>Object Value Selector</i>
    <u><b>Component Controller</b></u>
    Create the Following Contexts in Component Controller
    Node1(Name,Location)
    Node2(Name,Age,Location)
    Source(Name,Age,Location)
    /*All are Type String*/
    Add the Following Code in Component Controller
    public void wdDoInit()
        //@@begin wdDoInit()
        String name[] = {"Arun","Boopathi","Bala"};
        String age[] = {"24","22","24"};
        String location[] = {"Erode","Gobi","Gingee"};
        IPublicOVS_Model_Comp.ISourceElement ele;
        for(int i=0;i<name.length;i++)
             ele = wdContext.nodeSource().createSourceElement();
             ele.setName(name<i>);
             ele.setAge(age<i>);
             ele.setLocation(location<i>);
             wdContext.nodeSource().addElement(ele);
        //@@end
    <b>Create a inner Class called ovslist between the begin and others in the Component controller which is found at the end of the code. If you created somewhere the coding will be lost. After creating the class type app and pres ctrl space you will be shown the list of api's with apply input values, on querry and apply result</b>
    //@@begin others
      public class ovslist implements IWDOVSContextNotificationListener
           /* (non-Javadoc)
          * @see com.sap.tc.webdynpro.progmodel.api.IWDOVSContextNotificationListener#applyInputValues(com.sap.tc.webdynpro.progmodel.api.IWDNodeElement, com.sap.tc.webdynpro.progmodel.api.IWDNodeElement)
         public void applyInputValues(IWDNodeElement applicationNodeElement,IWDNodeElement queryInputNodeElement)
              // TODO Auto-generated method stub
              queryInputNodeElement.setAttributeValue("Name",applicationNodeElement.getAttributeAsText("Name"));
              queryInputNodeElement.setAttributeValue("Location",applicationNodeElement.getAttributeAsText("Location"));
         /* (non-Javadoc)
          * @see com.sap.tc.webdynpro.progmodel.api.IWDOVSContextNotificationListener#onQuery(com.sap.tc.webdynpro.progmodel.api.IWDNodeElement, com.sap.tc.webdynpro.progmodel.api.IWDNode)
         public void onQuery(IWDNodeElement queryInputNodeElement,IWDNode queryOutputNode)
              // TODO Auto-generated method stub
              IPublicOVS_Model_Comp.INode1Element input = (IPublicOVS_Model_Comp.INode1Element)queryInputNodeElement;
              IPublicOVS_Model_Comp.INode2Node output = (IPublicOVS_Model_Comp.INode2Node)queryOutputNode;
              String str_name = queryInputNodeElement.getAttributeAsText("Name");
              String str_location = queryInputNodeElement.getAttributeAsText("Location");
              String name_str = " ";
              String location_str = " ";
              String age_str = " ";
              boolean one,two;
              for(int i=0;i<wdContext.nodeSource().size();i++)
                   one = two = true;
                   name_str = wdContext.nodeSource().getSourceElementAt(i).getName();
                   location_str = wdContext.nodeSource().getSourceElementAt(i).getLocation();
                   age_str = wdContext.nodeSource().getSourceElementAt(i).getAge();
                   if(str_name.length()!=0)
                        one = str_name.matches(name_str);
                   if(str_location.length()!=0)
                        two = str_location.matches(location_str);
                   if(one && two)
                        IPublicOVS_Model_Comp.INode2Element ele = output.createNode2Element();
                        ele.setName(wdContext.nodeSource().getSourceElementAt(i).getName());
                        ele.setAge(wdContext.nodeSource().getSourceElementAt(i).getAge());
                        ele.setLocation(wdContext.nodeSource().getSourceElementAt(i).getLocation());
                        wdContext.nodeNode2().addElement(ele);
         /* (non-Javadoc)
          * @see com.sap.tc.webdynpro.progmodel.api.IWDOVSContextNotificationListener#applyResult(com.sap.tc.webdynpro.progmodel.api.IWDNodeElement, com.sap.tc.webdynpro.progmodel.api.IWDNodeElement)
         public void applyResult(IWDNodeElement applicationNodeElement,IWDNodeElement queryOutputNodeElement)
              // TODO Auto-generated method stub
              IPrivateOVS_Model_View.IView_DisplayElement disp = (IPrivateOVS_Model_View.IView_DisplayElement)applicationNodeElement;
              IPublicOVS_Model_Comp.INode2Element out = (IPublicOVS_Model_Comp.INode2Element)queryOutputNodeElement;
              disp.setAttributeValue("Name",out.getAttributeAsText("Name"));
              disp.setAttributeValue("Age",out.getAttributeAsText("Age"));
              disp.setAttributeValue("Location",out.getAttributeAsText("Location"));     
      //@@end
    <b>Create a method ovslistener with the return type , while creating the method chosse return type in that select java native type and click browse,you will be showned a window Java Native Type Selection in that type IWDovscontextnotificationlistener and select that return type displayed click ok</b>.
    public com.sap.tc.webdynpro.progmodel.api.IWDOVSContextNotificationListener ovs_listener( )
        //@@begin ovs_listener()
        ovslist ovslist_obj = new ovslist();
        return ovslist_obj;
        //@@end
    <u><b>View Controller</b></u>
    Create the Following Context
    View_Display(Name,Age.Location)  /* All are type String only */
    Create the UI Elements for the Name age location
    public void wdDoInit()
        //@@begin wdDoInit()
        IWDAttributeInfo info[] = {wdContext.nodeView_Display().getNodeInfo().getAttribute("Name"),wdContext.nodeView_Display().getNodeInfo().getAttribute("Location")};
        IWDOVSContextNotificationListener obj = wdThis.wdGetOVS_Model_CompController().ovs_listener();
        WDValueServices.addOVSExtension(" ",info,wdThis.wdGetOVS_Model_CompController().wdGetContext().nodeNode1(),wdThis.wdGetOVS_Model_CompController().wdGetContext().nodeNode2(),obj);
        //@@end
    public static void wdDoModifyView(IPrivateOVS_Model_View wdThis, IPrivateOVS_Model_View.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
        IWDAttributeInfo name = wdThis.wdGetOVS_Model_CompController().wdGetContext().nodeNode1().getNodeInfo().getAttribute("Name");
        name.getModifiableSimpleType().setFieldLabel("Name");
        IWDAttributeInfo location =wdThis.wdGetOVS_Model_CompController().wdGetContext().nodeNode1().getNodeInfo().getAttribute("Location");
        location.getModifiableSimpleType().setFieldLabel("Location");
        //@@end
    <b>Let me know You Understand My Code or Not
    Regards
    Chandran</b>

  • Com.sap.tc.webdynpro.progmodel.context.ContextException

    Hi Everybody,
    I am getting the below mentioned error, while deploying the application. I am trying to get some values from backend to display it in a dropdownKey. So I am giving an GroupID and UserID in my wdDoinit().
       com.sap.tc.webdynpro.progmodel.context.ContextException: DataNodeInfo(AuditRepCompView <VIEW NAME>): cannot modify Groupid <MODEL ATTRIBUTE> because it is mapped and there is no active NodeElement to take the value
    Regards/Guru

    hi jhansi,
    I didn't use any model attribute. i just create 2 attribute from the context. after tat, i mapped those two attributes to the relevant context element.
    But after i rebuilt & deploy my application, it show this error: com.sap.tc.webdynpro.progmodel.context.ContextException: DataNodeInfo(StartView): cannot modify pwd because it is mapped and there is no active NodeElement to take the value
    Can u pls tell me wad this error means?
    Thanks & Rgds,
    Angie

  • Exception:com.sap.tc.webdynpro.progmodel.context.ContextException: NodeElem

    Hi Experts,
    I am consuming RFC to my webdynpro java application. The rfc takes some input values and returns some output vaules.
    In the application I had taken model to my component and mapped ( model --> component --> view ). i created Application and deployed it. it is giving the following Exception.
    com.sap.tc.webdynpro.progmodel.context.ContextException: NodeElement(.ComponentOne.Zbapi_Material_Create_Input): model node element cannot be created without a model instance
        at com.sap.tc.webdynpro.progmodel.context.ModelNodeElement.<init>(ModelNodeElement.java:63)
        at com.sap.demo.sample.wd.comp.componentone.wdp.IPublicComponentOne$IZbapi_Material_Create_InputElement.<init>(IPublicComponentOne.java:357)
        at com.sap.demo.sample.wd.comp.componentone.wdp.IPublicComponentOne$IContextNode.doCreateElement(IPublicComponentOne.java:55)
        at com.sap.tc.webdynpro.progmodel.context.NodeInfo.createElement(NodeInfo.java:1269)
    Here actually it had to display the input screen (default view page )but while loading the starting page it gives the above exception.
    I searches lot of forums, but they are related to particular inputfields, but here it is not that scenario, i am not using any fields here just to display the view page. I don't know exactly what was the mistake, Help me please if you know.
    Regards,
    Pradeep Kumar

    Hi Pradeep,
    Did you checked that all the requierd code has been genarated or not in component controller?
    If you use apply template--> servicee controller some times service controller will not genarate the requierd code.
    check in the wdDoInit() method whether the following code has been genarated or not.
    if not wirte tht code.
        //$$begin Service Controller(17224717)
        WSTest model = new WSTest();
        wdContext.nodeRequest_EmployeeDeatilsByType().bind(new Request_EmployeeDeatilsByType(model));
        //$$end
    Revert back if you have any quaries.
    Thanks & Regards,
    Bhargava.

  • Java.lang.ClassCastException: com.sap.tc.webdynpro.progmodel.context.Modifi

    Hi All,
    when i try to run a sample adobe webDynpro application i am getting this error -
    1) One text filed on adobe form .
    2) Mode used is generate PDF
    Please look into it and through some light to resolve this .
    <b>Root Cause</b>
    The initial exception that caused the request to fail, was:
       java.lang.ClassCastException: com.sap.tc.webdynpro.progmodel.context.ModifiableSimpleType
        at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.modifyDataType(InteractiveForm.java:861)
        at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:248)
        at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)
        at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
        ... 27 more
    <u><b>Detailed Error Information
    Detailed Exception Chain</b></u>
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  GENERATEPDF
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:396)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: java.lang.ClassCastException: com.sap.tc.webdynpro.progmodel.context.ModifiableSimpleType
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.modifyDataType(InteractiveForm.java:861)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:248)
         ... 30 more
    Regards,
    Nanda

    Hi Narasimha,
    Please check the context node/attribute binding which used in webdynpro screen layouts.
    Hope it will helps
    Regards
    Arun Jaiswal

  • Where to find 'com.sap.tc.webdynpro.repository.api' file in EP server

    Hi All,
    I am getting below exception while deploying a custom component in sand-box server.
    Failed to deploy application freescale.com/c_uwl for deployment state listener com.sap.tc.webdynpro.serverimpl.wdc.repository.RepositoryContainerHook.
    [EXCEPTION]
    com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Failed to deploy the file '/usr/sap/RIA/JC30/j2ee/cluster/server0/./temp/webdynpro/public/freescale.com/c_uwl/webdynpro/ComponentInterfaces/com.sap.netweaver.bc.uwl.ui.UWLCustomDetail/UWLCustomDetail.xml' into the database. Reason: Development Object 'sap.com/tckmcbc.uwl.ui~wd_ui' contains already same repository content. Hint: fully qualified name of the repository VMO must be globally unique.
            at com.sap.tc.webdynpro.repository.deploy.RepositoryUpdateManager.checkVMOsExistInOtherDC(RepositoryUpdateManager.java:504)
            at com.sap.tc.webdynpro.repository.deploy.RepositoryUpdateManager.deployRepositoryContent(RepositoryUpdateManager.java:98)
            at com.sap.tc.webdynpro.serverimpl.wdc.repository.RepositoryContainerHook.onDeploy(RepositoryContainerHook.java:232)
    It seems it is using checkVMOsExistInOtherDC method from RepositoryUpdateManager.java file.
    I want to remove this method from that java file.
    Can any one please tell me at which location in server i can find that RepositoryUpdateManager.java file.
    Or from where i can find 'com.sap.tc.webdynpro.repository.api'  file, so that i can trace that jave file.
    Regards,
    Sambaran Chakraborty

    Jiandong,
    Add the required jar webdynprobasesvrc.jar file from follwoing path and check if the imports are added correctly.
    C:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.tc_.wd_.basesrvc_1.0.0.071030103936\lib
    Chintan

  • Nullpointer on com.sap.tc.webdynpro.progmodel.controller.MessageManager

    Dear all,
    i have two web dynpro components, say A and B.
    A is using component B.
    When i push a close button in B, i do the following things:
    1. wdComponentAPI.getMessageManager().reportWarning("Some warning!!!");
    2. wdThis.wdGetICLRequestDetailsController().leaveRequestDetails();
    This leaveRequestDetails() fires a plug (standard) to leave back to my component A and component A deletets the componentUsage when needed... ( if(hasActiveComponent()) )
    Component B has a view with an inputfield for an amount (bigdecimal). When this has valid input and i push the button and execute 1. and 2. everything works fine and i see the warning on the view of my comp. A.
    When i put invalid input in the amount field ( for example some characters) and i push the button, i see an error message on my view in comp. B. (automatic validation)
    When i correct the input and push the submit button again while the previous error message is still visible on the screen (so there's no event trigerred since the automatic validation), i get the following nullpointer exception on calling the deleteComponent method in component A:
    java.lang.NullPointerException
    +     at com.sap.tc.webdynpro.progmodel.controller.MessageManager.setAttributeValidbyContext(MessageManager.java:656)+
    +     at com.sap.tc.webdynpro.progmodel.context.NodeElement.clearPendingInput(NodeElement.java:297)+
    +     at com.sap.tc.webdynpro.progmodel.context.NodeElement.exit(NodeElement.java:132)+
    +     at com.sap.tc.webdynpro.progmodel.context.Node$ElementList.exit(Node.java:1859)+
    +     at com.sap.tc.webdynpro.progmodel.context.Node.clearElements(Node.java:1560)+
    +     at com.sap.tc.webdynpro.progmodel.context.Node.forgetDataNode(Node.java:1733)+
    +     at com.sap.tc.webdynpro.progmodel.context.Node.exit(Node.java:295)+
    +     at com.sap.tc.webdynpro.progmodel.context.Node.exit(Node.java:306)+
    +     at com.sap.tc.webdynpro.progmodel.context.Context.exit(Context.java:53)+
    +     at com.sap.tc.webdynpro.progmodel.controller.Controller.exit(Controller.java:161)+
    +     at com.sap.tc.webdynpro.progmodel.view.View.exitController(View.java:403)+
    +     at com.sap.tc.webdynpro.progmodel.view.View.exitController(View.java:435)+
    +     at com.sap.tc.webdynpro.progmodel.controller.Controller.exit(Controller.java:154)+
    +     at com.sap.tc.webdynpro.progmodel.view.ViewManager.exit(ViewManager.java:125)+
    +     at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.exit(ClientComponent.java:211)+
    +     at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.deleteComponent(ClientComponent.java:195)+
    +     at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.deleteComponent(ComponentUsage.java:199)+
    When i do the same again, but without reporting the warning before leaving comp B, i don't get the nullpointer exception and can continue interacting on my view in component A.
    Can anyone tell me what's the cause for this nullpointer? is it a bug?
    Kind regards.
    J.

    The following is a working solution for me:
    MessageManager mManager = (MessageManager)wdComponentAPI.getMessageManager();
    mManager.reset();
    I have put these lines right before i call the deleteComponent() method in my web dynpro component A.

  • Com.sap.tc.webdynpro.progmodel.context.ContextConfigurationException:

    Hi All,
    While trying to deploy webdynpro application in NWDS 7.3.1 i get the below exception.
    com.sap.tc.webdynpro.progmodel.context.ContextConfigurationException:
    NodeInfo(path=Sample_Comp/Custom_Search.Sample_Data_Input.T_data, class="com".sap.tc.webdynpro.progmodel.context.DataNodeInfo): structure field Name1 not found
    But I have reimported the function module Sample_Data and i see name1 structure in T_data table in Custom_Search controller.
    Please help me to sort this problem.
    Thanks in advance.

    clear the rfc cache

  • Com.sap.tc.webdynpro.progmodel.context.ContextException: NodeInfo

    After upgraded MII Patch from 12.2 SP2 to SP3. Facing issue on system properties -
    SAP MII - System Management --> System Properties --> Edit
    When we trying to change any properties setting and save then got following error -
    The initial exception that caused the request to fail, was:
    com.sap.tc.webdynpro.progmodel.context.ContextException: NodeInfo(path=NavigationComponent.HostedComponentPlaceHolder/SystemAdministrationView.SystemAdminPropNode, class=com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo): unknown attribute MDODataSource
        at com.sap.tc.webdynpro.progmodel.context.NodeInfo.getAttributeInternal(NodeInfo.java:715)
        at com.sap.tc.webdynpro.progmodel.context.NodeElement.wdGetAttributeInfo(NodeElement.java:466)
        at com.sap.tc.webdynpro.progmodel.context.NodeElement.setAttributeValue(NodeElement.java:918)
        at com.sap.xapps.xmii.ui.admin.syscfg.syscfgcomp.sysconfigcomp.SystemAdministrationView.onActionCancel(SystemAdministrationView.java:370)
        at com.sap.xapps.xmii.ui.admin.syscfg.syscfgcomp.sysconfigcomp.wdp.InternalSystemAdministrationView.wdInvokeEventHandler(InternalSystemAdministrationView.java:181)
        ... 71 more

    Hi Ashish and Sumit,
    You need to remove from XMII_SYSPROPS table the record where in the PROPNAME column is equal  MDODataSource'.
    You need have access on MII database.
    Regards
    Thiago Barros

  • How to use the theme[sap tradeshow] in sap portal ?

    Hi guys,
         I have a question about the theme [Sap Tradeshow] in EP.
         When I choose this theme , its preview shows
    But when I tried to use this theme, it shows
    I tried the other themes and they all work normally
    Does anyone can help me ?
    Thanks!

    Hello Saurabh,
    For the cretaion of discussion forum kindly access my Article that i have published in SDN the link of it is .
    [Creation of Discussion Forum.|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20562528-a246-2b10-2988-f9b554a925ce]
    Here u will get Step by Step Solution for creation of Discussion forum.
    Now to change look and feel of ur Forum or say discaussion Iview Template u have to open template Par File in NWDS and can play with it (Codeing) to get desired output.
    I will sugest u to not to go with Discusasion Forum if u r haveing EP Ver7.0 then u can go for Installation of Forums on ur Portal.
    If want any other information i will be glad to help u .
    Hope this help's
    Regards.
    Soni Vinit

  • How to get the com.sap.portal.admin.wizardframework_api.jar file

    Hi this is related to the wizard creating component required .jar file. Can any body tell me , how to get this jar file. I have searched in my IDE plug-in's folder. But i have nt find this.
    com.sap.portal.admin.wizardframework_api.jar
    how to get thid jar file.
    REgards
    Vijay

    Vijay,
    You can access the above mentioned par file from this location,
    System Admin -> support -> Support Desk->ROOT/WEB-INF/deployment/pcd (download this folder)
    ->com.sap.portal.admin.wizardframework.par.bak->extract the file
    alternatively,
    u can find the same in,
    \j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.admin.wizardframework\lib
    Thanks & Regards,
    Ramganesan K
    Keane Inc

  • How to define a parameter in a method of type com.sap.tc.webdynpro.progmode

    Hi All,
    I want to define a parameter in a method, type of parameter is com.sap.tc.webdynpro.progmodel.api.IWDNode,
    But when I browse on type and tehn in local dictionary, I do not find this type of datatype, please suggest how to assign this data type to any method's parameter.
    Thanks in Advance.

    Hello Amit,
    Please include  webdynproprogmodel.jar to build path, which can be found at    /sap/eclipse/plugins/com.sap.tc.webdynpro.runtime/lib
    Then you could able to user datatype IWDNode in your code
    Let me know if you need the jar file 
    Regards,
    Madhu

  • Exception com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCException

    Hi Experts,
    I am getting following run time error message while running a Web Dynpro program:
    java.lang.ClassCastException: com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCException: List must contain AbstractList (ProxyList) of Type 'com.sasol.pr.create.Bapimereqitemimp$Bapimereqitemimp_List', not of 'class com.sasol.pr.create.Bapimereqitem$Bapimereqitem_List'!
    Detailed error message is:
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)
    Version null
    DOM version null
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0011.20070125102926.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:18:32[UTC], changelist=434634, host=pwdfm101), build date: Thu Apr 12 16:35:25 IST 2007
    J2EE Engine No information available
    Java VM Java HotSpot(TM) 64-Bit Server VM, version:1.4.2 1.4.2.12-061213-10:06-IA64W IA64W, vendor: Hewlett-Packard Company
    Operating system HP-UX, version: B.11.23, architecture: IA64W
    Session & Other
    Session Locale en_US
    Time of Failure Tue Apr 17 14:05:49 IST 2007 (Java Time: 1176798949444)
    Web Dynpro Code Generation Infos
    local/Pr_Create_16042007_I
    SapDictionaryGenerationCore 6.4009.00.0000.20041026131628.0000 (release=630_REL, buildtime=2004-11-02:22:13:11[UTC], changelist=295793, host=PWDFM027.wdf.sap.corp)
    SapDictionaryGenerationTemplates (unknown)
    SapGenerationFrameworkCore 6.4009.00.0000.20041026132141.0000 (release=630_REL, buildtime=2004-11-02:22:05:28[UTC], changelist=295805, host=PWDFM027.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:21:59[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCommon 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:42[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCore 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:29[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
    SapMetamodelDictionary 6.4009.00.0000.20040805191532.0000 (release=630_REL, buildtime=2004-11-02:22:10:20[UTC], changelist=270520, host=PWDFM027.wdf.sap.corp)
    SapMetamodelWebDynpro 6.4009.00.0000.20041026132448.0000 (release=630_REL, buildtime=2004-11-02:22:17:25[UTC], changelist=295810, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:28[UTC], changelist=297524, host=PWDFM027)
    SapWebDynproGenerationCore 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:22:31[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationTemplates 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:28[UTC], changelist=297524, host=PWDFM027)
    sap.com/tcwddispwda
    No information available null
    sap.com/tcwdcorecomp
    No information available null
    Detailed Error Information
    Detailed Exception Chain
    java.lang.ClassCastException: com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCException: List must contain AbstractList (ProxyList) of Type 'com.sasol.pr.create.Bapimereqitemimp$Bapimereqitemimp_List', not of 'class com.sasol.pr.create.Bapimereqitem$Bapimereqitem_List'!
    at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setRelatedModelObjects(DynamicRFCModelClass.java:807)
    at com.sasol.pr.create.Bapi_Pr_Create_Input.setPritem(Bapi_Pr_Create_Input.java:403)
    at com.sasol.pr.creation.PrCreationCust.executeBapi_Pr_Create(PrCreationCust.java:215)
    at com.sasol.pr.creation.wdp.InternalPrCreationCust.executeBapi_Pr_Create(InternalPrCreationCust.java:240)
    at com.sasol.pr.creation.ApplView.onActionSearch(ApplView.java:152)
    at com.sasol.pr.creation.wdp.InternalApplView.wdInvokeEventHandler(InternalApplView.java:258)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Can you please have a look on it and suggest me the solution.
    Regards,
    RK

    Hi
    since u have shown only exceptions.. check this link.. u r also using PR i guess from the exception..
    WDDynamicRFCException: Please help
    n post ur code also.
    Thanks
    Puneet

  • ERROR:com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException

    Dear All,
    We have taken a par file from another project and deployed in the J2EE engine using SDM.It was succesfully deployed with out any warnings.I have created an iview also.When we are trying to access that i view i am getting an error as follows:
    500   Internal Server Error
    Web Dynpro Container/SAP J2EE Engine/6.40
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       com.sap.dictionary.runtime.DdException: Type com.bel.holidaycal.model.types.Zhrt029 does not exist
        at com.sap.dictionary.types.mdi.util.ProviderUtil.createAbapTypeXmlMap(ProviderUtil.java:400)
        at com.sap.dictionary.runtime.mdi.DataProvider.createSimpleTypeFromAbapType(DataProvider.java:586)
        at com.sap.dictionary.runtime.mdi.DataProvider.getDataType(DataProvider.java:286)
        at com.sap.dictionary.runtime.DdDictionary.getDataType(DdDictionary.java:95)
        at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:164)
        ... 51 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type     HTML Client
    User agent     Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    Version     null
    DOM version     null
    Client Type     msie6
    Client Type Profile     ie6
    ActiveX     enabled
    Cookies     enabled
    Frames     enabled
    Java Applets     enabled
    JavaScript     enabled
    Tables     enabled
    VB Script     enabled
    Server
    Web Dynpro Runtime     Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Mon Mar 03 21:11:10 GMT+05:30 2008
    J2EE Engine     7.00 patchlevel
    Java VM     Java HotSpot(TM) 64-Bit Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
    Operating system     Windows 2003, version: 5.2, architecture: ia64
    Session & Other
    Session Locale     en
    Time of Failure     Thu Apr 10 14:31:31 GMT+05:30 2008 (Java Time: 1207818091497)
    Web Dynpro Code Generation Infos
    local/WDHolidayCalendar
    SapDictionaryGenerationCore     7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:24:21[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates     (unknown)
    SapGenerationFrameworkCore     7.0009.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:12:57[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer     7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:30:00[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon     7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:13:46[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore     7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:13:38[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary     7.0009.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:21:59[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro     7.0009.20060428190938.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:26:52[UTC], changelist=400815, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates     7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:45:29[UTC], changelist=413534, host=pwdfm101)
    SapWebDynproGenerationCore     7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:30:11[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates     7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:45:29[UTC], changelist=413534, host=pwdfm101)
    sap.com/tcwddispwda
    No information available     null
    sap.com/tcwdcorecomp
    No information available     null
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type extern:com.bel.holidaycal.model.types.WDModelHolical:com.bel.holidaycal.model.types.Zhrt029 could not be loaded: com.sap.dictionary.runtime.DdException: Type com.bel.holidaycal.model.types.Zhrt029 does not exist
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:305)
         at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:234)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:448)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:386)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:415)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:79)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:121)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:117)
         at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:212)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.dictionary.runtime.DdException: Type com.bel.holidaycal.model.types.Zhrt029 does not exist
         at com.sap.dictionary.types.mdi.util.ProviderUtil.createAbapTypeXmlMap(ProviderUtil.java:400)
         at com.sap.dictionary.runtime.mdi.DataProvider.createSimpleTypeFromAbapType(DataProvider.java:586)
         at com.sap.dictionary.runtime.mdi.DataProvider.getDataType(DataProvider.java:286)
         at com.sap.dictionary.runtime.DdDictionary.getDataType(DdDictionary.java:95)
         at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:164)
         at com.sap.dictionary.runtime.DdBroker.getStructure(DdBroker.java:180)
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:303)
         ... 49 more
    I have created the JCO connections also ,i am able to test them also.I have imported the same into NWDS and deployed the application , its deploying but the out put is the same error.
    I have cross checked the models and found that the Model is there in the model types.
    Can any one help me regarding this.
    Waiting for the response ASAP.
    Thanks
    Ravi.S

    Hi,
      I think you mean ear file and not par file. Check these threads. The exception is mentioned to be because of JCo problems only.
    Type com.sap.xss.ser.xssmenu.model.types.P_Pernr does not exist
    WDTypeNotFoundException: type model.types.Zbtr_Wbselement could not be load
    WebDynpro using BAPI has an error
    Regards,
    Harini S

Maybe you are looking for