on 03-09-2007 9:16 AM
Hi
My problem is with the data length(conversion) in File to RFC scanario.
Data length(10 digits) of the field of decimal data type in file is more than the field(8,2) in RFC. So this is resulting into an JCO Conversion Exception.
Please find the error message :
om.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: Number 185000 cannot be encoded as a BCD of length 7 with 2 decimal places at field ZZGFCO_VAL1
Now we have to produce the XML file/Alert/ in case of this type of errors ?
What can we do to avoid this type of validation error/exception ? so that we can ignore this validation .
Kindly provide your precious inputs.
Thanks,
Ramesh
Hi,
check the leading zeros and flag the "Unicode" box into the RFC adapter parametrization if you are exchanging data with an Unicode system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ramesh,
What can we do to avoid this type of validation error/exception ? so that we can ignore this validation
>> you need pass input 8,2 format otherwise it will throw an error because RFC excpets this way.To avoid these you need to send correct format or increase the length of the RFC field.
Now we have to produce the XML file/Alert/ in case of this type of errors ?
>> you need to configure Alters for these type of errors. to do that you need to defin alters in XI
Regards
sreeram.g.reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can raise the alert from Message mapping through the below blog.
Triggering XI Alerts from a User Defined Function - /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
Alerts with variables from the messages payload (XI) - UPDATED -
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Or you can raise exception from message mapping based on payload value.
Regards
Chilla..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.