cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a SAP MII XML Payload Structure with some header fields and components?

avisheksharmacoder
Participant
0 Kudos
225

I want to learn how to make an SAP MII XML Payload Structure with some header fields and components, to be used for sending data to the target system.

An example with some dummy fields will do the job. Thank you.

Accepted Solutions (0)

Answers (2)

Answers (2)

agentry_src
Active Contributor
0 Kudos

Well you can build it dynamically in the expression editor. It's a bit more complicated. First you need an xml property (Local or Transaction depending on what you want to do with your xml). Then create your segments in the Expression box in the Link Editor. Then in Link Type, you have options to Assign XML, Append XML, Append After XML, etc. I suggest you play around with each one to see how they behave and what the results are.

Cheers, Mike

agentry_src
Active Contributor
0 Kudos

Have you looked at the SAP MII XML Output set of action blocks? You can do it pretty simply with Document and Row or you can get more detailed. Check the help documentation, but also search in the SAP Community. There are quite a few blogs/questions which address their use.

Cheers, Mike

avisheksharmacoder
Participant
0 Kudos

Thanks. I have looked into it.

Meanwhile, what if we wanted to make an custom xml payload, then we have to follow the same rules ? or is there a simpler and cleaner way to do so ?

Thanks.