去前导零

【转】去掉前导零

(1)shift

SHIT ITAB-FIELD LEFT DELETING LEADING ‘0’。
 
(2)function
--------------------------------------------------------------
去掉前面0
*&--------------------------------------------------------------------*
*& Form frm_alpha_output 去零
*&--------------------------------------------------------------------*
call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
exporting
input = &1
importing
output = &1.


---------------------------------------------------
前面加0
---------------------------------------------------
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = &1
importing
output = &1.

原文地址:https://www.cnblogs.com/rainysblog/p/3666296.html