cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with the message Splitting with XSLT in SAP PO

0 Kudos
753

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

0 Kudos

Hi Sivanadham,

Is it resolved this issue, I am also facing the same issue, Can you please provide information on how this issue got resolved.

Thanks
Ram Binnari

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hello Muniyappan,

Thanks a lot for responding to my issue.

No my issue is not with the tags that is mentioned in the blog that you have specified. My Original XSLT is actually enough to generate the tags (i.e messages and message1), I have attached the result after my adding the xslt you have specified and before using it. I don't know for some reason the splitting is not happening. Any suggestions would be helpful.

after-my-original-xslt-with-ns0-tags.pngresult-after-the-xslt-mentioned-in-your-blog.png

Muniyappan
Active Contributor
0 Kudos

are you facing this similar issue?

https://archive.sap.com/discussions/thread/946817