Hi,
I'm developing a File 2 IDoc / IDoc 2 File Scenario.
The Partner who receives and send files wants to use the idoc flat table structure.
I noticed that wasn't so easy to convert IDoc XML to flat file, till i found IDoc Tunelling which perfectly fits my scenario!
The research i've done, explains that we just have to set the IDOC / XML_CONVERSION parameter:
Possible Values
<i>'0' Every IDoc is saved as a table; no IDoc-XML conversion
'1' Every IDoc is converted to IDoc-XML
<b>'2' An IDoc is converted to IDoc-XML if requested by the service</b></i>
But, setting value to '2', how can i control if i want or not Xml conversion to occur? Is a setting made in R/3 or XI?
I have scenarios where i really need XML (to use mapping features). Value 2 looks perfect, but where is this controlled?