set_format 
You can set the formatting of the cells in a range by specifying a currency using its ISO standard code. This code is also used within the SAP system, which means that you can normally simply pass the currency code from the SAP system. You can also specify the currency formatting using a type. The digits in the cell are then displayed according to the specified type.
Syntax
CALL METHOD spreadsheet->set_format EXPORTING rangename = rangename typ = typ currency = currency decimals = decimals no_flush = no_flush IMPORTING error = error retcode = retcode.
Parameter |
Optional |
Description |
rangename |
Area name |
|
|
Type for currency formatting:
|
|
|
ISO standard currency code |
|
|
X |
The number of decimal places |
Note
Desktop Office Integration uses the lowest common denominator of the various formatting options in the spreadsheet packages that it supports. Consequently, there are fewer formatting options available than in the spreadsheets themselves.