BAPI_ACC_DOCUMENT_POST Enter rate / GBP rate type M for Error SG105
Folks,
I was wondering if I could get a bit of help here as I've been racking my brains on it for ages.
I am using BAPI_ACC_DOCUMENT_POST to post an FI Document. When I run the FM with the below parameters I get the message back:
SG105 Enter rate / GBP rate type M for 23.06.2011 in the system settings
When I debug the BAPI I can see that the blank value is coming from the localcurrency field in the BAPI which is not getting populated. My questions is why is it trying to do a currency conversion at all when the document currency is GBP and the company code currency is GBP (and I am passing 10 into the currency type)?
Our controlling area currency in our system is EUR, could that be an issue?
Parameters:
Document Header:
USERNAME CGAVIN
HEADER_TXT Rmaterials Manual Ac
COMP_CODE GB01
DOC_DATE 20110623
PSTNG_DATE 20110623
TRANS_DATE 00000000
FISC_YEAR 2011
DOC_TYPE SA
REF_DOC_NO Rmaterials Manua
ACCOUNTGL[1]
ITEMNO_ACC 0000000001
GL_ACCOUNT 0002022700
ITEM_TEXT Test
PSTNG_DATE 20110623
COSTCENTER GB0101004
ACCOUNTGL[2]
ITEMNO_ACC 0000000002
GL_ACCOUNT 0004000000
ITEM_TEXT Test
TAX_CODE UB
ACCOUNTTAX[1]
ITEMNO_ACC 0000000003
GL_ACCOUNT 0001610001
COND_KEY MWVS
ACCT_KEY VST
TAX_CODE UB
TAX_RATE 20.000
CURRENCYAMOUNT[1]
ITEMNO_ACC 0000000001
CURR_TYPE 10
CURRENCY GBP
AMT_DOCCUR 1000.0000
CURRENCYAMOUNT[2]
ITEMNO_ACC 0000000002
CURR_TYPE 10
CURRENCY GBP
AMT_DOCCUR 833.3300-
CURRENCYAMOUNT[3]
ITEMNO_ACC 0000000003
CURR_TYPE 10
CURRENCY GBP
AMT_DOCCUR 166.6700-
AMT_BASE 833.3300-
And after that I changed my parameters to the below, which solved the problem.
Parameters:
Document Header:
USERNAME CGAVIN
HEADER_TXT Rmaterials Manual Ac
COMP_CODE GB01
DOC_DATE 20110623
PSTNG_DATE 20110623
TRANS_DATE 00000000
FISC_YEAR 2011
DOC_TYPE SA
REF_DOC_NO Rmaterials Manua
ACCOUNTGL[1]
ITEMNO_ACC 0000000001
GL_ACCOUNT 0002022700
ITEM_TEXT Test
PSTNG_DATE 20110623
COSTCENTER GB0101004
ACCOUNTGL[2]
ITEMNO_ACC 0000000002
GL_ACCOUNT 0004000000
ITEM_TEXT Test
TAX_CODE UB
ACCOUNTTAX[1]
ITEMNO_ACC 0000000003
GL_ACCOUNT 0001610001
COND_KEY MWVS
ACCT_KEY VST
TAX_CODE UB
TAX_RATE 20.000
CURRENCYAMOUNT[1]
ITEMNO_ACC 0000000001
CURR_TYPE 00
CURRENCY GBP
AMT_DOCCUR 1000.0000
CURRENCYAMOUNT[2]
ITEMNO_ACC 0000000001
CURR_TYPE 10
CURRENCY GBP
AMT_DOCCUR 1000.0000
CURRENCYAMOUNT[3]
ITEMNO_ACC 0000000002
CURR_TYPE 00
CURRENCY GBP
AMT_DOCCUR 833.3300-
CURRENCYAMOUNT[4]
ITEMNO_ACC 0000000002
CURR_TYPE 10
CURRENCY GBP
AMT_DOCCUR 833.3300-
CURRENCYAMOUNT[5]
ITEMNO_ACC 0000000003
CURR_TYPE 00
CURRENCY GBP
AMT_DOCCUR 166.6700-
AMT_BASE 833.3300-
CURRENCYAMOUNT[6]
ITEMNO_ACC 0000000003
CURR_TYPE 10
CURRENCY GBP
AMT_DOCCUR 166.6700-
AMT_BASE 833.3300-
BAPI_ACC_DOCUMENT_POST Enter rate / GBP rate type M for Error SG105的更多相关文章
- TP Rate ,FP Rate, Precision, Recall, F-Measure, ROC Area,
TP Rate ,FP Rate, Precision, Recall, F-Measure, ROC Area, https://www.zhihu.com/question/30643044 T/ ...
- [Creating an image format with an unknown type is an error] on cordova, ios 10
在 iOS 10 调用 了 获取 相册的 可编辑 的 照片后,会出现 [Creating an image format with an unknown type is an error] 这个 ...
- "Type Coercion failed" Error in FlashBuilder 4.7
作者:Panda Fang 出处:http://www.cnblogs.com/lonkiss/p/3544450.html 原创文章,转载请注明作者和出处,未经允许不可用于商业营利活动 做robot ...
- Defining as a "long" or "int" type throws an error on startup
solr启动时候,报如下异常: [java] view plaincopy SEVERE: org.apache.solr.common.SolrException at org.a ...
- get back to the slower clock rate that allows it to save more power
http://www.howtogeek.com/177790/why-you-cant-use-cpu-clock-speed-to-compare-computer-performance/ Wh ...
- [转]Introduction to Core Bluetooth: Building a Heart Rate Monitor
ref:http://www.raywenderlich.com/52080/introduction-core-bluetooth-building-heart-rate-monitor The C ...
- Keras 自适应Learning Rate (LearningRateScheduler)
When training deep neural networks, it is often useful to reduce learning rate as the training progr ...
- layui(七)——rate组件常见用法总结
layui中提供了rate组件,用法很简单,直接上代码. <div id="test1"></div> <script> layui.use(' ...
- How To Change Log Rate Limiting In Linux
By default in Linux there are a few different mechanisms in place that may rate limit logging. These ...
随机推荐
- jquery M97-datepicker日历控件
My97DatePicker是一款非常灵活好用的日期控件.使用非常简单. 1.下载My97DatePicker组件包 2.在页面中引入该组件js文件: <script type=&quo ...
- 17、手势(Gesture)
课程目标: 学习Android必不可少的手势的功能 了解手势识别原理 , 掌握制作,加载以及识别手势 写出自己的手势Demo 重点难点:手势机制的了解 手势库的制作 考核目标:请说一下手势库的 ...
- Struts2 Spring Hibernate Ajax Java总结(实时更新)
1. 在form表单的onload属性里的方法无法执行? 若忘记了在<%=request.getSession().getAttribute("userName")%> ...
- hbase0.96与hive0.12整合高可靠文档及问题总结
本文链接:http://www.aboutyun.com/thread-7881-1-1.html 问题导读:1.hive安装是否需要安装mysql?2.hive是否分为客户端和服务器端?3.hive ...
- 洛谷 P1156 垃圾陷阱
2016-05-31 09:54:03 题目链接 :洛谷 P1156 垃圾陷阱 题目大意: 奶牛掉坑里了,给定坑的深度和方块的个数,每个方块都可以垫脚或者吃掉维持生命(初始为10) 若可以出来,求奶牛 ...
- 基于Qt的P2P局域网聊天及文件传送软件设计
基于Qt的P2P局域网聊天及文件传送软件设计 zouxy09@qq.com http://blog.csdn.net/zouxy09 这是我的<通信网络>的课程设计作业,之 ...
- Java HashMap实例源码分析
引言 HashMap在键值对存储中被经常使用,那么它到底是如何实现键值存储的呢? 一 Entry Entry是Map接口中的一个内部接口,它是实现键值对存储关键.在HashMap中,有Entry的实现 ...
- 现代程序设计homework-02
总体思路 (1)单维数组 单维数组的思路的构建在第一次作业已经完成了,简单来说就是根据贪心策略从头到尾累加,一旦遇到当前累加和变为负数,就将累加和清零,继续遍历数组中的元素,算法的时间复杂度是O(n) ...
- AndroidManifest笔记
1.android:configChanges如果配置了这个值,比如"orientation",在屏幕旋转时会调用Activity的onConfigurationChanged,而 ...
- python 偏函数
functools.partial可以设置默认参数和关键字参数的默认值 Python的functools模块提供了很多有用的功能,其中一个就是偏函数(Partial function).要注意,这里的 ...