Skip to Content
avatar image
Former Member

Error while executing RFC

Hi,

I am facing below error when executing Function Module.Please let me know solution for this error.

com.sap.aii.proxy.framework.core.DataAccessException: Type conversion error, field I_FR

Regrads,

PortalAD

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jul 13, 2010 at 08:42 AM

    Hi,

    There is difference in the data type for the filed:I_FR in backend and NWDS.

    1.Check the field type in the backend

    2.Check the field type in nwds->go to context->properties

    If there is a difference in fld type pls reimport the model and restart the j2ee server.

    Let me know the diff types for the fld:I_FR?

    Regards.

    Lavanya.G

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 13, 2010 at 08:45 AM

    Hi PORTALAD,

    Please check the field I_FR data type in backend and correct it accordingly. then re-import the model and restart your Java Stack server.

    Hope it will helps

    Regards

    Arun

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      get the value from RFC as Integer and set it in ur context as a string.

      wdContext().currentContextElement().setIntegerToString(""+<value from RFC>);

      when u send the parameter to RFC parse it to an Integer and set.

      Integer intValue = Integer.parseInt(wdContext().currentContextElement().getIntegerToString);

      int value = intValue.intValue();

      use this to set in ur RFC.

      Regards,

      Poojith MV