cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime error in PRD but working in DEV.

Former Member
0 Kudos

Hi,

my application is running fine in DEV but a runtime exception occurs in PRD.

com.sap.tc.webdynpro.progmodel.context.ContextConfigurationException: DataNodeInfo(Emporgcust.Zhr_All_Reportees_Input.Output.It_Disp11): structure field Emp_Desig not found

at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:299)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:687)

at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:238)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)

BAPI is there in PRD & working fine.

Regards,

Amit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If structure field "Emp_Desig" is newly added then this is the problem with metadata cache issue.

Try invalidating the metadata chache using the below document:

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

Or else the final solution is:

Restart Portal Server

See the below thread also for these kind of meta data chache issues:

Regards,

Charan

Former Member
0 Kudos

Problem resolved by restart of server.

Thanks,

Amit

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Amit,

Most probably this type of issues are because of data or Cache problems.

Is Emp_Desig is a mandatory field (Cardinality 1..1) ?

If that is the case, in Production the data for Emp_Desig field is not coming from RFC. Execute the RFC module directly and check whether the data is coming for Emp_Desig or not.

Regards,

Jaya.

Former Member
0 Kudos

Hi,

Any new structure field (Emp_Desig) is added to the bapi?

I think the problem is due to Metadata Cache Invalidation.

Try to invalidate the Metadata Cache of the model through webdynpro console.

Go through the below link.

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

Hope this helps you in resolving the problem...

Regards,

Saleem