去前导零
时间:2014-04-16 17:44:28
收藏:0
阅读:507
【转】去掉前导零
(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.
去掉前面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.
原文:http://www.cnblogs.com/rainysblog/p/3666296.html
评论(0)