cancel
Showing results for 
Search instead for 
Did you mean: 

Error: EDI: Error while assigning IDoc number

Former Member
0 Kudos

Hi Everybody,

using XI 3.0 on Linux 64 bit SLES9 with Oracle I got some probleme sending messages from mq series to sap:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"

xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"

SOAP:mustUnderstand="">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>

<SAP:P1>EDI: Error while assigning IDoc number</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error: EDI: Error while assigning IDoc number</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

What is missing here?

Kind regards,

Michael

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello MIchael,

Try clearing the cache using SXI_Cache or do a full cache refresh.

Also you can try adding Idoc type manually in to IDX2.

Thanks

Gaurav Ranjan

parag_parikh
Participant
0 Kudos

Is number range assigned in transaction SNRO for the IDOC? Object you need to check is EDIDOC.

Former Member
0 Kudos

Hi Michael,

Hope you have maintained the port for your target system in IDX1 and also the RFC destination used in the port is maintained in SM59. If both are working fine then check whether a test connection from SM59 for your RFC destination is working fine. Check for the existence of the latest version of IDOC type you are using in your target system.

Cheers

JK

Former Member
0 Kudos

Hi Jayakrishnan,

thanks a lot for your answer.

SM59 is working finde. In IDX1 I got the the correct RFC destination entered and a double click works fine also.

The other way around R3 -> XI -> mq series is working fine. Here we are trying mq -> XI -> R3 and it stops sending from XI to R/3.

How to check the IDOC type?

Regards,

Michael

Former Member
0 Kudos

Hi Michael,

If you login to R/3 system and go to WE30 transaction and provide the idoc type name which you are using in your mapping, then you'll be able to see the structure with the cardinality of the segments. Compare this with the idoc type metadata existing in IDX2 transaction in the ABAP stack of your XI server. If there is a difference execute the report IDX_RESET_METADATA in XI system thru se38 transaction and try.

Also in the receiver agreement of your configuration scenario hope you have provided the Sender service as your sender business system.

Cheers

JK

Former Member
0 Kudos

Hi,

all this didn't help.

Everything works fine except this point. Also I've checked the number rangers in the XI and the receiving system.

Also we have 10 dialog processes and 4 batch processes so every RFC connection should be fine.

Any furhter idea?

Michael