[ABAP] Zahlenwerte zw. Zahlensystemen konvertieren

* https://wiki.scn.sap.com/wiki/display/Snippets/Number+base+conversion+in+ABAP
TRY.
* 1010 -> 10
    WRITE: / |Bin -> Base10: { /ui2/cl_number=>base_converter( number = '1010' from = 2 to = 10 ) }|.
* 10 -> 1010
    WRITE: / |Base10 -> Bin: { /ui2/cl_number=>base_converter( number = '10' from = 10 to = 2 ) }|.

  CATCH cx_sy_move_cast_error INTO DATA(e_txt).
    WRITE: / e_txt->get_text( ).
ENDTRY.