cancel
Showing results for 
Search instead for 
Did you mean: 

exception Type doesn't exist ...

former_member215107
Active Participant
0 Kudos

Hi everybody !

When i run my WD application, i obtain the following exception:

The initial exception that caused the request to fail, was:

com.sap.dictionary.runtime.DdException: Type com.sap.tut.wd.flightlist.model.types.Labst 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:587)

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

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

at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:164)

... 53 more

Labst is a output variable from an model.

In the Custom Controllers, the properties of this variable:

name: Labst

type: com.sap.tut.wd.flightlist.model.types.Labst

I don't understand why i have this exception.

But Can i change the type of this Labst output variable into a string type ?

or any suggestions ?

Thanks

Rodolphe.

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member215107
Active Participant
0 Kudos

ok i see,

Data Element LABST is active ...

former_member215107
Active Participant
0 Kudos

Hi Vinod,

Data Element QUAN is own to SAP like CHAR and DEC ...

But How i can verify that this Data Element is activated or not ?

Thanks

former_member215107
Active Participant
0 Kudos

For more information,

i had created a RFC function module ZTEST_RLA

with in Import Field:

Parameter name: MATNR

Typing: LIKE

Associate Type: MARA-MATNR (MARA is a table)

with in Export Field:

Parameter name: LABST

Typing: LIKE

Associate Type: MARD-LABST (MARD is a table)

LABST has Data Type "QUAN" with 13 characters and 3 decimal places.

How Web Dynpro can know the type of LABST ?

Can i force in Web Dynpro the type of LABST ? (for example change the type in float ?)

Thanks for yourh help ...

Rodolphe.

Former Member
0 Kudos

Hi Rodolphe,

Try this:

1. Re-import the model

2. Restart the J2EE server

3. Rebuild the project

4. Deploy it.

Regards

Vinod V

Former Member
0 Kudos

Hi,

Adaptive RFC will take care of the problem that you described before( changing the type to float). Thats the feature of Adaptive RFC.

In your case i think the MARD is a table type and LABST is the parameter name. The DataElement name would be QUAN and its of type char(13).

check that the Data element that i mentioned is activated.

Thanks

Vinod V

former_member215107
Active Participant
0 Kudos

Hi Jhansi,

Thank for response ...

But, i restart the server, i recreate a new project and i reimport the model ...

and i obtain always the same error ...

Help...

Thanks

Rodolphe.

Former Member
0 Kudos

Hi,

If there is any change in the RFC structure after importing the model then you will get that error.In order to resolve that Re-import the model and then restart the server.

Even though you are getting the error after restarting the server, then try changing the package name of model class(name space).

This solves you problem.

Thanks n Regards,

Jhansi Miryala