cancel
Showing results for 
Search instead for 
Did you mean: 

Tunnelling in IDOC To IDOC and payload size

Former Member
0 Kudos

Hi XI Experts,

We runned in a PI 7.0 SP13 an IDOC To IDOc scenario with non conversion XML (Tunnelling with IDOC/XML_CONVERSION parameter set). Refer to Michal Krawczyk blog : /people/michal.krawczyk2/blog/2005/11/21/xi-idoc-to-idoc-tunneling--how-fast-and-easy-can-you-get

All seems good : payload in message monitoring is flagged as 'application/x-sap.idoc.bin' et scenario works fine.

But we have 2 questions :

Q1 : in monitoring, payload document is displaied in right bottom window like XML representation....like an XML-converted document.

Q2 : value parameter 'SIZE_PAYLOAD' in message with non conversion XML is greater than....in conversion XML ?!?....

Thanks for yours responses.

Etienne

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Please find here with you the clarification,

*Q1 : in monitoring, payload document is displaied in right bottom window like XML representation....like an XML-converted document.

*

the value is set to XML_CONVERSION parameter to value 2

a) 0 - Every IDoc is saved as a table; no IDoc-XML conversion

b) 1 - Every IDoc is converted to IDoc-XML

c) 2 - An IDoc is converted to IDoc-XML if requested by the service

Here the IDOC is internally be treated as IDOC-XML as you would be using the Business systems with SAP. And it depends upon the services.

Q2 : value parameter 'SIZE_PAYLOAD' in message with non conversion XML is greater than....in conversion XML ?!?....

The SIZE_PAYLOAD will be always more with non-conversion XML includes the header details also..(I am not sure with it).

Its better that you copy the XML Payload and save on local PC. Then check with its size.

thanks

Swarup

Former Member
0 Kudos

Hi Swarup

Thanks for your response.

Q1 : we set value in parameter to 0 (Every IDoc is saved as a table; no IDoc-XML conversion)

Q2 : we yet download and compare payloads on local PC : in both cases, we obtained same XML as displaied in monitoring...

Conclusion : we can't prove any volume reduction inside SAP XI Database using tunnelling IDoc ! Help !

Regards

Etienne

former_member334189
Active Participant
0 Kudos

Hello Etienne,

please let me add a few word on your questions:

Q1: What you have observed is the on-demand conversion of the XI message to XML that takes place right when a message is displayed in the technical monitor (SXMB_MONI). This does not mean the messages was converted to XML while it was processed.

Q2: There is no general rule for payload size with/without XML conversion. In fact the payload size highly depends on the stucture of the IDoc. Thus, the size might increase or decrease when tunneling is used. Please note that tunneling optimizes the processing time as no resource consuming conversion to/from XML takes place. This functionality is not intended to save disc space.

Best Regards,

Harald Keimer

XI Development Support

SAP AG, Walldorf

Former Member
0 Kudos

Hello Harald

Thanks a lot. Yours responses give me more informations on impacts while using tunnelling inside SAP XI.

Best regards

Etienne

Answers (0)