Skip to Content
0
Former Member
Jan 20, 2009 at 10:33 PM

Fields of type Decimal in a BAPI are returning "0" when i called it from WD

20 Views

Hi forum

I have a BAPI that return a structure with some decimals fields, when i import this BAPi to my model, in the dictionary was created a structure with my decimals fields of type Decimal (10,2), and the class that the model generated, rerturns a BigDecimal. The problem is that when i tried to make a getField1OfTypeDecimal() of this kinds of fields, the function is returning me "0", and the BAPI works fine. I have been resolved this issue by changing the type of the output paremeters in the BAPI to Char, but i think that could be another solution.

THnks

Josué Cruz

Edited by: Josue Cruz on Jan 20, 2009 11:33 PM