cancel
Showing results for 
Search instead for 
Did you mean: 

erro in file to mail scenario

former_member187437
Contributor
0 Kudos

Hi all

In file to mail scenario, i m getting a error

com.sap.aii.af.ra.ms.api.DeliveryException: com.sap.aii.messaging.util.XMLScanException: illegal value in {}Date

my input message to the adapter is

<ns0:Mail encoding="" xmlns:ns0="http://sap.com/xi/XI/Mail/30">

<Subject>hi</Subject>

<From>ps@cognet.com</From>

<To>ps@cognet.com</To>

<Reply_To>ps@cognet.com</Reply_To>

<Content_Type/>

<Date>12122007</Date>

<Message_ID/>

<X_Mailer/>

<Content>dfdfdfdf</Content>

</ns0:Mail>

Any idea where i have gone wrong?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Aarthi,

You need to enter date as in UTC format.

eg: 2007-11-02T09:28:28Z

Hope it helps.

Regards,

Sudharshan N A

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Try to send data with using the date feild if it works then probelm with the date format.

What is ur scenario.u can directly hard code the TO,FROM and other valus in mial adapter na.....

Can u be clear on ur senario so that i can help.

Regards,

phani

former_member335553
Active Contributor
0 Kudos

It shows value error in Date field Did u check for the format that is included in the dte

check in the data types the format u had mentioned for the date-mm/dd/yyyy/dd/mm/yyyyy/ddmmyyyy...

Former Member
0 Kudos

Data Error..Check the source and target filed Data Type(for Date field).

U can also use the DateTransformation Function from IR.

Better to pass the Currect Date format from the soruce.

Thanks

Farooq.