In order to convert monetary amounts to a human-readable format, some data formatting may be required.
One way to achieve this within the Email Data User-Exit is:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: |
DATA: ls_variables TYPE /floe/vars_s, lv_val type p length 7 decimals 2, lv_valc type c length 10. * LOOP AT ch_variables INTO ls_variables. * CASE: ls_variables-var_code. * WHEN 'NETWR'. * Format values lv_val = ls_variables-value. write lv_val to lv_valc. ls_variables-value = lv_valc. MODIFY ch_variables FROM ls_variables. * ENDCASE. * ENDLOOP. |