Zed FrameOpen workbench

CONVERSION_EXIT_ALPHA_OUTPUT — ABAP Function Module

Remove leading zeros before digits.

CONVERSION_EXIT_ALPHA_OUTPUT

Remove leading zeros before digits.

Parameters
NameDirectionTypeDescription
INPUT (required)EXPORTINGSTRINGInput text
OUTPUTIMPORTINGSTRINGConverted text
DATA value TYPE string.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
  EXPORTING input = '0000012345'
  IMPORTING output = value.
WRITE: / value.

Example output:

12345

Converts leading numeric zeros. Field-specific DDIC rules are not inferred.