Skip to Content

SP14 Multi-mapping - error in receiver idoc adapter

Hi,

I have a scenario where a business service should send some XML to SAP CRM. I get the file via a sender JMS adapter and try to post it to CRM via a receiver IDOC adapter.

I have created a multimapping (1:N - 1 XML file to many Idocs) as should in the repository.

In the configuration under Interface Determination, I have chosen 'RB_SPLIT' and selected the interface multimapping.

It should be pointed out, that when testing both interface and message mapping i get no error. All idocs seem to be created as they should.

When testing the setup 'real life' the message fails. The error message in the monitor says:

- <!-- Call Adapter

-->

- 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_WRONG_INTF</SAP:Code>

<SAP:P1>InterfaceCollection</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Unable to interpret IDoc interface InterfaceCollection</SAP:Stack>

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

</SAP:Error>

Notice that the above error is when trying to send only 1 record, which in turn then should result in only 1 idoc.

If trying to send multiple XML records, i get the following error:

- <!-- Technical Routing

-->

- http://sap.com/xi/XI/Message/30" xmlns:SOAP=" http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="OUTBINDING">MMF_ENGINETYPE</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>A system error occurred in the outbound binding</SAP:Stack>

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

</SAP:Error>

In the monitor in the payload of 'Request message mapping' I see as many Maindocument, Submaindocument pairs as should be Idocs.

Now i really don't know how to interpret the error messages in both cases, so I'm a little lost here...

It should be pointed out that the idoc being used everywhere in this scenario, has not been modified - from all places it is being used (and only exists) in the 'Imported objects | Idocs' place.

Also the Idoc is also being used as Inbound interface - so no mistakes here either.

I really hope someone can help me here, as I'm otherwise pretty stuck in this case.

Best regards,

Daniel

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 12, 2006 at 09:45 AM

    Hi Daniel,

    I have exactly the same type of scenario (under SPS14 and now also SPS15), sending an XML message over JMS to XI and trying a multi-mapping to many IDocs (actually a list of orders in XML is mapped to n ORDERS Idocs).

    I also face problems doing so, when I use the IDoc Adapter as outbound in the Receiver Agreement. I receive the following error:

    <i>CO_TXT_MMF_ENGINETYPE
    Messages in multi message format can be sent to one adapter engine only</i>

    However, I tested the same scenario by just changing the Receiver Agreement to a File Communication Channel and - surprise, surprise - it works. One file per IDoc is created.

    Of course, this is not what we want to accomplish, but when I checked this piece of documentation (sorry another link 😉

    http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/content.htm

    the IDoc adapter is not listed in the list of Adapters that are supported. Does that mean, that this feature is not supported for generating IDocs? Maybe that's a question for a SAP OSS Message?

    I hope that helped you a little further - if you find out more I'd be happy to learn about it.

    regards,

    Peter

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 12, 2006 at 08:54 AM
    Add comment
    10|10000 characters needed characters exceeded

    • Hi Prashanth,

      Thanks for your reply. I think you posted the same link to times:-) However I have already read the documentation found there, and feel convinced that I did it this exactly way.

      Refards,

      Daniel

  • Jan 12, 2006 at 09:10 AM
    Add comment
    10|10000 characters needed characters exceeded

    • Hi chandravadhana,

      Also thanks for your reply. I don't feel the links are too helpful, as they more address multimappings using XSLT or BPM. I'm doing it outside of BPM using the new feature introduced in SP 14 - the method is described in the link that Prashanth sent.

      Regards,

      Daniel