cancel
Showing results for 
Search instead for 
Did you mean: 

Errors while building the project

Former Member
0 Kudos

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)com.abc.sap.taskl.allmodels.Ztask_Result 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,

Chandrashekar.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Regards,

Sayan Ghosh

Former Member
0 Kudos

Hi Sayan,

I got my Server restarted.But i had re-imported the model again(the same one).

So do i need to restart my Server again?

If atall even if the errors appear after the server has been restarted what might be the problem.

Please help me out to resolve this issue.

Thanks and regards,

Chandrashekar.

suresh_krishnamoorthy
Active Contributor
0 Kudos

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