Chinaunix首页 | 论坛 | 博客
  • 博客访问: 120221
  • 博文数量: 60
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 0
  • 用 户 组: 普通用户
  • 注册时间: 2014-03-25 18:14
个人简介

ABAP 小店http://ymhtea.taobao.com

文章分类

全部博文(60)

分类:

2014-03-29 11:27:37

REPORT  z_barry_test NO STANDARD PAGE HEADING .

TABLES resb.
DATA: amount_in LIKE bapicurr-bapicurr ,
      amount_ex LIKE bapicurr-bapicurr .

SELECT FROM resb UP TO 100 ROWS WHERE waers = 'TWD'.
  amount_in = resb-gpreis.
  CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
    EXPORTING
      currency        = resb-waers
      amount_internal = amount_in
    IMPORTING
      amount_external = amount_ex.
  WRITE: / resb-gpreis,amount_ex,resb-waers.
ENDSELECT.
阅读(549) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~