cancel
Showing results for 
Search instead for 
Did you mean: 

problem while validating

Former Member
0 Kudos

hi

i am trying to validate the input fields for year range

iam getting this error . iam checking for th range and

String validation

com.sap.aii.proxy.framework.core.DataAccessException: Type conversion error, field P_YEAR, complex type class com.tcs.outfitmatchmodel.Zlgs_Car_Data

at com.sap.aii.proxy.framework.core.JcoBaseTypeData.propagateJcoException(JcoBaseTypeData.java:130)

at com.sap.aii.proxy.framework.core.JcoBaseTypeData.setElementValue(JcoBaseTypeData.java:751)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setAttributeValueAsString(DynamicRFCModelClass.java:669)

at com.tcs.outfitmatchmodel.Zlgs_Car_Data.setP_Year(Zlgs_Car_Data.java:725)

at com.customer.CustomerView.onActionpopulateCarData(CustomerView.java:345)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

FYI...

If you had make a changes on BAPI's import or export parameter after create a model in WD, you need to reimport the BAPI again.

Regards,

Eric

Answers (3)

Answers (3)

Former Member
0 Kudos

bhh

Former Member
0 Kudos

Hello Kishore,

It looks like you are calling SAP R3. Can you check the year format SAP R3 (Probably FM) is accepting and check which format you are passing. There could be mismatch in that.

Hope it helps.

Former Member
0 Kudos

Hi,

When are you getting this error?

Is there any change in structure at the backend? If so, have you reimported model and restarted server?

Regards,

Apurva