Skip to Content

In my previous blog Transforming message 1..N using ABAP class I had explained how to do message transformation 1..N using ABAP mapping. Here I will explain how to test ABAP mapping when you are transforming one message to multiple messages.

We use transaction SXI_MAPPING_TEST to test or debug ABAP mapping. I will reuse the example in the previous blog to illustrate this.

Run the transaction SXI_MAPPING_TEST and give the parameters. Here please note that the Receiver Interface namespace is given as http://sap.com/xi/XI/System and the Receiver Interface Name is given as InterfaceCollection. Press the execute button.    

image

Give the input payload in the editor and press execute (Find the screenshot below). You can find the editor going to the screen where the debug point (debug point set in the code you have written in SE24) is set. There you can check for all values and make corrections in the ABAP code if needed.

image

You will get a Success message if the ABAP mapping was processed without any errors.

image

You can find the given input XML payload in Payload Before Service:

image

You can find the trace results:

image

Hope you will find this helpful when using ABAP mapping to perform 1..N transformation

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply