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 }|.

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

SHIFT lv_no_zeros LEFT DELETING LEADING '0'.