cancel
Showing results for 
Search instead for 
Did you mean: 

Reimport Model

Former Member
0 Kudos

I am developing one WEB Dynpro application that use the RFC function.When the interface of the function is modified I reimport the model and modify my application to display new field of the function. After my WEB Dynpro application is done, I deploy it.At this point its all OK. But when I execute the application is tigered one error that the field of the function not exist. I have that to restart the portal so that new fields are recognized. Is There one other alternative to do it?

thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Elton,

Vijayakhanna is right: it is necessary to re-start server. 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.

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com

Former Member
0 Kudos

This is one of the most frustrating aspects of Web Dynpro development!

I really wish SAP would provide some way for the metadata cache to either automatically update or at least provide an application in the portal or on the WAS to refresh the cache.

Here's hoping...

Gareth.

Former Member
0 Kudos

Hi

You don't reimport the Model.

1.Remove the model from your Project

2. Remove all bindings and nood

3. Recreate the mode and make binding

Kind Regards

Mukesh

vijayakhanna_raman
Active Contributor
0 Kudos

Hi,

Once u re-import the model u better restart it also.

Regards,

Vijayakhanna Raman