on 02-05-2008 4:35 AM
hi all,
can any body help me how to solve the below error
com.sap.aii.af.ra.ms.api.DeliveryException: 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) JCO_ERROR_CONVERSION: Date '08.t20' has a wrong format at field DOC_DATE: Unparseable date: "08.t20"</
thanks and regards
sandeep
Sandeep ,
Can u check the date value tat u r passing to DOC DATE field?
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ihave used even this getPriviousMounthLastDate user defined function before using FileName
Calendar cal = Calendar.getInstance();
SimpleDateFormat output = new SimpleDateFormat("yyyyMMdd");
cal.add(Calendar.MONTH,1);
cal.set(Calendar.DAY_OF_MONTH,1);
cal.add(Calendar.MONTH,-1);
cal.add(Calendar.DATE,-1);
StringBuffer dateBuffer = new StringBuffer();
output.format(cal.getTime(),dateBuffer,new FieldPosition(0));
return dateBuffer.toString();
There is some problem in the Date format.Are you using Jco calls from the message mapping ??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i had used a user defined function can you please look into the user defined functionFileName in the mapping for the target DocDate field
{
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(
"http://sap.com/xi/XI/System/File",
"FileName");
String valueOld = conf.get(key);
return valueOld;
}
can you please look into the above code
thanks
sandeep
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.