Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Date Format Error

Hi frends,

iam working in file_rfc_file scenario in PI7.1.my source data type as XSD:Date format is dd/mm/yyyy and in rfc it as yyyy/mm/dd

Using Data transfer function i hve made all changes but iam stil iam geeting the same error as.

could not convert request from XML to RFC:com.sap.mw.jco.JCO$ConversionException: (122) JCO_ERROR_CONVERSION: Date '2010/05/12' has a wrong format at field DATUV: Unparseable date: "2010/05/12"

my input xml is.

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Mt_Ecsin xmlns:ns0="http://a.com/xi/erp/n47">

<Ecsin>

<Datuv>12/05/2010</Datuv>

<Equnr>10000958</Equnr>

<Stlan>4</Stlan>

<Stlty>E</Stlty>

<Trtyp>*</Trtyp>

<Werks>1000</Werks>

</Ecsin>

</ns0:Mt_Ecsin>

Help me out to sort this issue

With Regards,

Dinesh

Former Member
replied

>

> hi vijay,

>

> input data format is :dd/mm/yyyy

> outformat is : yyyy/mm/dd i have give ths in date transfer...but iam stil gettg the same error...kindly help me put...

>

> With Regards,

> Dinesh

not YYYY/MM/DD but YYYYMMDD (without / )

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question