Hi Fabio,
Oh I din't think of this.
Output parameter could be type VariantDataTypes as mentioned in Custom actions SDK. And this enum has double and not the BigDecimal.
So basically the custom actions thing is ruled out.
May be you should contact SAP for this.
Regards,
Rohit Negi.