外币小额差异自动调整

前台效果

假设FB70 USD(外币)记帐,1借4贷行分录,由于SAP财务凭证仅允许2位小数,为了防止汇率转换后小数额差异造成借方1与4贷方的本位币RMB总额引起不平,所以系统增加了一个自动调整逻辑。其它F-02,F-04也是一样。
如借方4000USD合RMB 24000元,当修改金额<=24000.05元时,系统自动将5分钱调整到第1个贷方(5个Item的情况下)
这里写图片描述
如果1借2贷的,则最大差异只能是3分钱

系统逻辑

系统是写死的,看程序SAPFF014,如下图,根据Xbseg借贷行数决定最大允许差额,rf05a-anzbz和差异refe比较, rf05a-anzbz= rf05a-anzbz+1表示借贷多少行最大允许差异金额就是多少行,然后将差异自动在第1个分录调整,如此而已!
这里写图片描述

其它文章

http://www.itpub.net/thread-1907661-1-1.html
http://www.cnblogs.com/patricksong/articles/1399206.html

SAP Note

106094 - Dealing with minor differences
Symptom
Rounding differences occur when you post a foreign currency document.How are these distributed?
Other Terms
Rounding, currency translation, distribution of rounding differences
Reason and Prerequisites
When you enter a document in a foreign currency, the amount in the local currency is calculated for each line item.If the document is simulated or posted, the system checks for a zero balance.Due to rounding, a balance can be created in the local currency, that is, the total of the line items in the local currency deviates slightly from the total amount of the document in the local currency.

How is this rounding difference distributed?
The logic is different.
1. In a pure financial accounting document, this rounding difference is added to the first non-automatically generated item with the corresponding debit/credit indicator.The same procedure is used for parallel currencies.
2. If you post the document via FI/CO interface, for example an SD billing document, then the rounding difference is added to or subtracted from the first non-automatically generated G/L account, material or asset account item depending on the +/- sign in the document. The amount of a vendor line item or customer line item is only changed if special prerequisites are met (the document contains, for example no G/L line item 87283 or only lines with small amounts 160719) because the previous application is supposed to display the same amounts for business partners than the ones that are posted in Financial Accounting.
Solution
Dealing with currency differences in FI was checked within the certification of FI and was declared to be in accordance with the principles of database accounting.
Customers and partners can display the certificate via address
http://service.sap.com/certificates.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值