on 05-02-2008 12:52 PM
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.
ok i see,
Data Element LABST is active ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.