on 2005 Nov 16 11:09 AM
Hi,
I am pulling data from a DB2 table using JDBC adapter and inserting into sap R3 using RFC adapter. The DB2 table has a field pay_ref with integer 4 value. In design / RFC I have tried all combinations of data types but it gives me the following error message -
-
Exception caught by adapter framework: 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: Integer '167080' has to many digits at field.
-
This integer 167080 is pay_ref at DB2.
Could anybody help as to how I can map it ??
Thanks.
Preeti,
What type u have in RFC? If ur using some numeric types then try using FormatNumber builtin function in the map for this value.Sometimes it helps.
SourceField->FormatNumber->TargetRFCField.
regards
rajeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thankyou Udo and Rajeev for a prompt reply.
The cache is clear and after applying number formatting also I am getting the same error.
What data type should be ideally maintained in resultset if we are picking integer value .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Preeti,
i suppose a cache problem (adapter metadata). May be you can refresh them (SXI_Cache oder IB/Administration) or you copy your function to new name.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.