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
Similar Messages
-
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 -
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 tabHi 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/Guruhi 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 -
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
-
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,
NandaHi Narasimha,
Please check the context node/attribute binding which used in webdynpro screen layouts.
Hope it will helps
Regards
Arun Jaiswal -
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 ChakrabortyJiandong,
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 -
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. -
Dear All,
We are facing a problem in accessing a exception runtime error in portal application( i have the error log below). I have found the discussion in forum for same exception error, but while deploying object. whereas i am getting the error like "com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Repository Object --- does not exist"
But this error is not occurring all the time , but more often to the end users. Please help me out to fix this issue.
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.tc.webdynpro.repository.RepositoryRuntimeException: Repository Object hrmd.iws.HrMasterData/ComponentInterface:HrMasterDataInterface associated via relation RepositoryObjectRelation(HrMasterData, UsedComponent) does not exist.
at com.sap.tc.webdynpro.repository.RelationToOne.resolveTargets(RelationToOne.java:124)
at com.sap.tc.webdynpro.repository.RelationToOne.mergeTargets(RelationToOne.java:108)
at com.sap.tc.webdynpro.repository.RelationToOne.mergeTargets(RelationToOne.java:72)
at com.sap.tc.webdynpro.repository.RelationToOne.getTarget(RelationToOne.java:174)
at com.sap.tc.webdynpro.repository.RepositoryObject.getRelatedModelObject(RepositoryObject.java:348)
Edited by: Raja Gopal on Jul 16, 2010 5:50 PMHi tooCann,
Some times XML-Repository content in the database gets corrupted (XML not valid) during the upgrade. Therefore some WebDynpro applications (e.g. Universal Worklist (UWL)) may not work properly after the upgrade.
Undeploy your DC first via SDM and deploy again.
Check the SAP Note : <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_wd/~form/handler">986460</a>
Regards,
Mithu -
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 KumarHi 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. -
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 moreHi 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 -
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
VijayHi,
You should have com.sap.portal.admin.wizardframework in your SharingReference:
<property name="SharingReference" value="com.sap.km.application, com.sap.portal.admin.wizardframework"/>
Pls check this link,
http://help.sap.com/saphelp_nw2004s/helpdata/en/42/bf4172cb951d66e10000000a1553f6/content.htm
Hope this helps !
Regards
Srinivasan T -
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
VijayVijay,
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 -
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 -
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,
RKHi
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
Maybe you are looking for
-
ITunes wiped all the audio on my iPod
Just bought a new computer - the old one was left behind in Europe. I had 8 gigs of very important language files on the iPod. Installed iTunes (against my better judgement) on my brand-new XP laptop. Plugged in the iPod and this peace-of-**** iTunes
-
"Documents in the Cloud" and Mountain Lion workflow??
I haven't yet upgraded to Moutain Lion but before I do I'm wondering if anyone can help answer a workflow question related to Documets in the Cloud and how it runs on Mountain Lion: Has Apple solve/simplified/streamlined the use of Documents in the
-
Can different music be used with different set of photos in a slide show?
Can different music be used with different set of photos in a slide show?
-
Is it possible to bypass JAAS authentication and use Authorisation alone?
I have to implement jsp level security (by checking roles) for my JSF application. Authentications in my appln are done by a different servers. I don't want to disturb that. I have to implement authorisation alone using JAAS. Is it possible to bypass
-
CS5 Text still gets cut off when using filters
In Flash CS4, I encountered a strange bug where text would get cut off if there were any filters applied to the text box. I was so excited for CS5, because I had heard that bug was fixed. Now I see that it is not. I'm using Classic Text in an Actions