Skip to Content
0
Nov 06, 2018 at 06:15 PM

Issue with the message Splitting with XSLT in SAP PO

575 Views

Hello All,

Please find my below requirement.

From source i will be getting a not well formed xml data (Eg: 10 messages in a xml file). I have used XSLT adding <ns0: messages> tags and made it well formed, the other reason for the XSLT usage is i have to split the source xml file into 10 messages and send them to target.(shown in picture)

I have created a Operation mapping with

1) XSLT Mapping (This can alone suffice)

2) Message Mapping (one to one logic).

I am getting the issue :

Transmitting the message to endpoint <local> using connection AFW failed, due to: com.sap.engine.interfaces.messaging.api.exception.RetryControlException: Split mapping created no messages, cannot proceed. Review your mapping setup: splitting to 0 messages is not allowed

1)i am sending the input message with <ns0:message> tags.

2)I have changed the occurance with 0..unbounded (in OM and ICO).

I would like to know if the message split concept works with the XSLT mapping or not.

When i send the message with just graphical mapping , the splitting is working, But with the XSLT it is not working.

Please let me know your suggestions

om.pngmm.pngerror.png

Attachments

om-test.png (101.4 kB)
om.png (69.3 kB)
mm.png (239.3 kB)
error.png (95.3 kB)