cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro Services Exception

Former Member
0 Kudos

Hi all,

I tried to run sample webdypro program 'WD Tutotial Flight Booking' after configuring SLD.

I got the following Exception.

<u>com.sap.dictionary.runtime.DdException: Type com.sap.tut.wd.flightbooking.model.types.S_Reserv does not exist</u>

com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type com.sap.tut.wd.flightbooking.model.types.S_Reserv could not be loaded: com.sap.dictionary.runtime.DdException: Type com.sap.tut.wd.flightbooking.model.types.S_Reserv does not exist

at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:250)

at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:213)

at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:318)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:670)

at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:233)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:654)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:657)

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:443)

at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:381)

at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:410)

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:207)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:654)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:657)

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:690)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:560)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:300)

at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:204)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:359)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:670)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:267)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:706)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:660)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:56)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:47)

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)

Caused by: com.sap.dictionary.runtime.DdException: Type com.sap.tut.wd.flightbooking.model.types.S_Reserv 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.getSimpleType(DdBroker.java:170)

at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:242)

... 49 more

Please help me to resolve this exception.

Thanks in Advance.

V.Das

Accepted Solutions (0)

Answers (1)

Answers (1)

luciano_leitedasilva
Contributor
0 Kudos

Hi,

Have you imported the model RFC and deployed it?

Import Model RFC, Rebuid and Deploy your project again.

Luciano

Former Member
0 Kudos

Hi Luciano,

After configuring SLD, I tried to run the sample program

from EP role Java Developer->Webdynpro , Webdynpro Tutorials-> Tutorials with SAP backend->FlightList / Flight Booking then I got the Webdynpro Services Exception.

Could please suggest how to resolve this problem?

Thanks & Regards

V.Das

luciano_leitedasilva
Contributor
0 Kudos

Hi,

Try do these steps:

1- Download the projet and import at your NW Developer Studio.

2- Reimport its Model

3 - Rebuild, deploy and test.

I think that these steps will solve.

Regards,

Luciano

former_member197348
Active Contributor
0 Kudos

Hai Vijay,

Have you tested JCo connection working properly? In the content administrator check whether <b>model</b> and <b>metamodel</b> instances for your project have proper JCo connection. After that login into SAP R/3 system with the <u>same credentials</u> in JCo and try to execute the BAPI. You can find out easily what is the problem.

OK,All the best.

Siva

Former Member
0 Kudos

Hi Guys,

My problem got solved after restarting the Enterprise portal server.

Thanks for your support.

V.Das

former_member192152
Active Participant
0 Kudos

If the restart does not work, check the connection to the backend. The user system of JCO in question may be in trouble. And if a new model to JCO was never able to cache the structures of BAPIs and for this reason the error is TypeNotFound.

att,

Angelo