CALL FUNCTION 'HRCM_STRING_TO_AMOUNT_CONVERT'
EXPORTING
string = p_char
* DECIMAL_SEPARATOR =
* THOUSANDS_SEPARATOR =
* WAERS = ' '
IMPORTING
betrg = p_num
* EXCEPTIONS
* CONVERT_ERROR = 1
* OTHERS = 2
.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.