Length of com.sap.ide.webdynpro.uielementdefinitions.Resource
Hi Experts,
I've used the FileUpload control in a WebDynpro page. I'm using the CE 7.1 version of NWDS.
This control has a Type property which I've bound to the following Simple Type:
com.sap.ide.webdynpro.uielementdefinitions.Resource
The default length of this type is 255 (binary).
When I try to upload a text file with the following name:
"111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111.txt"
it shows blank in the file upload text field. Perhaps this is because I've tried to upload a file with a maximum name length which Windows XP OS allows. This is much larger than the 255 length limit of the built-in simple type.
Can anyone suggest me a workaround to bypass this limit on the length of the file name.
Regards,
Nitin
Hello,
Once you upload a file it gets stored in your controller context in binary format....0010100101011010....
Now from this context you can either reuse the content in current aplication at runtime...or you can later save this file on server.
But once upload is done...its only there in your controller context.
You first need to define a context attribute of type com.sap.ide.webdynpro.uielementdefinitons.Resource. The Resource type is a special dictionary simple type for MIME resources. At runtime the controller context attribute stores the MIME resource in an object of type com.sap.tc.webdynpro.services.sal.datatransport.api.IWDResource.
Hope you have properly referred to below article.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71?quicklink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f?quicklink=index&overridelayout=true
If you wish to later save file on server below article can give you more visibility...
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6080a443-f21b-2e10-2d82-ea1674e51052?quicklink=index&overridelayout=true
Similar Messages
-
Hi,
I am trying to debug the ESS web dynpro ERP 2004 with NWDS 7.0 , i am getting below error. I can build and deploy the EAR file without any problem form development configuration prospective. But when i try to build and deploy from web dynpro prospective it give me the same error.
com.sap.tc.webdynpro.repository.RepositoryRuntimeException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >: (:main:, row:1, col:493)
at com.sap.tc.webdynpro.repository.xml.XMLLayerDataParserWriter.startParsing(XMLLayerDataParserWriter.java:169)My WAS version is 1.4.2_12-b03
NWDS version is JDK1.4_HOME=C:\j2sdk1.4.2_12
I see some Error message when i click ConfigurationDetails to see NWDS details..
!STACK 0
com.sap.cms.util.exception.client.CMSClientVersionConflictException: Version conflict: to call method "readSystemMessages" the minimum server version is "Release6.40 SP16 Patch level 00" but the used server has only version "Release 6.40 SP15 Patch level 00"
at com.sap.cms.client.organizerAPI.CMSTransportOrganizerAPI.versionCheck(CMSTransportOrganizerAPI.java:1232)
at com.sap.cms.client.organizerAPI.CMSTransportOrganizerAPI.readSystemMessages(CMSTransportOrganizerAPI.java:1164)
at com.sap.cms.client.ideAPI.CmsConfiguration.readSystemMessagesMap(CmsConfiguration.java:445)
at com.sap.ide.eclipse.component.devconf.DevConfManager.getSystemMessages(DevConfManager.java:744)
at com.sap.ide.eclipse.component.provider.listener.DevConfLoginListener.showSystemMessages(DevConfLoginListener.java:97)
at com.sap.ide.eclipse.component.provider.listener.DevConfLoginListener.loginPerformed(DevConfLoginListener.java:91)
at com.sap.ide.login.UserValidator$1.run(UserValidator.java:161)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:136)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:261)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:357)
at com.sap.ide.login.UserValidator.getData(UserValidator.java:411)
at com.sap.ide.login.UserValidator.getDefaultServerData(UserValidator.java:131)
at com.sap.ide.login.UserValidator.getDefaultServerData(UserValidator.java:116)
at com.sap.ide.metamodel.core.plugin.DtrHelper.logon(DtrHelper.java:401)
at com.sap.ide.metamodel.core.repository.RepositoryServices.showReadonlyRepositoryObjectsAndCheckout(RepositoryServices.java:345)
at com.sap.ide.metamodel.core.repository.RepositoryServices.checkWriteability(RepositoryServices.java:279)
at com.sap.ide.webdynpro.controllereditor.implementation.JavaImplementationEditor$ImplementationKeyListener.keyPressed(JavaImplementationEditor.java:301)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:120)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:41:50.517
!MESSAGE Saving Metadata for project J2E_ESSTRACK_Dessben~sap.com
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:41:50.752
!MESSAGE refreshing<0ms>: /J2E_ESSTRACK_Dessben~sap.com/src/packages/com/sap/xss/hr/ben/confirmnavigation/ConfirmNavigationView.wdcontroller
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:41:50.752
!MESSAGE refreshing<0ms>: /J2E_ESSTRACK_Dessben~sap.com/src/packages/com/sap/xss/hr/ben/printenroform/PrintEnroFormView.wdcontroller
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:45:04.909
!MESSAGE Saving Metadata for project J2E_ESSTRACK_Dessben~sap.com
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:45:04.972
!MESSAGE refreshing<0ms>: /J2E_ESSTRACK_Dessben~sap.com/src/packages/com/sap/xss/hr/ben/confirmnavigation/ConfirmNavigationView.wdcontroller
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:51:49.896
!MESSAGE Saving Metadata for project J2E_ESSTRACK_Dessben~sap.com
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:51:49.943
!MESSAGE refreshing<0ms>: /J2E_ESSTRACK_Dessben~sap.com/src/packages/com/sap/xss/hr/ben/confirmnavigation/ConfirmNavigationView.wdcontroller
!ENTRY org.eclipse.jdt.debug 4 120 Mar 12, 2007 11:56:02.695
!MESSAGE Internal error logged from JDI Debug:
!STACK 0
com.sun.jdi.VMDisconnectedException: Got IOException from Virtual Machine
at org.eclipse.jdi.internal.connect.PacketSendManager.sendPacket(PacketSendManager.java:79)
at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:169)
at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:191)
at org.eclipse.jdi.internal.VirtualMachineImpl.classesBySignature(VirtualMachineImpl.java:513)
at org.eclipse.jdi.internal.VirtualMachineImpl.classesByName(VirtualMachineImpl.java:540)
at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.jdiClassesByName(JDIDebugTarget.java:1273)
at org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceManager.getTypesToBytes(JavaHotCodeReplaceManager.java:536)
at org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceManager.redefineTypesJDK(JavaHotCodeReplaceManager.java:474)
at org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceManager.doHotCodeReplace(JavaHotCodeReplaceManager.java:384)
at org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceManager.access$0(JavaHotCodeReplaceManager.java:357)
at org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceManager$1.run(JavaHotCodeReplaceManager.java:286)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceManager$3.run(JavaHotCodeReplaceManager.java:1097)
at java.lang.Thread.run(Thread.java:534) -
Hello,
I've just upgraded my Developer Studio from 7.2 SP03 to 7.2 SP05. I've imported my old developments fine, but, when I try to deploy to the server, I'm getting this error message,
"an internal error occurred during: "Create new archive, deploy and run". com/sap/ide/dii05/util/api/diilog/Severity"
I've alredy tried reloading and rebuilding the whole project.
Anyone knows what is the problem? Any clues?
Thanks & Regards
SUHello Vijay,
Thanks for your reply. The SAP AS Java system is configured correctly but the problem continues.
I've created a new simple "Hello World" Web Dynpro project from scratch, and when I try to deploy it, I have the same error:
java.lang.NoClassDefFoundError: com/sap/ide/dii05/util/api/diilog/Severity
at com.sap.ide.eclipse.sdm.threading.OptionalDiiLogImpl.diiLog(OptionalDiiLogImpl.java:28)
at com.sap.ide.eclipse.sdm.threading.OptionalDiiLog.diiLog(OptionalDiiLog.java:32)
at com.sap.ide.eclipse.sdm.threading.DeployThreadManager.deploy(DeployThreadManager.java:190)
at com.sap.ide.eclipse.sdm.threading.DeployThreadManager.deploy(DeployThreadManager.java:177)
at com.sap.ide.eclipse.sdm.SDMManager.deployArchives(SDMManager.java:152)
at com.sap.ide.webdynpro.archivebuilder.ActionDeployArchive$DeployJob.run(ActionDeployArchive.java:219)
at com.sap.ide.webdynpro.archivebuilder.ActionDeployAndTestApplication$ArchiveDeployAndRunJob.run(ActionDeployAndTestApplication.java:93)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.ClassNotFoundException: com.sap.ide.dii05.util.api.diilog.Severity
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:483)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:399)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Regards
SU -
Com.sap.tc.webdynpro.services.session.LockExceptio
Hi,
From my WD Java application, i'm calling some URL and displaying the content from that in my WD application.
The performance of this is very slow and it seems to be hang for some time.
Portal version is 7.0 and patch is SP 18.
When i checked the log it throws an exception :
com.sap.tc.webdynpro.sessionmanagement#sap.com/tcwddispwda#com.sap.tc.webdynpro.sessionmanagement.ExceptionHandler.handleThrowable#psaxena#177552##n/a##4b50da90170c11de857c00145e23c9af#SAPEngine_Application_Thread[impl:3]_20##0#0#Error#1#/System/UserInterface#Java###Exception occured during processing of Web Dynpro application . The causing exception is nested.
[EXCEPTION]
#2#sap.com/pb/PageBuilder#com.sap.tc.webdynpro.services.session.LockException: Thread SAPEngine_Application_Thread[impl:3]_20 failed to acquire exclusive lock on client session ClientSession(id=(J2EE12791800)ID1709694850DB02709529586100848222End_5108164). Existing locks: LockingManager(ThreadName:SAPEngine_Application_Thread[impl:3]_20, exclusive client session lock: ClientSessionLock(SAPEngine_Application_Thread[impl:3]_30), shared client session locks: ClientSessionSharedLockManager([]), app session locks: ApplicationSessionLockManager([]), current request: sap.com/pb/PageBuilder).Hint: Take a thread dump of the server node to find the blocking thread that causes the problem.
at com.sap.tc.webdynpro.clientserver.session.ClientSession$LockingManager.lock(ClientSession.java:1511)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:233)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
Any idea why this problem is coming and what is the solution for this.
Thanks and Regards
PuneetHi Puneet,
I am getting same exception in using FileDownload UI element as a Table Cell Editor.
I am loading input stream in FileDownload UI element on demand (that when user actually clicks on download link)
Can you please share what exact optimization you did in code and it worked for you?
Please help me with this issue.
Awaiting for your reply.
Thanks and regards,
Amey Mogare -
Hello,
Im having trouble running a Web Dynpro Application. When running, the application is showing me the following exception,
java.lang.NoSuchMethodError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(Ljava/lang/String;Ljava/lang/String;Ljavax/xml/namespace/QName;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lcom/sap/tc/webdynpro/model/webservice/gci/IWSTypedModelInfo;Ljava/util/Map;Ljava/util/Map;)V
at pe.com.minsur.wd_po_ws.wd_po_ws_model.Wd_po_ws_Model.<init>(Wd_po_ws_Model.java:124)
at pe.com.minsur.wd_po_ws.wd_po_ws_app.comp.Wd_po_ws_Comp.wdDoInit(Wd_po_ws_Comp.java:120)
at pe.com.minsur.wd_po_ws.wd_po_ws_app.comp.wdp.InternalWd_po_ws_Comp.wdDoInit(InternalWd_po_ws_Comp.java:195)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)
This is in the DoInit() method, In the line,
Wd_po_ws_Model wd_po_ws_ModelModel = new Wd_po_ws_Model();
It could be the METADATA or MODELDATA destination configuration?
Thanks
SUHello,
The problem is solved following these steps,
"NWDS IDE is in SP04 whereas the WebDynpro Runtime is in SP01. So yo have to upgrade your WebDynpro in WebAS to SP04.
All WebDynpro for Java patches are available on SAP Service Marketplace.Note 330793 explains how to download patches from SAP Service Marketplace. Note 1395865 explains how to find the Web Dynpro for Java related SCAs.
Update your system via JSPM.
Please refer the link to the official documentation for JSPM
http://help.sap.com/saphelp_nwpi711/helpdata/en/1f/c45b4211aac353e10000000a1550b0/frameset.htm
From WebDynpro perspective, we recommend you to apply both WD-RUNTIME.SCA and FRAMEWORK.SCA. So if any one of the archive is not mentioned in the 'SP Patch Level' tab, it is recommended to apply the same which is available in the service market place."
Regards
SU -
Hello,
I have SAP EH1 for SAP NWCE 7.1 and NWDS with the recent upgrade pack of WD. When I run my WD application the following exception ocurr,
java.lang.NoSuchMethodError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.(Ljava/lang/String;Ljava/lang/String;Ljavax/xml/namespace/QName;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lcom/sap/tc/webdynpro/model/webservice/gci/IWSTypedModelInfo;Ljava/util/Map;Ljava/util/Map;)V
at pe.com.minsur.wd_test_esr.wdtestesr_model.Wdtestesr_Model.<init>(Wdtestesr_Model.java:240)
at pe.com.minsur.wd_test_esr.wdtestesr_app.comp.Wdtestesr_Comp.wdDoInit(Wdtestesr_Comp.java:111)
at pe.com.minsur.wd_test_esr.wdtestesr_app.comp.wdp.InternalWdtestesr_Comp.wdDoInit(InternalWdtestesr_Comp.java:445)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:227)
My DoInit Method only have this code,
public void wdDoInit()
Wdtestesr_Model model = new Wdtestesr_Model();
Any ideas?
Regards
MGThe problem is that the logical destinations are not well configured.
-
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 -
Com.sap.tc.webdynpro.services jar file
Hi,
I need to use the class IWDClientUser, but I don't have the jar file that includes it within my IDE.
Does anyone know where I can download it from?
Sorry found it in com.sap.tc.webdynpro.runtime_2.0.0
Thanks
Edited by: Phillip Smith on Oct 27, 2008 10:18 AMHi,
follow below procedure to add jars,
Right click on webdynpro project->properties->Java Build path->Libraries->Add variable-> WD_Runtime->extend->plugins->com.sap.security->lib->com.sap.security.api.jar.
Hope this helps you
Regards,
ramesh -
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> -
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 -
Adaptive RFC 2 gives error: com/sap/ide/jco/service/internal/R3Service
Hi,
I've run into the following problem about NWDS. This happens as I create a Model. It appears there is a new version of the Adaptive RFC Model, which is called Adaptive RFC 2 Model.
1. Right click on Models, and select Create.
2. Double Click on Adaptive RFC 2 Model
3. The error pops up. It says "An error has occurred. See error log for more details. java.lang.NoClassDefFoundError". Then if you click details you get "An error has occurred. See error log for more details. com/sap/ide/jco/service/internal/R3Service "
If you know which log to have a look, or what this error is about please let me know urgently. Any help if much appreciated.
Thanks,
Ogeday IsiklarHi,
I am also getting same problem. Waiting for solution
Regards,
Pradeep Kumar -
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.SHi,
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 -
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 Experts,
In Employee Self Service i am Getting this Error,overview page is also not displayed.
The initial exception that caused the request to fail, was:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: ComponentUsage(FPMConfigurationUsage): Active component must exist when getting interface controller. (Hint: Have you forgotten to create it with createComponent()? Should the lifecycle control of the component usage be "createOnDemand"?
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.ensureActiveComponent(ComponentUsage.java:773)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceControllerInternal(ComponentUsage.java:348)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceController(ComponentUsage.java:335)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdGetFPMConfigurationUsageInterface(InternalFPMComponent.java:245)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.changeToExceptionPerspective(FPMComponent.java:862)
... 60 more
Regards
AnumitI have seen this funny error message crop up time and again. Though only for particulaer set of users only.
When developing cuetom applications you will have to do register the BLC compeonent as mentioned in the documentation below. If you dont register you are sure to get this error
http://help.sap.com/erp2005_ehp_04/helpdata/en/43/42b7eb8eba2a21e10000000a422035/content.htm
You should not get this error for standard applications as the BLC is always registerd as mentioned in the above documentaion
But when ever I got this error for standard applications, restarting the browser of the end users or in extreme cases the portal server resolved this issue. Fortunately I never got this error in production -
Hi experts,
I just installed and configured ADS in NW04-Java SP20 and tested the URL http://host:portal/AdobeDocumentServices/Config. it shows the version information in the response.
When I try to run the Java-Webdynpro interactive form I am getting below messages. I also tried SDN sample project, I got the same message.
I installed ACF for NW04, it shows in the control panel, but not in the IE add-ons list.
Error Message:
com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:282)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:224)
com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:282)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:224)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
Could you please tell me is any thing missing???
Thanks in advance,
Ramana.Hi Ramana,
If you are on NW '04 SP11 or lower, try upgrading to a later version. SP 12 (and higher) contains a newer version of Adobe document services that renders much faster.
By default the Web service client socket timeout is set to 60. Try changing this parameter in the Visual Administrator: Server -> Services -> Web Services Container on the Settings tab.
In online scenarios with large context performance issues are seen. It may make more sense to create smaller PDFs with a stricter data selection.
Also refer to this note:
[Note 811342 - Time Out exception when rendering to Adobe document service|https://websmp230.sap-ag.de/sap/support/notes/811342]
Hope this helps!!
Cheers,
Arafat
Maybe you are looking for
-
my songs are all greyed out on my laptop and I cannot get them to play
-
Oracle Vm Manager login timeout
We are testing Oracle Vm Manager and notice that the timeout when logged into the web interface is really low. It logs you out after a minute the you have to refresh and login again. It is driving us crazy. Is there a way to increase the logout time
-
How to see the abap code in sql language.
hello gurus, very simply put,i dont know sql,but have to write some basic select queries to talk to oracle db... i would like to see the SQL transaltion of the ABAP code which i cant write. for eg: SELECT SINGLE * FROM MARA WHERE MATNR = 'XXXX'. Ho
-
Hey guys, i want to add a hit box to my website, could you guys help me ?? is it a good idea to add it to my frontpage ? I can find out this through my cpanel but i thought would be nice for members to know it also. What is the code ? Thank you Luis
-
Do i need to reinstall vmware if I upgrade to mountain lion?
Do i need to reinstall vmware if I upgrade to mountain lion? Currently I have Fusion 4x.