cancel
Showing results for 
Search instead for 
Did you mean: 

About the RFC function changed and reimport Model

Former Member
0 Kudos

Dear superman,

I changed the length of a field in one RFC function, but I got the error message when I re-deploy this application. Following is the steps:

1) Changed the Length of field in RFC function in CRM.

2) Restarted the J2EE server

3) Re-imported the model (I found the length of the field was changed in NWDS)

4) Rebuild this application and deployed, and server returns the error message.

What's wrong with my operation? Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Your operations are fine, but I believe the sequence of the processes is an issue. You should,

1) Changed the Length of field in RFC function in CRM

2) Re-imported the model, Rebuild the application

3) Restarted the J2EE server

4) Rebuild this application and deploy it

Hope it helps..

Cheers!!!

Umang

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear all, problem is resolved, thanks a lot for your reply.

Former Member
0 Kudos

Hi,

My advice is to restart the J2EE server AFTER you have deployed the application for the first time after re-import. That makes sure the metadata is newly determined.

So, 5) Restart J2EE server.

Hope this helps.

Regards,

Alain.

Former Member
0 Kudos

Once more question: How about rebuild it?

former_member218672
Active Contributor
0 Kudos

Hi Jie,

You can try deleting the metadata cache. Check this link - http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10465350-b4f5-2910-61ba-a58282b3b...

Regards,

Sen

Former Member
0 Kudos

I totally agree with Alain that you should reimport, build and re-deploy the project before re-starting the J2EE Engine.

Regards,

Tushar S