cancel
Showing results for 
Search instead for 
Did you mean: 

Why WebDynpro UI doesn't work while JCo Connection successfully.

Former Member
0 Kudos

My system landscape has 3 server

-R/3(ABAP)

-Exchange Infrastructure(ABAP+J2EE) : SLD

-Auto-id (ABAP+J2EE): Auto-id 2.1(compose of ABAP add-on and deploy j2EE SCA)

on Auto-id, My JCo Connection using username and password.

I would like to know

-what is the cause of the following error?

-How to fix this problem to make <b>http://myServer:myHTTPport/webdynpro/dispatcher/sap.com/ainsodesktop/DesktopApp work</b> ?

-


Error stacktrace:

<b>com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type com.sap.ain.model.executionstatus.types.__Ain__Dm_Doc_Type could not be loaded: com.sap.dictionary.runtime.DdException:</b>

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

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

at com.sap.tc.webdynpro.progmodel.context.AttributeInfo.init(AttributeInfo.java:471)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initAttributes(NodeInfo.java:771)

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

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

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.clientserver.cal.ClientComponent.init(ClientComponent.java:346)

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

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)

at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)

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

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)

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

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

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

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

Caused by: com.sap.dictionary.runtime.DdException:

at com.sap.dictionary.types.mdi.util.ProviderUtil.createAbapTypeXmlMap(ProviderUtil.java:400)

at com.sap.dictionary.runtime.mdi.DataProvider.createSimpleTypeFromAbapType(DataProvider.java:587)

at com.sap.dictionary.runtime.mdi.DataProvider.getDataType(DataProvider.java:286)

at com.sap.dictionary.runtime.DdDictionary.getDataType(DdDictionary.java:81)

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

... 31 more

-


Thank you.

Nutida

Accepted Solutions (0)

Answers (9)

Answers (9)

Former Member
0 Kudos

Dear all,

My WebDynpro UI work successfully.

<b>Cause</b>

imported AIN using SAINT but forgot import AIN component using SPAM

<b>Solution</b>

Import AIN component at spam and choose Message server which import the component in 'Maintain JCo connection'.

Thank you for all help.

Nutida

Former Member
0 Kudos

Dear Anilkumar,

Which profile for accessing the DDIC types?

Thank you,

Nutida

Former Member
0 Kudos

Dear Rohit,Bhavik

I am not sure that

-what's the model which use for reimport? J2EE.sca,right?

-If yes, is it impact to the current system configuration or operation if i reimport into the current location?

Thank you.

Nutida

Former Member
0 Kudos

Hi,

For my knowledge user should have special profiles on the backend system for accessing the DDIC types.

Regards, Anilkumar

Former Member
0 Kudos

Dear Pran,

How can i check in the backend which i am trying to call has the required function modules? What's transaction?

Regards

Nutida

Former Member
0 Kudos

Hi Nutida,

You can look at function module through transaction SE37.

If you don't knoe the function module then check what is the name of your model node. your function module name would be same as your model node name.

Regards,

Bhavik

Former Member
0 Kudos

hi,

Usually this error comes when sld is not configured correctly or the JCO connections are not set correctly.Please verify it once more.At runtime the application is trying to fetch the dictionary types for the model metadata .But it is not able to do so .That is why you are getting this error.If this wont work then reimport the model once more

Regards

Rohit

Former Member
0 Kudos

Dear all,

I have already tested JCo connection follow as both suggestions and found that its connection successful. I wonder <b>this error can occur by only improper JCo connection,Right?</b>

<b>Or,Are there any cause to make this error occur?</b>

Thank you,

Nutida

Former Member
0 Kudos

Hi Nutida

Did you check if the backend you are trying to call has the required function modules

Regards

Pran

Former Member
0 Kudos

Hi Nutida,

After importing model for your RFC have you re-imported anymore?

If yes then restart your J2EE engine once then check it out again.

Regards,

Bhavik

Former Member
0 Kudos

Hi Nutida

If you are creating or changing code(doing import) consider doing to another name space , I see sap.com in the URL. My assumption was this was standard SAP delivered code. This however is not related to the current problem.

Regards

Pran

Former Member
0 Kudos

Hi Nutida,

Check your JCO connections are working properly or not.

For that go to http://<Auto-id's IP>:50000/webdynpro/welcome

there, click on content administrator.

here you can find your JCO connections by clicking on Maintain JCO connections.

Test your JCO connections here.

Regards,

Bhavik

Former Member
0 Kudos

Go to Content Administrator, check if the JCO Connections are proper.