on 01-11-2011 3:18 PM
Hi,
In SAP ME 5.2 SP04, creating a shop order using data xchange xml. While creating shop order, SAP ME is accepting <ACTUAL_COMP_DATE>15-Jan-2011</ACTUAL_COMP_DATE>. But it is not accepting <PLANNED_START_DATE>15-Jan-2011</PLANNED_START_DATE> tag with dd-MMM-YYYY format and throwing the following exception:
IMPORT_RESPONSE>
<TOTALS failed="1" total="1" invalid="0" succeeded="0" />
<LOG>SHOP_ORDER_BO failed (SITE:EESSDS, SHOP_ORDERFCCHK11) Exception occurred: (Failed in component: sap.com/meear) Exception raised from invocation of public void com.sap.me.demand.ShopOrderBOBean.DXImportCreate(com.sap.me.frame.Data,com.sap.me.frame.Data,boolean) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.demand.ShopOrderBOBean@1b041843 for bean sap.com/meearxml|me.demand.ejb-5.2.4.0-Base.jarxml|ShopOrderBO in application sap.com/meear.; nested exception is: java.lang.ClassCastException: class java.lang.String:null incompatible with interface com.visiprise.globalization.util.DateTimeInterfaceap.com/meear at com.sap.engine.boot.loader.ResourceMultiParentClassLoader@72b3821a@alive; nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/meear) Exception raised from invocation of public void com.sap.me.demand.ShopOrderBOBean.DXImportCreate(com.sap.me.frame.Data,com.sap.me.frame.Data,boolean) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.demand.ShopOrderBOBean@1b041843 for bean sap.com/meearxml|me.demand.ejb-5.2.4.0-Base.jarxml|ShopOrderBO in application sap.com/meear.; nested exception is: java.lang.ClassCastException: class java.lang.String:null incompatible with interface com.visiprise.globalization.util.DateTimeInterfaceap.com/meear com.sap.engine.boot.loader.ResourceMultiParentClassLoader at 72b3821a alive Database rollback occurred Database commit occurred</LOG>
</IMPORT_RESPONSE>
</DX_RESPONSE>
I also tried Jan-15-2011, 01-05-2011 and some other formats
Could you please tell me which format I need to give.
Thanks,
Rajiv
Hi Rajiv
Instead of using
<PLANNED_START_DATE>15-Jan-2011</PLANNED_START_DATE>
try this
<PLANNED_START_DATE_ISO>2011-01-15T00:00:00.000Z</PLANNED_START_DATE_ISO>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.