Chinaunix首页 | 论坛 | 博客
  • 博客访问: 37192
  • 博文数量: 14
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 160
  • 用 户 组: 普通用户
  • 注册时间: 2010-09-07 08:08
文章分类

全部博文(14)

文章存档

2010年(14)

我的朋友

分类: 项目管理

2010-09-13 13:40:22

report Zrsbzme10 .
parameters: p_In(10) type c,
            unit_in  like t006-msehi default 'M',
            unit_out like t006-msehi default 'MM',
            round(1) type c          default 'X'.
data: result type p decimals 3,
      input  type p decimals 3.
input   =  p_IN.
call function 'UNIT_CONVERSION_SIMPLE'
     exporting
          input                = input
          round_sign           = round
          unit_in              = unit_in
          unit_out             = unit_out
     importing
          output               = result
     exceptions
          conversion_not_found = 01
          division_by_zero     = 02
          input_invalid        = 03
          output_invalid       = 04
          overflow             = 05
          units_missing        = 06
          unit_in_not_found    = 07
          unit_out_not_found   = 08.
write: 'Result: ',result.
 
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/CompassButton/archive/2006/11/07/1371247.aspx
阅读(2863) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-09-13 20:14:46

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com