Currency symbols

It is often better to show currency symbols within the e-mail instead of the SAP currency code.

This is one way to convert the SAP currency code into the required currency symbols:

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
DATA: ls_variables  TYPE /floe/vars_s.

  LOOP AT ch_variables INTO ls_variables.
*
    CASE: ls_variables-var_code.
*
      WHEN 'WAERS'.
* Determine symbol
       CASE ls_variables-value.
*
         WHEN 'USD'.
            ls_variables-value = '$'.
         WHEN 'EUR'.
            ls_variables-value = '€'.
         WHEN 'GBP'.
            ls_variables-value = '£'.
*
       ENDCASE.
*
       MODIFY ch_variables FROM ls_variables.
*
    ENDCASE.
*
  ENDLOOP.

See http://www.w3schools.com/charsets/ref_utf_currency.asp for a list of HTML currency symbols.