cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Adapter : JCO_ERROR_CONVERSION : Unparseable date

Former Member
0 Kudos

Hi all,

We are working with RFC Adapter .

We are getting the following error in RWB -->

Component Monitoring --> Adapter Engine --> RFC

Adapter

" JCO_ERROR_CONVERSION: Date '01.12.2005' has a wrong format at field VALIDITYBEGIN: Unparseable date: "01.12.2005" "

- Error: 2006-02-03 11:17:13 IST: Message processed for interface BAPI_BANKDETAIL_CREATE: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not convert request from XML to RFC:com.sap.mw.jco.JCO$ConversionException: (122)

Can anyone please suggest how to resolve it .

Regards,

Shikha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In which format the date is passed from XI?

If, it is of type Java Date there will be No conversion issue else if the it of Type <b>String</b> then the date should be in the format <b>YYYYMMDD</b>.

Hope this helps you.

Former Member
0 Kudos

Hi,

BAPI takes the date format as yyyymmdd.

We can convert our source date format in mapping to what ever the required format by using the DateTrans function.

Thanks

Mohan

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi all ,

Thanks for the replies ..

Problem is solved .

Shikha

Former Member
0 Kudos

Hi Suraj ,

Can you please elaborate on the format part of this .

(since we feel that the format is same )

Thanks

Shikha

Former Member
0 Kudos

Dear Shikha,

If you have mapped your ValidityBegin with current date field in IR then please see the format .

Regards

Prabhat

former_member187339
Active Contributor
0 Kudos

Hi,

Check the format of the field VALIDITYBEGIN...Check the format given by the field in RFC and the format used in XI.

Regards

Suraj

former_member187339
Active Contributor
0 Kudos

Hi

Hope you have got the idea on the format....

Regards

Suraj