没有小数位的货币在数据库中的保存(不理解,测试)
2013-03-10 19:34
183 查看
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.
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.
相关文章推荐
- django程序没有问题,保存远地测试数据库,save没问题,控制台也显示update成功,但是在数据库检索数据没有存进去
- 我用c#写了一个测试样例,分析了int,char,datetime和varchar的日志情况而且没有考虑null和空字符串的保存,希望感兴趣的朋友能和我一起交流打造属于自己的日志分析工具
- hibernate save成功却没有保存到数据库的错误
- 关于 xpo 修改字段值,提交成功后,却没有保存到数据库中的一个原因。
- 调用save()方法,页面显示保存成功,但是数据库中没有值的原因
- 查询一个月最后一天的总用户数,数据库中没有保存最好一天的数据,就查询本月数据库已存有的最后一天的数据
- SSH整合时候Hibernate正确执行了save方法,但是数据没有保存到数据库
- WPF 验证没有通过无法保存数据(非常好)+ 虚似数据库
- Hibernate 中save方法运行成功之后却没有保存进数据库
- 查询一个月最后一天的总用户数,数据库中没有保存最好一天的数据,就查询本月数据库已存有的最后一天的数据
- 记录部件新增后保存成功,但是数据库没有数据
- 深入理解Spring Redis的使用 (九)、通过Redis 实现 分布式锁 的 BUG,以及和数据库加锁的性能测试
- 在开启多线程时,用junit测试,到连接数据库代码时,junit自动停止,而且没有报错误。
- Spring+JPA 数据库保存操作没有异常但数据保存不成功
- unity3d 连接数据库,测试运行很正常,但是build后运行exe,就发现没有读取数据库
- 调用save()方法,页面显示保存成功,但是数据库中没有值的原因
- Web前端 测试数据接口url,如何post一个XML字符串,点击保存就可以保存到数据库
- 深入理解Spring Redis的使用 (九)、通过Redis 实现 分布式锁 的 BUG,以及和数据库加锁的性能测试
- Hibernate 中save方法运行成功之后却没有保存进数据库的原因
- MySQLdb Python模块autocommit属性测试及测试过程中关于数据库连接的理解