Error when calling BAPI from web dynpro
Hi,
I have a program that calls a BAPI to retrieve data. The problem is that i have the following error message:
com.sap.dictionary.runtime.DdException: 'WD_RFC_LOADBL_META' not properly defined! Unable to create Metadata connection for Dictionary Provider. Either the logical System Name 'WD_RFC_LOADBL_META' has not been properly defined in the System Landscape Directory, or you are not using a MsgServerDestination (AppServerDestinations are not permitted for Metadata connections)
I have created a JCOP connector and tested it, everything works fine, but the application is not working.
Any helpfull ideas ??
Thanks a lot.
Thibault Schalck
I have checked again the parameters, have updated the logon group to PUBLIC and now I have this error message:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=sapdevnova GROUP=PUBLIC R3NAME=NO1 MSSERV=sapmsNO1 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR service 'sapmsNO1' unknown TIME Fri Feb 06 16:23:15 2009 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE ninti.c LINE 530 DETAIL NiPGetServByName2: service 'sapmsNO1' not found SYSTEM CALL getservbyname_r COUNTER 1
I have no idea what this means...
Similar Messages
-
I want to call a BAPI using web Dynpro.
In my case, the BAPI without input parameter, it only give out a out table after execute.
So that I include this Bapi in the model and directly call it in wdDoInit like this :
wdContext.nodeZbapi_Outvendor_Input().currentZbapi_Outvendor_InputElement().modelObject().execute();
wdContext.nodeZbapi_Outvendor_Input().invalidate();
However, no any result can see. Anybody could tell me what is the correct way to call BAPI in WD?
Thanks!Hi,
Don't invalidate the zbapi node...
If your output can be recieved from the node say.., output from the bapi side and you mapped it to controller to node say OutVend...
Then use this code
wdContext.nodeOutVend().bind(wdContext.nodeZbapi_Outvendor_Input().currentZbapi_Outvendor_InputElement().modelObject().getOutput());
Any queries revert back.
If this is not working post your context structure in your reply and tell where you are expect the output
Best Wishes,
Idhaya R -
An error when calling DAQmx from TestStand
Hi,
I get very mystic error when calling DAQmx Create Channel (Digital input) and DAQmx Read (Digital Bool 1Line 1Point) vis. Difficulty is that it does not occur every time. It is random. Any ideas what might cause this error? I uninstalled Traditional DAQ drives because they are not in use but it does not help.
Please, see attachment.
BR,
Jick
Attachments:
daqerror.PNG 80 KBHere is some additional information. See attachments.
I can not get that error using MAX or looping it only. There is something else outside which causes the error. It can not be Traditional DAQ because I uninstalled it. These vis are running in a loop during the test in the batchmodel.
BR,
Jick
Attachments:
daqerror2.PNG 33 KB
daqerror3.PNG 15 KB -
Error When Call WebService from WebDynpro
Hi,
I´m with this error when i execute* the web service that i created on my WebAS:
Request_CalculatorWSViDocument_add req = new Request_CalculatorWSViDocument_add();
wdContext.nodeRequest_CalculatorWSViDocument_add().bind(req);
wdContext.currentRequest_CalculatorWSViDocument_addElement().modelObject().setX(x);
wdContext.currentRequest_CalculatorWSViDocument_addElement().modelObject().setY(y);
wdContext.currentRequest_CalculatorWSViDocument_addElement().modelObject().execute();
java.lang.NoSuchMethodError: com.sap.engine.services.webservices.jaxrpc.wsdl2java.BaseGeneratedStub._initParameter(Lcom/sap/engine/services/webservices/jaxrpc/wsdl2java/ServiceParam;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)V
at br.com.softtek.model.proxies.Config1BindingStub.add(Config1BindingStub.java:58)
at br.com.softtek.model.proxies.Config1BindingStub.add(Config1BindingStub.java:101)
at br.com.softtek.model.Request_CalculatorWSViDocument_add.execute(Request_CalculatorWSViDocument_add.java:91)
at br.com.softtek.comp.CalculatorComp.executeOperation(CalculatorComp.java:217)
at br.com.softtek.comp.wdp.InternalCalculatorComp.executeOperation(InternalCalculatorComp.java:214)
at br.com.softtek.comp.CalculatorCompView.onActionAdd(CalculatorCompView.java:143)
at br.com.softtek.comp.wdp.InternalCalculatorCompView.wdInvokeEventHandler(InternalCalculatorCompView.java:173)
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: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.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: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)
Any idea?
Regards,
BrunoHi tulasi,
My WebService uses "Simple SOAP".
Naga Raju Meesala,
The WebService type is "WebService Mode"l.
Any idea?
Regards,
Bruno -
BEx Web: Java Error when calling query from Query Designer
When designing a query in the designer and executing it via the portal,
I get the following error:
com.sap.ip.bi.base.application.variableprocessor.IVariableProcessor.synchronizeStateVariables()V
The complete exception is:
com.sap.ip.bi.webapplications.runtime.controller.MessageException: Error while calling the method "processDialogCommand" at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2366) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:841) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:775) at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:412) at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215) at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) 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)Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while calling the method "processDialogCommand" at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:116) at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:439) at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:325) at com.sap.ip.bi.webapplications.runtime.base.CommunicationProcessor.processCommand(CommunicationProcessor.java:144) at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandSuper(Page.java:1451) at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandInternal(Page.java:1439) at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandSequence(Page.java:2022) at com.sap.ip.bi.webapplications.runtime.impl.Page.displayVariableScreen(Page.java:1845) at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandSequence(Page.java:2069) at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:2755) at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2288) ... 36 moreCaused by: java.lang.NoSuchMethodError: com.sap.ip.bi.base.application.variableprocessor.IVariableProcessor.synchronizeStateVariables()V at com.sap.ip.bi.webapplications.ui.dialogs.variablescreen.DlgVariable.doUiDialogInit(DlgVariable.java:259) at com.sap.ip.bi.webapplications.ui.dialogs.framework.UiDialog.doInit(UiDialog.java:164) at com.sap.ip.bi.webapplications.runtime.base.PageObject.init(PageObject.java:244) at com.sap.ip.bi.webapplications.runtime.base.Dialog.init(Dialog.java:72) at com.sap.ip.bi.webapplications.runtime.base.Dialog.processCommand(Dialog.java:168) at com.sap.ip.bi.webapplications.runtime.base.CommunicationProcessor.processDialogCommand(CommunicationProcessor.java:99) 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.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:101) ... 46 more
The HP LEvel on the Java Stack is 10, on Te ABAP Stack it is 11.
Any ideas?
Thanks in advance, ThomDid you check these posts:
Unable to publish in IE with BEx Query Designer
Web Analyzer Execute failed- System received an expired SSO ticket
null -
Looking for a beginner guide - Adaptive RFC call BAPI in Web Dynpro Java
Hi,
im new in SAP Developeing. I developed some basic web Dynpro applications (after some tutorials) and they are all working.
Now i want to build an Web Dynpro application with an adaptive RFC Model.
I already imported the adaptive RFC Modell with a function Model (BAPI Z_...) from the R3 System successfully.
But if i deploy the application i will get following error:
com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type extern:mypackages.com.types.BapiModel:mypackages.com.types.Zmbs_Bapi_Dispo_Orderdata could not be loaded: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.
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:449)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:387)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:416)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:83)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:125)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:121)
at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:215)
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:754)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
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.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: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:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker$1.fillSldConnection(DataTypeBroker.java:90)
at com.sap.dictionary.runtime.ProviderFactory.internalResolveLogicalNameToJCODestination(ProviderFactory.java:377)
at com.sap.dictionary.runtime.ProviderFactory.resolveLogicalNameToJCODestination(ProviderFactory.java:322)
at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:181)
at com.sap.dictionary.runtime.ProviderFactory.getProvider(ProviderFactory.java:146)
at com.sap.dictionary.runtime.DdDictionaryPool.getProvider(DdDictionaryPool.java:97)
at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:79)
at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:48)
at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:149)
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
Caused by: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection.
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:152)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnectionUnMapped(SystemLandscapeFactory.java:178)
at com.sap.tc.webdynpro.services.sal.sl.core.SystemLandscapeInternal.getJCOClientConnectionUnMapped(SystemLandscapeInternal.java:62)
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker$1.fillSldConnection(DataTypeBroker.java:77)
... 59 more
Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to load client to connect to SLD. Please check your SLD connection settings using the Visual Admin.
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory$1.run(SystemLandscapeFactory.java:754)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getClient(SystemLandscapeFactory.java:747)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.readJCODestinationFromSLD(JCOClientConnection.java:511)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:439)
at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:233)
at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:218)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:129)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:150)
... 62 more
Caused by: com.sap.sldserv.exception.SldServiceRuntimeException: Failed to create CIM client. Check via 'Visual Administrator' tool if the secure store is operational.
at com.sap.sldserv.SldApplicationService.getCimClient(SldApplicationService.java:117)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory$1.run(SystemLandscapeFactory.java:751)
... 70 more
Caused by: com.sap.lcr.api.cimclient.CIMClientException: java.net.MalformedURLException: URL must have a host part
at com.sap.lcr.api.cimclient.ClientFactory.createConnection(ClientFactory.java:466)
at com.sap.lcr.api.cimclient.ClientFactory.createClientImpl(ClientFactory.java:413)
at com.sap.lcr.api.cimclient.ClientFactory.createClient(ClientFactory.java:363)
at com.sap.sldserv.SldApplicationService.getCimClient(SldApplicationService.java:113)
... 71 more
........Looks like a have a Problem with JCO.
Is there a good guide, which explains the Basic steps in developeing Web dynpro applications and BAPI ?!thank you guys for all the answers.I have to read all the documentations.
to my szenario:
I installed on my notebook the Trial Versions of:
SAP NetWeaver Application Server 7.00/Java AS 7.00
SAP NetWeaver Developer Studio Version: 7.0.14
All my basic Web Dynpro Applications in Java are running (even with Adobe Interactive Forms) on the local NetWeaver Trail- Web AS Trail perfectly.
Now i want to connect per RFC to another SAPERP Server, which is in the intranet.
I did the whole RFC tutorial with the flights -
http://help.sap.com/saphelp_nw04/helpdata/en/c3/76b45d9688e04abe1a1070410ddc1e/content.htm (also with the JCO codeing etc)
so my web dynpro application should work.
I think I have to configure - like ramesh said something on the NetWeaver Trail.
So what do i need and configure excactly on my Netweaver Trial to work with RFC - to call the BAPIS in the other System?
- SLD ? JCO ?
If i over Web Dynpro - Content Administrator - >
it says "Connection to System Landscape Directory (SLD) could not be opended successfully." and all the buttons
create Jco destinations etc. are greyed out.
I didn´t configured the SLD and JCO in the Netweaver yet. -
Error when importing an old web dynpro project
Hi all,
I've have upgraded my Sap Netweaver Developer Studio from 2.0.13 to 7.0 .
Now when i try to compile my old WD project it returs the seguent errors:
1)The project was not built since its classpath is incomplete. Cannot find the class file for java.lang.Object. Fix the classpath then try rebuilding this project
2)This compilation unit indirectly references the missing type java.lang.Object (typically some required class file is referencing a type outside the classpath) PackagePointer.java Project/gen_ddic/datatypes/com/sap/function/model/types line 1
Where can i find the java.lang.Object?
thanks, DanieleHi all,
maybe is too late.. but I wish to share my humble experience with you.
I encounter in a similar problem...
When I'm working with Web Dynpro (Messagge Pool) suddenly the NWDS seems to be crazy and give me the error "this compilation unit indirectly references the missing type java.lang.Object "
I read many post, this one too, but still got the problem.
Compare the current WD project with another one I found that my project didn't have rt.jar ibrary in its library list.
So I add in WD project - properties - Java build Path - Libraries the rt.jar library.
In my case it was in C:\j2sdk_dir\jre\lib\rt.jar.
So I build project and the problem desappear.
I hope this experience will be usefull.
Cristian -
Error when call fmx from browser
I have used OAS 4.0.7 with yt40.dll upgraded, NT 4.0
SP4 and Developer 6.
I have configured application cartridge according Developer6
Server doc instructions.
When I call fmx from browser Netscape 4.6
(http://hostname/webforms?module=fmx_name) the error "Applet
oracle.forms.engine.Main class oracle.forms.engine.Main could not
be loaded".
OAS inserts in file \orant\ows\website40\log the message
"Parameter module is missing from URL and cartridge settings"
Can anybody help me please?.
Ruy Chicaco
nullHi Adnan
I have configured my apps similary the example in
\orant\tools\devdem60\web then it rans fine.
Thanks,
Ruy Chicaco.
Adnan Imtiaz (guest) wrote:
: Hi there,
: I'm facing the same problem myself...but mine goes into doing
: something & returns an "Internal Error" message in the
: browser....
: Try running the static HTML file from its directory & see
whether
: that even runs or not....
: Any helpp would be greatly appreciated.....
: Thanks.
: Ruy chicaco (guest) wrote:
: : I have used OAS 4.0.7 with yt40.dll upgraded, NT 4.0
: : SP4 and Developer 6.
: : I have configured application cartridge according Developer6
: : Server doc instructions.
: : When I call fmx from browser Netscape 4.6
: : (http://hostname/webforms?module=fmx_name) the error "Applet
: : oracle.forms.engine.Main class oracle.forms.engine.Main could
: not
: : be loaded".
: : OAS inserts in file \orant\ows\website40\log the message
: : "Parameter module is missing from URL and cartridge settings"
: : Can anybody help me please?.
: : Ruy Chicaco
null -
Getting 500 Error when calling XI from Siebel
Hi,
We have generated a WSDL file from XI and gave it to Siebel team. They are getting a 500 Error when they try to call us using that WSDL file. Below is the error message they are getting.
"[1] Error Invoking service 'MI_SIEBEL_WS_ORDER_TOXI_OUT', method 'MI_SIEBEL_WS_ORDER_TOXI_OUT' at step 'Call Web Service'. (SBL-BPR-00162).
[2] HTTP Request error during 'Submitting Data Send HTTP request': 'Status code -500'(SBL-EAI-04117)"
Thanks in advance for the help.
Thanks
KumarHi,
Are you sure your Sender SOAP adapter is configured properly. Also ensure that the SIEBEL team is using the right URL to communicate to the SOAP adapter.
First try using SOAP Client and see if the scenario is working fine. If so then the problem lies in SIEBEL.
Check this link for confiuring SOAP sender
http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
Thanks,
Pakash -
Error when calling webservice from oracle function.
Hi,
I am getting following error when i am trying to call webserivce from oracle function. Please can anyone suggest the required solution. Below is the error obtained.
Thanks.
ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00225: end-element tag "UL" does not match start-element tag "P"
Error at line 15
ORA-06512: at "SYS.XMLTYPE", line 54
ORA-06512: at "SCOTT.DEMO_SOAP", line 87
ORA-06512: at "SCOTT.WEB_SERVICE", line 17The error message implies that the web service is returning something that is not well formed xml. Can you verify what is being returned by the web service call
-
Error when call javabean from form6i
I try to call javabean from Form6i. I have downlaoded four excample from Oracle Sample Code. But I can't run the example whenever from Form Builder or browser. When I run the html in IE or Natscape browser, I meet a eorror message :
java.lang.NoClassDefFound Error: sun/applet/AppletViewer
I have copy all example classes into e:\orant\forms60\java\oracle\forms\demos\ directory and the jar file copy into e:\orant\forms60\java directory.
Inside the html I set the codebase to e:\orant\forms60\java.
Is there any error or I still need to set some anothers settings?
Help please?
nullHi Adnan
I have configured my apps similary the example in
\orant\tools\devdem60\web then it rans fine.
Thanks,
Ruy Chicaco.
Adnan Imtiaz (guest) wrote:
: Hi there,
: I'm facing the same problem myself...but mine goes into doing
: something & returns an "Internal Error" message in the
: browser....
: Try running the static HTML file from its directory & see
whether
: that even runs or not....
: Any helpp would be greatly appreciated.....
: Thanks.
: Ruy chicaco (guest) wrote:
: : I have used OAS 4.0.7 with yt40.dll upgraded, NT 4.0
: : SP4 and Developer 6.
: : I have configured application cartridge according Developer6
: : Server doc instructions.
: : When I call fmx from browser Netscape 4.6
: : (http://hostname/webforms?module=fmx_name) the error "Applet
: : oracle.forms.engine.Main class oracle.forms.engine.Main could
: not
: : be loaded".
: : OAS inserts in file \orant\ows\website40\log the message
: : "Parameter module is missing from URL and cartridge settings"
: : Can anybody help me please?.
: : Ruy Chicaco
null -
How to call jsp from web dynpro app.
Hi Frndz,
How can I call a JSP from my web dynpro(and here i don't want to redirect to JSP ),I want to call a JSP which can show a message window as alert on top of WDP view.
Here am using CE 7.2 SP1, and my requirement is to call the model(back end) for every minute interval and need to give alert that how many new records r added.With WDP java i haven't find any option to give alert r notifications about new records added, so am thinking to call JSP where I will pass the parameter which can show a alert r notification(like FACEBOOK n outlook notifications).
Please share any ideas ti achieve this,
Thanks in advance.
Regrads
RajeshHi,
If your application should open in a new url, then you can use link to url action to open jsp.
You can also use EPCF navigation api to call any pcd page as well external links
i.e
WDPortalNavigation
.navigateAbsolute("link",[parameters]);
Since your passing parameters, you build url in both the cases.
Ram -
Getting ie error when calling event from code.
Hi all!
I've got an application (running on 6.40 sp8, ep6 sp2) that is pretty basic by all means. Since I want to implement some way to tell the user when he/she has made an error or just to inform him/her about something, I decided to use the ConfirmationDialog.
I've created an action called onActionShowErrorMessage in my view. This action is tied to my controller and an event defined in the controller.
Hence, when I want to show the ConfirmationDialog to show the user an error message, I call the controller method and in the method I fire the event that my view method is looking for.
So far so good..
When I call my controller method from a button action in the view everything works nicely, but when I try to call it from the wdInit method it fails?! I do get the ConfirmationDialog up but I also get an IE error window telling me that IE is trying to open a page it cannot find. I have no idea why it tries to open any page at all, since there is no navigation defined for this action.
Anyone got an idea? I couldn't find any good stuff in the system logs either
Best regards,
AndreasHello Sam!
Thanks for your answer! I would like to use something more of a pop thing, since i want to make sure the user sees it. The MessageManager does not work as good as it used to anymore, since it puts all messages in the bottom of the page. This page needs to be scrolled in order to see the error message..
Anyone got an idea of a workaround? I'm reading a propsfile, and in case I'm not able to read it I want to display this to the user.
B.R
Andreas -
Database connection error when running report from web application
Hi all,
When I open a report in Reports Builder , and enter the database connection parameters, everything works fine. When I run my web application from JDeveloper (9.0.5.1), and I tried to run a report, I get this error:
Rep-501 : Unable to connect to the specified database.
I have ran tnsping, and it works fine. My tnsnames.ora file looks like this :
GPGWL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
(CONNECT_DATA =
(SERVICE_NAME = GPGWL)
)Please ask this question in Jdeveloper forum.
-
XML Deserialization Error when calling WebService from WebDynrpo
Hi all,
when calling a WebService-method from my WebDynpro-application, I get the following error message:
"Deserializing fails. Nested message: XML Deserialization Error. Can not create instance of class [com.karmann.ApplMan.dto.SoftwareKomponenteDTO] when deserializing XML type [urn:com.karmann.ApplMan.dto][SoftwareKomponenteDTO].."
SoftwareKomponenteDTO is a class that I have implemented. It implements Serializable and overwrites the methods "equals()" and "hashcode()". It contains members of types long, String and java.sql.Date.
The method I call needs an argument of type SoftwareKomponenteDTO. Other methods which return something of type SoftwareKomponenteDTO do not make any problems.
The same error message appears when I test the WebService-method in the WebService-navigator. So I assume that the problem is not the way I call the method from WebDynpro.
Thanks for help,
ChristophThanks for this hint, Amar. But this points directly to my next problem: How can I set this parameter. I know how to set flat parameters (e.g. of type long, boolean, etc.). But how can I set a parameter of a complex type?
For example I can call
wdContext.currentSaveElement().setIdFather(long id)
in order to set the parameter idFather of type long for the WebService-method save(). But there is no method
wdContext.currentSaveElement().setIdFather(SoftwareKomponenteDTO aKomp)
Could you please help me on more time?
Kind regards,
Christoph
Maybe you are looking for
-
Is Adobe Bridge included in my Creative Cloud Subscription. I have the Photoshop and Lightroom subscription for Mac
-
Hi All, We have created a Z Cube which is getting data from 0FI_GL_4 InfoSoucre. This is the common infosource for 0FIAP_O03, 0FIAR_O03, 0FITX_O03. All these cubes are having data in Prodution client. Now when I tested Data loading in Dev for my Z cu
-
MacBook Pro (15-inch, Late 2011) It turns on for less than 60 sec thens shutsoff by itself, it won't load to recovery hd partition, won't load to mac OS and already replaced with new MLB, but the problem still persist.. able to run ASD EFI but ASD OS
-
Creating a Business system in the SLD
I am receiving an error message when trying to create a business system in the SLD. The error is "The selected client has an associated logical system nae that is already used for another business system. Select a different client." Here is my issue
-
Adobe Form in ABAP not showing texts
Hello all, I have created an Adobe form to output a specific form with data from some import fields and from an internal table. During the layout of the form I put some of these import fields, which are character fields of various lengths on the form