cancel
Showing results for 
Search instead for 
Did you mean: 

WDTypeNotFoundException: type model.types.Zbtr_Wbselement could not be load

Former Member
0 Kudos

Hello All,

I have done a search on SDN for "WDTypeNotFoundException" and most of the suggested answers are pointing to profiles issues. I have worked with my system administrator and we have more or less come to the conclusion that profile issues is probably not the case.

Below is the error message that I am getting.

//=============================================

com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type com.sap.model.types.Zbtr_Wbselement could not be loaded: com.sap.dictionary.runtime.DdException: Type com.sap.model.types.Zbtr_Wbselement does not exist

//=============================================

I have done a search under my Data Types --> Simple Types and I can see the Zbtr_Wbselement being imported by my aRFC import model.

Can someone advise what else I must still do ? Thank you very much.

from

Kwok Wei

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Btw, I have also already ensured that my JCo settings are OK too.

Former Member
0 Kudos

Hi

The profile issue here points the metadata user. Does the metadata user have the right profiles to call the FMs that retreive metadata. Try with SAP_ALL for the metadata user and see if you still have the problem

Regards

Pran

Former Member
0 Kudos

Hello Pran,

Sap_all was the first thing I tried 😜 Unfortunatley that does not help.

from

Kwok Wei

Former Member
0 Kudos

Hi

Was the screen working before , did u get the error after a re deployment?

Regards

Pran

Former Member
0 Kudos

Hello Pran,

It was working when I tested it with the GetFlightDetails FM in the sample tutorial. However, when I try to import my own model, I was greeted with this exception.

from

Kwok Wei

Former Member
0 Kudos

hello Kwok

this exception is mostly encountered when there is some problem with ur JCo connection. did u rename the meta and model data variables while importing the model. just try with default connection.

regards,

Piyush.

Former Member
0 Kudos

Hi Kwok,

There are several possibilities with this Exception:

1. JCO connections are nor configured properly.

2. Pool size of JCO connections exceeded.

3. After reimporting model, Server needs to restart to resolve Cache conflicts.

4. Sometimes it creates problem with WAS version.

Check all this reasons for your case.

regards,

Bhavik

Former Member
0 Kudos

Hi kwok

Well your JCO connections are ok and you said it was working before right. Now when you said you added your own RFC then you started facing this problem. Did you delete the Flights model and then add this RFC or did you add your RFC model as a separate model.

One thing you can do is delete your models.

Reimport your RFC model.

Do the mapping again.

It will then say "It is recommended to restart your J2EE server".

Restart the J2EE and then Rebuild and Deploy. You should be good to go.

PS : I hope by mistake you have not selected "Application Data" while creating JCO Metadata connection.

Anyway do the steps i had mentioned and it will work just fine for you. :). We face this problem now and then.

regards

ravi

Former Member
0 Kudos

Hello ALL,

The problem was resolved by removing WD_RFC_METADATA_DEST and WD_MODELDATA_DEST from the JCo settings are re-creating them again. Strange.

Still many thanks to the guys here for the suggestions and help.

from

Kwok Wei

Former Member
0 Kudos

Hi Kwok,

If you have resolved the problem then please close this thread.

Regards,

Bhavik

Former Member
0 Kudos

Hi

I have the same problem but , its something strange where i am not able to identify this,

I have proper JCO Connections test and ping are fine.

i have deleted the model and tried to get new model

and restarted the system too

but still i am comming across with the same error

could some one please suggest me how to resolve this.

Please find my earlier thread posted

it would be greatfull for me if some one can guide me on this

Hi,

I tried to re-import bapi from one of our servers ODA, i came across with new exception,

infact all the bapis which i am trying to reimport are resulting with same type exception....

i confirm that my JCO Destinations are fine

configured properly the data type for Application data and Dictonary Meta data properly in My JCO Creations in webdynpro content administrator

ping and test are successfull, i have even restarted the J2EE server once i re-imported the bapi.

Please find the error message,

it will be a great help if some can provide me you views on this

com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type com.airliquide.baicalv2.model.types.Konda could not be loaded: com.sap.dictionary.runtime.DdException:

Type com.airliquide.baicalv2.model.types.Konda does not exist

Thanks and Regards

Chandra

Answers (0)