ABAP: Delete Leading Zeros

Deleting leading zeros from a string can be done with string templates, if your release allows it.

DATA(lv_no_zeros) = |{ lv_with_zeros alpha = out }|.
1

If your release doesn't allow string templates, you can use the SHIFT operator.

SHIFT lv_no_zeros LEFT DELETING LEADING '0'.
1