IDOC AAE error:IDOC_ERROR_PARSE_FAILURE
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 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.
Problem with conversion char to numc in transference rules
You can change the data type of MENGE like below
result TYPE p LENGTH 8 DECIMALS 3.
Similar Messages
-
Error in IDoc AAE (Receiver) PI 7.3
Dear Experts,
I have a SOAP - IDoc scenario where I am using IDoc AAE reciver adapter for posting IDoc to SAP ECC system.
Message is successful in SXMB_MONI,however getting an error as below in receiver IDoc adapter.
Message processing failed. Cause: com.sap.aii.af.idoc.exception.IDOCAdapterException: com.sap.sql.log.OpenSQLException: Failed to set the parameter 9 of the statement >>INSERT INTO XI_IDOC_OUT_MSG ( IDOC_NUMBER , XI_MSG_NO , REF_NUMBER , ORIGINAL_IDOC_NO , IN_TIME , MESSAGING_TYPE , IDOC_TYPE , CIM_TYPE , SEND_PORT , SEND_PRTNR_NO , SEND_PRTNR_TYPE , CLIENT , STATUS , CONTROL_RECORD , CHANNEL_ID , ACK_NEEDED , ACK_RECEIVED , ARCHIVE ) values ( ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ) <<: Cannot assign an empty string to a parameter with JDBC type >>VARCHAR<<.
My payload for this message is --
<HU_CREATE01>
<IDOC BEGIN='1'>
<EDI_DC40 SEGMENT='1'>
<TABNAM>EDI_DC40</TABNAM>
<MANDT>120</MANDT>
<IDOCTYP>HU_CREATE01</IDOCTYP>
<MESTYP>HU_CREATE</MESTYP>
<SNDPOR>SAPPID</SNDPOR>
<SNDPRT>LS</SNDPRT>
<SNDPRN>BS_ORIWIN</SNDPRN>
<RCVPOR>SAPD3S</RCVPOR>
<RCVPRT>LS</RCVPRT>
<RCVPRN>D3SCLNT300</RCVPRN>
</EDI_DC40>
<E1BPHUHDRPROPOSAL SEGMENT='1'>
<HU_STATUS_INIT>A</HU_STATUS_INIT>
<PACK_MAT>000000000002001755</PACK_MAT>
<HU_EXID>00340042312419076037</HU_EXID>
<TOTAL_WGHT>11.123</TOTAL_WGHT>
<UNIT_OF_WT_ISO>KGM</UNIT_OF_WT_ISO>
<CONTENT>00002059911110071031</CONTENT>
<PLANT>9610</PLANT>
<STGE_LOC>2000</STGE_LOC>
</E1BPHUHDRPROPOSAL>
<E1BPHUITMPROPOSAL SEGMENT='1'>
<HU_ITEM_TYPE>1</HU_ITEM_TYPE>
<LOWER_LEVEL_EXID>00000000000000000000_Test</LOWER_LEVEL_EXID>
<PACK_QTY>12</PACK_QTY>
<BASE_UNIT_QTY_ISO>ZCP</BASE_UNIT_QTY_ISO>
<BASE_UNIT_QTY>ZCP</BASE_UNIT_QTY>
<MATERIAL>000000000000205991</MATERIAL>
</E1BPHUITMPROPOSAL>
</IDOC>
</HU_CREATE01>
Could you please give me your valuable input for the same.
Waiting for a reply.
Thanks in advance.
Best Regards,
Sugeet.Hello
Note #1688780 IDoc AAE Adapter fails to insert empty strings in database, has been created to resolve this error. The fix is still being tested, so the note is not available for download just yet. Once the fix is released, the note will be available for download.
Here are some further details on the cause of the error:
The issue occurs if the persistency of the IDoc_AAE adapter is enabled
via the 'Persistance' property for the 'JavaIdocAdapter' resource
adapter and one or more of the IDoc relevant properties (for example
sender/receiver port, partner number or type) of the XI message is/are
empty strings. As empty string insertion into database is not supported
by the persictency framework the above OpenSQLException exception is
thrown and the XI message processing fails.
Regards
Mark -
Hello Rescue Team,
I am facing the following error :\
16.06.2014 23:22:42.164
Error
Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZORDERS10>: state=READING_FIELD_VALUE_TAG, charPosition=526, lineNumber=1, columnNumber=527
16.06.2014 23:22:42.166
Error
MP: exception caught with cause 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 <ZORDERS10>: state=READING_FIELD_VALUE_TAG, charPosition=526, lineNumber=1, columnNumber=527
16.06.2014 23:22:42.190
Error
Exception caught by adapter framework: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZORDERS10>: state=READING_FIELD_VALUE_TAG, charPosition=526, lineNumber=1, columnNumber=527
16.06.2014 23:22:42.190
Error
Transmitting the message to endpoint <local> using connection EDISeparator_http://sap.com/xi/XI/EDISeparator 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 <ZORDERS10>: state=READING_FIELD_VALUE_TAG, charPosition=526, lineNumber=1, columnNumber=527
and the payload transferred is as attached in the attachment below.
I have refered various blogs, however I am still not able to understand how to get the exact location of the error location..According to me, the value that is giving trouble is OTH in <BSARK> however I have checked the permitted values for BSARK on ECC and OTH is maintained.
Can you please help how I can resolve this error.
Thanks
SaurabhHi Guys,
This is solved..I corrected the date format of the ZZTIME segment from 1157 to 115700.
Thanks
Saurabh -
Dear all,
I have a question about the IDOC AAE adapter on a PI 7.31 java only system with an ERP --IDoc--> PI --File--> FTP scenario
In my scenario I would need to change IDOC DC40 Segment information before the IDOC is being processed in the PI pipeline. Unforutnately I cannot change the header information directly on the sending system.
The processing on PI will fail due to the faulty DC40 settings, therefore I would like to correct the Segment before PI is processing the file.
I thought about using the PutPayloadValue bean to replace values in the IDOC XML structure but this does not seem to work. If I call the bean before "CallSapAdapter" in the module chain, this will result in the following error: "while trying to invoke the method org.w3c.dom.Node.appendChild(org.w3c.dom.Node) of an object loaded from local variable 'template_parent". Is this because the idoc xml is generated on the PI only after the CalSapAdater step and not already on the ERP? Or might it be due to miss-configuration? (I did not provide a namespace in the module settings of the bean as the IDoc XML structure has no namespace)
What other options would I have on PI to edit the DC40 segment before the pipeline processing?I had a similar issue on a different adapter type.
Please make sure to insert the appropriate namespace in parameter xmlns AND in the put value. Example:
xmlns xmlns:ns0="http://www.test.com"
put:/ns0:root/ns0:field1 "value"
If the xpath is not correct (you can test it here, for instance Simple online XPath tester) the insertion of the value into the node will fail.
Regards,
Antonio
ps. if you like to DEBUG, the .class bytecode of ALL SAP PI Standard Adapters can be found here: com.sap.aii.af.ejb.zip\com\sap\aii\af\app\modules -
Issues in IDoc Sender Scenario:IDoc with errors added
Hi all
Am working on an IDoc to JDBC scenario. In R/3 system, I have created distribution model, partner profile, RFC destination and port.The IDoc is generated and is sent to XI successfully. But in XI , there is no entry in SXI_MONITOR for this (unfortunately IDX5 is not available in the XI server! ;as of now). Instead an entry is made in WE05 and WE02 with stautus 56(IDoc with errors added). In the status record:
status 56 : External segment name E2KOMG003 cannot be interpreted
status 60 : Basic IDoc type COND_A03 could not be found.
And the segments displayed in data record are different from the segments in the data record of the IDoc generated at R/3. (say for E1KOMG at R/3, E2KOMG003 in XI).Earlier the flow was working fine and the DB table was updated successfully. And the entire stuff is believed to be 'unmodified' .
Would any one help in resolving the issue.
Thanks,
ChilankaHi,
>>>>I have created partenr profile in R/3.Need I create a partner profile in XI for R/3 system?
no you cannot create any partner profiles in XI
for more about IDOC configuration in XI check :
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
IDOC Syntax Error E0072 with status 26 after upgrade to ECC6.0
Hi
We have upgraded SAP R/3 from 4.6C to ECC6.0. After upgrade, when we create PO and output EDI, we are seeing this IDOC syntax error E0072 for Mandatory Segment E1EDK01. In 4.6C it was working fine with no issues, only after upgrade this problem started. It says E1EDK01 is missing which is mandatory. We are using basic type ORDERS01 with no extensions. When we see WE30 it looks fine, WE20 settings looks fine.
Order of the segments got scrambled in upgraded version. First segment is E1EDP19001, this is supposed to be under E1EDP01 segment. There are two E1EDP19001 segments created but there were no sub segments to E1EDP01.
Any help in this regard is highly appreciated.
Thanks
PandiriUser Exit activation and fixing the issue in user exit fixed this issue.
-
Status 56 - IDOC with errors added
Hi everyone,
I was configuring File to IDOC Scenario, in the receiving R/3 system, i am getting error as Status 56 - IDOC with errors added "<b>EDI: Partner Profile not available</b>".
but i had already created Partner profile in WE20.
Regards,
Varun Reddy.KHi Varun,
The below link will help u in solving u r problem
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
Just try follow the steps followed in above mentioned link
And also check u r RFC connection in TC "SM59".
Reward with ponits if helpful
Regards
Sai Ganesh -
Error in Receiver - IDoc with errors added
Hi All,
I am getting error in 56 - IDoc with errors added in receiver System.
I am new in Idoc - please tell me How to resolve this issue..
Thanks in advance..Hi all thanks for reply .
All are the help full answer ,
I use T-code WE19 and change partner profile and execute now it is fine.
But i have checked all configuration regard partner profile from T-code WE20 it looking everything is fine but in Test tool for Idoc Processing by t-code WE19 i have checked it will taken wrong partner profile detail after giving correct manually now it is working fine. -
I have a scenario, ECC-PI-Message broker. ECC sending IDOC to PI, PI execute mapping and sends data to Message borker(thru JMS channel).(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI after mapping we need to create file with same data what ever send to Message broker and put the file in SAP folder without touching mapping. Is it possible? Please advise with the steps. We are using the ICO for this senario. Quick response is appriciated.
Hi Pratik,
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
This link might help.
regards
Anupam -
Idoc INVOIC - error Tax entry not possible in this item - Message no. FF724
Hello,
I have an idoc in error with the following error message.
In the idoc type INVOIC
Segment E1EDK04:
MWSKZ N1 VAT indicator
MSATZ 19.000 VAT rate
MWSBT 20.52 Value added tax amount
In OBCD
Partn.Type PartnerNo Tax type Tax rate Cty Tx
LI FNISL N1 19.000 V2
Input tax N6 is defined in the system with rate 19.000%
Direction 2 Inbox
Current status 51
Basic type INVOIC01
Extension
Message type INVOIC
Partner No. FNISL
Partn.Type LI
Tax entry not possible in this item
Message no. FF724
Diagnosis
You can not enter a tax amount in this item since, due to the posting amount entered and the tax code, a total tax amount of zero has been calculated.
This could either be due to the fact that the tax code has been defined with a value of 0%, or because the posting amount entered (that is, the tax base) is too small.
Example:
With a tax rate of 15%, a tax amount greater than zero will only be achieved with a base amount greater than 0.04. With values of 0.03 and less, it is therefore not possible to enter a tax amount.
Procedure
Only enter tax amounts in conjunction with tax codes for which a percentage rate not equal to zero has been defined. Make sure that in documents with several G/L account items you enter the total tax amount in an item with a sufficiently high posting amount.
do you have an idea to solve it?
Regards
ArnaudMessage no. FF724
Check note 681538
thanks
G. Lakshmipathi -
HRMD_A IDoc in error not raising an event
I have workflows enabled for IDocs in error.
If an inbound order IDoc (ORDERS) arrives in status 51, it triggers a workflow.
If an HR master data IDoc (message type HRMD_A) arrives in status 51, no workflow is triggered.
Here is what I have checked:
Partner profile has me as responsible agent in both cases.
Both type linkages are active for IDOCHRMD and IDOCORDERS event InputErrorOccurred.
Both IDocs types are posted in with the test tool and end up in status 51.
When I investigate the event trace, I can see that an event is raised for the ORDERS IDoc but not for the HRMD_A IDoc.
There are no errors in the type linkage status column.
So why would it be that the event is not being raised for the HRMD_A IDoc?
How can I find out what should be raising the event? I guess that there is a function module call to SWE_EVENT_CREATE or SAP_WAPI_CREATE_EVENT.
Kind Regards,
Tony.Hi Tony,
I am a complete novice to workflow but I have a requirement liek yours to trigger workflow for idocs in error, so I was hoping you could point me in the direction of some documentation/steps on how to do this? -
RBDMANI2 for IDOCs in error not working in Background..
Dear All,
We have an ALE-IDOC scenario in which our IDOC gets posted in the destination system with status 51 as per business reqt. We schedule a job in the background using program RBDMANI2 which is used to manually reprocess IDOCS in error.
This background job was working fine in the 4,7 R/3 Server, but we have upgarded the receiving system to ECC 6.0. Now the problem is dat when we try to reprocess the IDOC using this job, the IDOC are not processing further.. It ideally is supposed to do further processing as per the code writen.
We tried debugging the code(RBDMANI2) in background. But, its not helping.
Kindly advise.
Regards,
Santosh Reddy.On primary research I found that there is a call to this FM 'SAPGUI_PROGRESS_INDICATOR' .
In that FM see line 12.
IF SY-BATCH <> SPACE.
EXIT. "do nothing in batch
ENDIF.
May be this is the cause of your error.
Rhea. -
Vendor Confirmation workflow ( TS00008075 ) issue for IDOCs in Error ( 51 )
Hi All,
When IDOCs (Basic type: ORDERS02, Message type : ORDRSP ) goes in error with status 51 & comes to SAP system it calls event u2018INPUTERROROCCURREDu2019 which is correct but it creates problem when it get re processed as it triggers event u2018INPUTSUCCESSu2019 resulting in firing vendor confirmation workflows to respective user ( this batch job re process each ORDRSP IDOC twice a day & hence 2 workflows per IDOC in error to clientu2019s inbox by triggering event u2018INPUTSUCCESSu2019).
Could you please tell me why these IDOCs are triggering event u2018INPUTSUCCESSu2019 in case of error ( status 51 ) when they get RE PROCESSED. These kind of Idocs must only trigger u2018INPUTERROROCCURREDu2019 once and should not create anything when these get reprocessed. Please note that these issues arise after EHP4 upgrade. Please let me know if any setting is there for triggering Vendor COnfirmation workflow ( TS00008075 ) when IDOCs in error get re processed.
Please help us , thanks.
Regards,
Kartikey Rawat.Hello Kartikey Rawat !
INPUTSUCCESS event gets fired just because it is configured as terminating event in the task.
If you don't want this event to get fired, either you can deactivate it or delete the bindings related to the event INPUTSUCCESS(doing so should not affect other two terminating events that may be required for you scenario) .
If you want know why it is fired, you can get to know in debug mode or check whether the event is defined through related function modules configured in WE57,BD51,WE42 AND WE20 transaction codes.
In WE05 or WE02 transactions, you will get error description.Based on it too, you can figure out the reason.
Regards,
S.Suresh -
HRMD_A IDocs in Error Status 02
Dear SAP Peeps,
Upon generation of outbound HRMD_A idocs, an error occurs. Error status is "02 - Could not find code page for receiving system".
Can you guys assist me here? What does code page mean? How the error will be solve? The error occurs in every two weeks upon sending the idocs. Sending system is a unicode system while the receiving system is a non-unicode system.
Thanks!i Think u have run some personnel acitons
than u need to check the table T529A and check have u assigned the feature which standrad in sap for certain acions
for Ex MSN20 MSN10 check these thr PE03
in IMg
check SEt up personnel Acitons -
Post system refresh, "Request IDoc : IDoc with errors added"
Hello All,
Post system refresh, we are not able to execute the data loads.
While loading the Infopackage, the overall status is still showing in YELLOW status. but in the Transfer (IDOCs & TRFC), it shows an Error message as "Request IDoc : IDoc with errors added"
Yesterday immediately after the refresh, we were able to execute the master data loads (full loads)...
However, transaction loads (delta) is facing issues.
Today, we are facing the problem in both master and transaction data.
Please help!!!! Its a very critical issue!!!
Edited by: Siegfried Szameitat on Aug 9, 2011 10:17 AMHi,
While selecting the Infopackage to run the INIT load, it is taking me to the ECC login screen. Once i enter my credentials, its showing a dump with the message:
Short text of error message:
No RFC authorization for user XXXXX ( RSA8 ).
Long text of error message:
Technical information about the message:
Message class....... "RSAR"
Number.............. 051
Variable 1.......... "No RFC authorization for user XXXXX ( RSA8 )."
Variable 2.......... " "
Variable 3.......... " "
Variable 4.......... " "
Please advice.
Regards
sneha
Maybe you are looking for
-
Hi, I am getting a system error during the AD4j installation. Here is the error stack. The installation is successful but it couldn't start the Jam Console service. The log also contains the values i am using for key generation. Am I missing some ste
-
Question on Dynamic Select Lists and Checkboxes
Hello, I am new to APEX, and this is my first posting, I have a question about how to implement dynamic checkboxes from a select list. Basically I would have a select list, and based on what item is selected a set of checkboxes would appear. I was or
-
Hetrogeneoues connection between Oracle and SQL server
Hi , I am having Issues in Making Heterogeneous DB link between Oracle Xe and sql server . Here is the scenario- My Oracle and ms SQL 2003 are running on same machine(windows 2003) , I have followed this link and reached till 5 but I am not able to
-
Writting exception within cursor for loop
I have two cursor for loop as for rec1 in () loop --loop 1 for rec2 in () loop --loop2 <statements> end loop; end loop Now I want to handle exception within my second for loop so that after terminating the loop it will again go to the first loop... H
-
CS4 won't open any files.
I can't get any Illustrator files to open. I don't get an error message-just the spinning ball. I end up having to "force quit." Yesterday I uninstalled the program and reinstalled it and it worked perfectly, but this morning when I tired to open som