cancel
Showing results for 
Search instead for 
Did you mean: 

changed structuere of RFC not found after Re-import

Former Member
0 Kudos

hi guyz

The RFC i am using has changed and one new input field was added to RFC. Now i have reimported the RFC, the model is showing the changed field as well. But the problem is that while deploying it throws follwing Exception.

com.sap.tc.webdynpro.progmodel.context.ContextConfigurationException: DataNodeInfo (SalesOfficerComp.Zpdp_Cust_Salesgrp_Input.SaleGrpOutput.Out_Table): structure field Mkt_Type not found

The changed field is of type Mkt_Type.

I am not getting any clues regarding this.

Please help me to sort out this problem.

Thanks.

Deeps

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hai deepak,

Whenever you reimport your model you need to restart your j2ee server to make the changed contents available.So restart the server and your issue ll be fixed.

Thanks and Regards

Sharanya.R

Former Member
0 Kudos

Hi Deepak ,

There is one more method to solve this issue i.e through cache invalidation tool .

Check if the tool is been installed in your portal.

Check this link

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10465350-b4f5-2910-61ba-a58282b3...

If this doesn't work Restart is the only solution

Regards

Akshaya

Former Member
0 Kudos

hi Akshaya

thanks for such a nice link.

but the problem persists even if i changed the j2ee destination in NWDS. that means the problem is not with j2ee cache.

Deepak

hi Akshaya it worked.

i used the invalidation tool and now application is working fine.

thanks for the link

thanks & regards

Deepak

Edited by: Deepak Salokhe on Feb 6, 2008 6:32 PM

former_member751941
Active Contributor
0 Kudos

Hi Deepak,

Follow the steps.

Step 1: Remove the model from the used models.

Step 2: Re import the Model using the changed RFC.

Step 3: Rebuild Project

Step 4: Use the new model in used models.

Step 5: Go to the Diagram view and do the mapping once again between

i> Used Models and Component Controller

ii> Component Controller and View.

Step 6: Build and Deploy.

Regards,

Mithu

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi deepak,

Ask your Basis people to restart the server then only recently changed BAPI structure will get reflected to the portal(SLD). SAP also recommended to restart the server if there is changes in RFC (BAPI).

Restart will solve your problem.

Regards, Suresh KB

Former Member
0 Kudos

hi Suresh

thanks

But the fact is that in past whenevr the RFC got changed only thing i did was reimporting it and nothing else.

still then it worked till date without any problem.

Do Youthink that is the only solution since restarting the server each time the RFC changes is not feasible.

Do you find any other thing to be done to solve it????

Deeps

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Deepak,

Yes we have to restart the server if there is changes in RFC. once you reimport the model you will get message for restarting server and it is recommended by SAP.

No other solution right now.

Regards, Suresh KB

Former Member
0 Kudos

Hi deepak its mandatory to restart the J2EE engine after you re-import the model.Then only the changes will be reflected.Or else if dont want to restart the server then create a model with the changed BAPI.