去前导零

时间: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.

去前导零,布布扣,bubuko.com

原文:http://www.cnblogs.com/rainysblog/p/3666296.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!