Zed FrameOpen workbench

CONVERSION_EXIT_ALPHA_INPUT — ABAP Function Module

Pad input text with zeros to a minimum of 10 characters.

CONVERSION_EXIT_ALPHA_INPUT

Pad input text with zeros to a minimum of 10 characters.

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

Example output:

0000012345

The local adapter uses a minimum width of 10; it does not infer all DDIC-specific ALPHA conversion rules.