on 04-25-2014 11:52 AM
Hello Gurus,
I am facing following error in IDOC AAE channel scenario is SOAP to IDOC we are using Integrated configuration.I have mapped all the attributes in the IDOC to 1 and date formats are fine.On Analsys i found for the IDOC Field MENGE is not accepting Decimal values when the value 868.000 is passed IDOC AAE is failing with following error.
When i pass with out decimal like 868 Idoc is posting successfully.
using connection
File_http://sap.com/xi/XI/System failed, due to:
com.sap.aii.af.idoc.exception.IDOCAdapterException: Error before sending due to
idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException
occurred while parsing IDocXML for type :state=READING_FIELD_VALUE_TAG,
charPosition=441, lineNumber=1, columnNumber=442" tabIndex=0
ti="0" lsdata="{0:'Transmitting the message to endpoint using
connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException:
Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE:
An IDocConversionException occurred while parsing IDocXML for type
:\nstate=READING_FIELD_VALUE_TAG, charPosition=441, lineNumber=1,
columnNumber=442',7:true}" ct="TV"
bMarkedAsFocussed="true" bResetTabIndex="true"Transmitting
the message to endpoint <local> using connection
File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException:
Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE:
An IDocConversionException occurred while parsing IDocXML for type
<Z2MAK075IDOC>:
state=READING_FIELD_VALUE_TAG, charPosition=441, lineNumber=1, columnNumber=442
I have explored through forum but i didnt find exact solution how decimal values can be handled in IDOC AAE .Please through some light on the issue any help is higly apprecaited.
Regards
Praveen Maareddy
Hi,
My 2 cents on this issue.
Whenever there is an IDoc parse failure due to READING_FIELD_VALUE_TAG, try following the steps below.
The charPosition in the error helps to locate the data error in payload.
1. If unsure, first analyze the DATE and TIME fields in the payload to check if those are in SAP standard format.
2. Second, if data/time is not an issue, then verify if all data in idoc fields adheres to Data Type of the respective fields. Like check if a CHAR string is being passed on to an idoc field that is expecting data in DEC format.
Regards,
Jay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen
Check the data type of the field MENGE in ecc side. If its expecting a integer value, then you can not send the decimal values to it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Indrajit,
Thanks for the qucik reply data type is as follow.
MENGE : Numerical
value, 13 characters long internal data
type : NUMC
Internal length : 000013 characters
Position in segment : 004, Offset : 0093. external length : 000013
As it is NUMC i think should accept.
Kind Regards
Praveen Redy
Hi Praveen
Looks like it will not allow dot(.) or comma(,) .
Check this
A numc field will not allow you to post values like '.' or ',' to it. You need to get rid of the decimal point/comma. You can do that by multiplying the value by 100 or 1000... depending on your decimal places. Then it is possible to post that values to a numc field. A numc does allow only the numeric characters from 0 to 9. If this is not what you want (because you are dealing with an characteristic) you need to use a char infoobject or you need to use a keyfigure.
You can change the data type of MENGE like below
result TYPE p LENGTH 8 DECIMALS 3.
Hi,
Go through the following threads........
PI 7.30 - IDOC_AAE - IDOC_ERROR_PARSE_FAILURE | SCN
PI 7.30 - IDOC_AAE - IDOC_ERROR_PARSE_FAILURE | SCN
BR,
Anirban
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.