Skip to Content

PI7.31: Java Idoc receiver error


I have configured java idoc reciever channel but while testing it i am getting below error in message monitor:

MP: exception caught with cause IDoc structure of incoming message is not correct

I have done below configs and tested also:

1) Created destination of type RFC (UNDER nwa -> configuration -> Infrastructure -> Destination -> DECCLNT100) and tested also.

2) In Idoc receiver channel: i have given the destination name + Interface Version + sap release + under Advanced tab -> control record in Idoc XML is " Not Mnadatory"

3) In the message monitor logs i can see the output idoc structure (for testing purpose i am not passing anything in the idoc)

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


<IDOC BEGIN="Constant">



4) I am using header mapping and define the partner profile in SAP ECC system.

I am not sure why this error is occuring?


Amit Srivastava

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 12, 2012 at 07:35 PM

    Hello All,

    I have got the reason for the previous error, actually i was not sending any data in the idoc, but now i am getting below error:

    Exception caught by adapter framework: The Configuration for Sender/Receiver Partner Number/Port is incorrect. Enter proper values in Sender/Receiver Component

    So i am wondering if i can use header mapping or not?? becuase in the mapping i have disabled the EDI_DC40 segment and giving the name of sender communication component under header mapping?


    Amit Srivastava

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      If you disable the EDIDC node in mapping, and don't tick the header mapping check box in receiver CC, header mapping will be automatic. It will use values from the Business System receiver.

      Otherwise, selecting "apply ..." or using the Idoc Control Headers will overwrite the automatic generated informations.

      If you want to enter particular values, using message mapping to map the header fields ill be the easiest way (graphical tool is easier to understand).



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.