Produce an empty xml tag from ABAP proxy
I have a scenario where when a field, say <type>, contains a blank value from an ABAP proxy, the XI output is not producing an empty tag because the proxy cant send a blank value and thats xml's way of staying light by not producing a bunch of empty tags. But that is our goal is to produce an empty tag when <type> is blank. Therefore, we have decided to pass the value 'blank' to XI when there is no value found in the field. How would one create the mapping inside of XI to produce an empty tag when the value is 'blank' and if not 'blank' produce whatever the value may be?
Why not using node function mapWithDefault? This will create an empty tag, when the source field is missing. So you need not pass a value in ABAP proxy.