on 04-24-2007 5:54 PM
Hi all,
trying to call a BAPI using the RFC adapter I get the exception
[code]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) JCO_ERROR_CONVERSION: Number 0000000000844.000 cannot be encoded as a BCD of length 13 with 3 decimal places at field ENTRY_QNT[/code]
The field ENTRY_QNT is data element ERFMG, which is domain MENG13 which has
- No. characters 13
- Decimal places 3
- Output Length 17
So I thought "0000000000844.000" should be the required representation of that number. Since it failed I have tried the representations "0000000000844", "0000000000844.000", "000000000844,000", "0000000000844,000", "0000000844,000", "000000844,000" but I always get the same result.
Connection test on RFC destination AI_RUNTIME_JCOSERVER is successfull.
Any idea?
Thanks
Rainer
Hey Rainer,
have you tried it without left zeros?
Since it is a quantity value, it would be possible that it can't handle left zeros.
Just use FormatNumber standard function with value as (#############.###).
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to check RFC interface (wsdl tab) encoding in XI Integration builder. Try to delete the encoding and try it. Probable this might be helpful..
Regards,
Daniel.LA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
see if this link helps:
http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check for any dumps in st22
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.