number conversion in SAP->EXCEL transfer
Hi. I have a problem with currency-fields. I have a FM in SAP. It returns a table which contains 2 columns with amounts (type: CURR). In SAP everything is ok.
Values in SAP are for example: 26,451.99
When I export it into EXCEL it's received as string. When I display that value using:
itab(row, col) -> I receive 26,451.99 as string and when I want to sum it up I receive 0, even if I change cell-format into currency *,XX
Val(itab(row, col)) -> I receive a number but it's shortened into 26451
what should I do to transfer data properly? That is to receive 26,451.99 as a number (currency)? Greetings. P.