fagl_account_items_gl_api-在3个小数位置需要值

发布于 2025-02-08 20:36:36 字数 131 浏览 3 评论 0原文

SAP中的功能模块-FAGL_ACCOUNT_ITEMS_GL_API输出的数据在2个小数位置。 在马斯喀特(阿曼)中,客户在小数点后使用3个位置来查看数量。 如何在这里实现这一目标?

谢谢,问候 大约Nilesh Zambhuria

The Function module in SAP - FAGL_ACCOUNT_ITEMS_GL_API output's the data in 2 decimal places.
In Muscat (Oman) client uses 3 places after decimal to view amount.
How to achieve this here?

Thanks and Regards
CA. Nilesh Zambhuria

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ゃ人海孤独症 2025-02-15 20:36:36

SAP 始终以两个小数为单位存储发布量。如果发布货币有三个小数点(您可以在表TCURX,field currdec或交易中检查OY04)),则会是这样的:

发布金额:1.234,

但在数据库中将像:12.34

相似:如果货币没有小数,则位置(例如HUF),而不是:

发布金额:

数据库中的100:1.00

SAP可以正确处理此内部SAP(标准交易,ALV列表等)(只要正确设置了十进制位置的数量 -在实时SAP系统中不可能更改它!)。

在您的情况下,功能模块将以两个小数点的位置回馈值,例如12.34,但如果货币有三个小数点播放(例如OMR),则必须像1.234一样理解它。

SAP always stores the posting amounts with two decimals. If the posting currency has three decimal places (you can check in table TCURX, field CURRDEC or in transaction OY04) it will be like this:

posting amount: 1.234

but in the database will be stored like: 12.34

Similiarly if a currency has no decimal places (like HUF for example), than:

posting amount: 100

in the database: 1.00

SAP will handle this inside SAP (standard transactions, ALV lists, etc.) properly (as long as the number of decimal places was set up correctly - it is not possible to change it in a live SAP system!).

In your case the function module will give back values with two decimal places, like 12.34 But in case the currency has three decimal playes (like OMR), you have to understand it like 1.234.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文