on 02-24-2011 2:46 PM
Hi,
When changing shop order status in Shop Order Maintenance I get an internal error message.
Version is 5.2.5.5.
The default trace says the following:
#2.0 #2011 02 24 15:39:19:898#+0100#Error#com.sap.me.trace#
##sap.com/meear#1CC1DE01D04401C900000001000024B8#1674450000000004#sap.com/meear#com.sap.me.trace.SAP ME#UMEUser#95##CC0B0B78402311E08355000000198CD2#d6a42797402311e0bef4000000198cd2#d6a42797402311e0bef4000000198cd2#0#Thread[HTTP Worker [@32144692],5,Dedicated_Application_Thread]#Plain##
(Failed in component: sap.com/meear) Exception raised from invocation of public com.sap.me.system.base.ApplicationVO com.sap.me.demand.ShopOrderApplicationBean.update(com.sap.me.system.base.ApplicationVO) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.demand.ShopOrderApplicationBean@9147677 for bean sap.com/meearxml|me.demand.ejb-5.2.5.5-Base.jarxml|ShopOrderApplication in application sap.com/me~ear.; nested exception is: com.sap.me.frame.domain.BusinessRuntimeException: No STATUS_MEANING records found for meaning 'Done'.
[EXCEPTION]
javax.ejb.EJBException: (Failed in component: sap.com/meear) Exception raised from invocation of public com.sap.me.system.base.ApplicationVO com.sap.me.demand.ShopOrderApplicationBean.update(com.sap.me.system.base.ApplicationVO) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.demand.ShopOrderApplicationBean@9147677 for bean sap.com/meearxml|me.demand.ejb-5.2.5.5-Base.jarxml|ShopOrderApplication in application sap.com/me~ear.; nested exception is: com.sap.me.frame.domain.BusinessRuntimeException: No STATUS_MEANING records found for meaning 'Done'.
com.sap.me.frame.domain.BusinessRuntimeException: No STATUS_MEANING records found for meaning 'Done'.
at com.sap.me.status.StatusUtils.meaningValue(StatusUtils.java:38)
at com.sap.me.status.StatusBOBean.meaningValue(StatusBOBean.java:255)
at com.sap.me.demand.ShopOrderApplicationBean.update(ShopOrderApplicationBean.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:43)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
Br,Johan
Hello Johan,
It seems to be data inconsistencey issue. Please check STATUS_MEANING table (where status_bo like '%503%' and status_meaning_type = 'Done') and make sure that status_meaning is in 'true'. It is possible that 'Shop Order Status When All SFCs Done' System Rule affected the behavior (by default its value 503).
For deeper analysis, please, open a support ticket.
Regards,
Alex.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex,
The rows that I find in STATUS_MEANING table all have status_meaing = true.
The system rule for 'Shop Order Status When All SFCs Done' is set to use global value of 503.
The internal error only happens on the app-server running 5.2.5.5. Our other app-server running 5.2.4.7
against the same database do not get the internal error.
Should I file a support ticket or can I still do more tests?
Br,
Johan
Hi Alex,
I have noticed that I only get this error on one site. Other SAP ME sites on the same server don't get this error.
I assume that this indicates some error in database like you suggested in your first mail.
I still would like to know how I can screw up the database just by using the system. I have not done any direct updates
to the database. I have been using xChange messages to transfer shop-orders.
Br,
Johan
Hi Johan,
You may also try to restore your default settings this way:
- delete from status_meaning where status_bo in (select handle from status where site = &site and status_group = 'ORDERS')
- delete from status where site = &site and status_group = 'ORDERS'
- Then run Reload Initial Data in Site Maintenance.
Please let us know if it helps.
Regards,
Alex.
Johan,
You can enable it in Logging Configuration section under manufacturing-admin context (http://wiki.sdn.sap.com/wiki/display/ME/Howtoaccessmanufacturing-adminandmanufacturing-xmlcontexts).
Please note that you will need to set the log severity for ME application to All in NWA.
Regards,
Alex.
Hi,
The problem is now solved. SQL trace showed that the orders were transferred via Xchange messages
with the wrong "Releasable" status 201.
By changing the transfers to use the correct "Releasable" status 501 for orders the error has now disappeared.
Thanks for the help in setting up SQL trace which lead me in the right direction.
Br,
Johan
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.