Skip to Content
avatar image
Former Member

Errors while building the project

Hi Friends,

I have a Model named ALLMODELS,in this models i have about 10 function modules.

In these 10 function models 5 of them have been updated(structure was changed-a table was added).

So i had re-imported the model ALLMODELS.

But when i have built my application i have these errors:

1)The return type is incompatible with DynamicRFCModelClassExecutable.getResult()

2)The return type is incompatible with ICMIQuery.getResult()

3) cannot be resolved (or is not a valid type) for the argument o of the method addResult

We are getting all the problems after the creating a new structure in the 5 function modules.

Please help me out to resolve this issue.

Thanks and regards,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 24, 2008 at 01:23 PM

    I think this would be solved if u restart the Web Application Server.


    Sayan Ghosh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Chandrashekar,

      After re importing the model if you seen any changes in BAPI structure, it is necessary to re-start server otherwise its not needed. After first model usage metadata get cached and stay in cache as long as server is running. So even you have modified model, stale metadata is returned unless you restart server.

      Regards, Suresh KB