XML Datatype as transaction output property
I'm having some problems while using the XML datatype as an output for a transaction and would like your input on this.
I've created a transaction that has one output property set as a XML. This transaction reads information from a SAP BAPI call and I assigns the response XML to the output parameter. I've checked the output value with a trace block and it is ok.
This transaction is called from within another transaction, but when I read the output parameter after the transaction block is executed, the output parameter is empty...
The only work-around this problem that I have found it to encode the XML as a string and then decode it in the outer transaction, but that just doesn't seem like the right thing to do... There must be a reason to have a XML datatype!
Thanks in advance,