on 02-24-2008 12:43 PM
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.
I think this would be solved if u restart the Web Application Server.
Regards,
Sayan Ghosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.