Skip to Content
avatar image
Former Member

problem while validating

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)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 20, 2008 at 08:32 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 19, 2008 at 11:11 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 19, 2008 at 11:57 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 03, 2011 at 05:31 AM

    bhh

    Add comment
    10|10000 characters needed characters exceeded