Hi,
I am using SAP ME 6.0.4.10 and have an issue concerning the HoldService.releaseShopOrderFromHold Webservice.
I extended the SAPMEINT workflow for LOIPRO01.
- LOIPRO01 imported --> ErpProductionOrderService.ProductionOrderUpdateRequest_sync creates a production router for this order and a SFC.
- LOIPRO01 for same order, but modified steps imported --> ErpProductionOrderService creates a 2nd revision of the production router for this order and places the order and SFC on hold.
- The SFC's router was changed to the new router revision (ChangeProductionService in PassHandler).
So fare everything is as expected. Both order and SFC could be released from hold via GUI.
But finally the order and SFC should be released from hold automatically (PAPI HoldService.releaseShopOrderFromHold in PassHandler).
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mep="mepapi:com:sap:me:production" xmlns:prod="http://www.sap.com/me/production">
<soapenv:Header/>
<soapenv:Body>
<mep:releaseShopOrderFromHold>
<mep:Site>3000</mep:Site>
<mep:Request>
<prod:shopOrderRef>ShopOrderBO:3000,60003690</prod:shopOrderRef>
<prod:releaseComments>SAPMEINT</prod:releaseComments>
</mep:Request>
</mep:releaseShopOrderFromHold>
</soapenv:Body>
</soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ReleaseSOBean.releaseImmediateHold(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ReleaseSOBean@7739225b for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ReleaseSO in application sap.com/me~ear.; nested exception is: javax.ejb.TransactionRolledbackLocalException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBTransactionRolledbackException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ReleaseSOBean.releaseImmediateHold(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ReleaseSOBean@7739225b for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ReleaseSO in application sap.com/me~ear.; nested exception is: javax.ejb.TransactionRolledbackLocalException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBTransactionRolledbackException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBTransactionRolledbackException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ReleaseSOBean.releaseImmediateHold(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ReleaseSOBean@7739225b for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ReleaseSO in application sap.com/me~ear.; nested exception is: javax.ejb.TransactionRolledbackLocalException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBTransactionRolledbackException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ReleaseSOBean.releaseImmediateHold(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ReleaseSOBean@7739225b for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ReleaseSO in application sap.com/me~ear.; nested exception is: javax.ejb.TransactionRolledbackLocalException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBTransactionRolledbackException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/me~ear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.production.ActivityLogBOBean.log(com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.production.ActivityLogBOBean@48a1cf6d for bean sap.com/me~ear*xml|me.production.ejb-6.0.4.10.jar*xml|ActivityLogBO in application sap.com/me~ear.; nested exception is: java.lang.ClassCastException: ShopOrderBO:3000,60003690</faultstring>
<detail>
<ns2:ResolvedBusinessException xmlns:ns3="http://www.sap.com/me/production" xmlns:ns2="mepapi:com:sap:me:production">See the NetWeaver developer trace log for stack trace information.</ns2:ResolvedBusinessException>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Does anyone have an idea if and how this exception can be avoided?
If it is a bug if will report it, but i won't have enough time to wait for the bugfix. ;-)
Best regards,
Martin