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 ...
随机推荐
- HDU 1503 Advanced Fruits (LCS,变形)
题意: 给两个水果名,要求他们的LCS部分只输出1次,其他照常输出,但是必须保持原来的顺序! 思路: 求LCS是常规的,但是输出麻烦了,要先求LCS,再标记两串中的所有LCS字符,在遇到LCS字符时, ...
- 在Azure HDInsight HBase集群中使用Thrift接口
Sun wei Wed, Feb 25 2015 2:17 AM Apache Thrift 是一种可扩展的跨语言服务接口,可以通过内置的代码生成引擎帮助创建跨语言服务类库,Apache HBase ...
- 设计模式Day01
一.工厂模式 1.工厂模式的关键点就是如何描述好这两个角色之间的关系,分为四种情况: (1)单一产品系,工厂生产一种类型的产品: (2)多产品系,特征相同.工厂生产多种类型的产品: (3)多产品系,部 ...
- ubuntuy用户切换和密码修改
修改当前用户的密码 $passwd 修改用户密码 $sudo passwd 用户名 切换到其他帐号(需要该用户的密码) $su 用户名 切换到root帐号 $sudo -s
- NopCommerce架构分析之四----插件机制
NopCommerce支持灵活的插件机制,所谓Web系统插件,其实也就是可以像原系统的一部分一样使用. Web系统的使用方式就是客户端发送一个请求,服务端进行解析.在asp.net MVC中对客户请求 ...
- Spring 教程(二)
一.Spring AOP介绍 开发其实就是在不断的重构,抽象重复代码,然后进行封装.从最原始的模块化编程到面向对象编程,代码的封装越来越整齐清晰,但是依然存在重复的代码,而这些重复代码几乎都是与业务逻 ...
- alibaba笔试3
16.C 17.这道的取值范围应该是1到1023.这样就选择A 18.B 圆桌问题1个人拿出来当key 19.D 类似于https://apollozhao.wordpress.com/categor ...
- selenium在chrome上运行报 Element is not clickable at point (1096, 26)
Firefox上正常运行的脚本在chrome上提示Element is not clickable at point (1096, 26).分析原因,首先肯定不是因为页面元素不存在而无法点击.也不是要 ...
- CSLA的项目结构(一)
由于我也是边看边学,在很多概念不是很清晰的情况下,也不好将书中的大段内容全部摘抄过来,所以结合项目源码先分析再总结,就成目前比较可行方案,第一篇先从项目结构入手. 项目源码下载后,主要的功能集中在Co ...
- Unix System Overview
一.Unix 体系结构 由上图可以看出,内核居于最里层,Shell,Libary routines,以及Application通过系统调用(system calls)访问内核提供的功能.注意系统调用与 ...