增加物料号的前导零

  DEFINE  zm_convert_alpha_input2.
    call function 'CONVERSION_EXIT_MATN1_INPUT'
      exporting
        input        &1
      importing
        output       &1
      exceptions
        length_error 1
        others       2.
    if sy-subrc <> 0.
* Implement suitable error handling here
    endif.

原文地址:https://www.cnblogs.com/caizjian/p/3064622.html