cancel
Showing results for 
Search instead for 
Did you mean: 

Date format of PLANNED_START_DATE while shop order using data xchange xml

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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>

Former Member
0 Kudos

Hi,

Thanks its working fine....

regards,

rajiv