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 ...
随机推荐
- UVa 11054 Wine trading in Gergovia
题意: 直线上有n个等距的酒庄,每个酒庄对酒的需求量为ai(正数说明需要买酒,负数需要卖酒),而且保证所有的酒庄供需平衡. 搬运x个单位的酒到相邻的酒庄需要x个劳动力,求要使所有酒庄供需平衡最少需要多 ...
- BZOJ2500: 幸福的道路
题解: 一道不错的题目. 树DP可以求出从每个点出发的最长链,复杂度O(n) 然后就变成找一个数列里最长的连续区间使得最大值-最小值<=m了. 成了这题:http://www.cnblogs.c ...
- JDK版本1.6和6.0到底指什么
Both version numbers (1.6.0 and 6) are used to identify this release of the Java Platform. Version 6 ...
- c语言宏定义#define的理解与资料整理
1. 利用define来定义 数值宏常量 #define 宏定义是个演技非常高超的替身演员,但也会经常耍大牌的,所以我们用它要慎之又慎.它可以出现在代码的任何地方,从本行宏定义开始,以后的代码就就都认 ...
- java jvm学习笔记三(class文件检验器)
欢迎装载请说明出处:http://blog.csdn.net/yfqnihao 前面的学习我们知道了class文件被类装载器所装载,但是在装载class文件之前或之后,class文件实际上还需要被校验 ...
- Spring整合Hessian
Spring让Hessian变得不但强大,而且易用,但是易用背后,却有不少陷阱! 这个例子很简单,但实际上的确花费了我超过一小时的时间,排除了种种问题,最后问题终于水落石出. 整合以上篇Hel ...
- HDU 5690 All X 暴力循环节
分析:暴力找循环节就好了 #include <iostream> #include <cstdio> #include <cstdlib> #include < ...
- HTTP DNS小结
https://www.dnspod.cn/httpdns/guide HttpDNS是使用HTTP协议向DNS服务器的80端口进行请求,代替传统的DNS协议向DNS服务器的53端口进行请求,绕开了运 ...
- windows内核初窥(二)-----系统机制
系统机制: windows2000为执行体.内核.设备驱动程序等核心态部分提供了一些基础机制.先让我们看看都有哪些: (1)陷阱调度:包括中断.延迟过程调用(DPC).异步过程调用(APC).异常处理 ...
- bzoj 3124 [Sdoi2013]直径(dfs)
Description 小Q最近学习了一些图论知识.根据课本,有如下定义.树:无回路且连通的无向图,每条边都有正整数的权值来表示其长度.如果一棵树有N个节点,可以证明其有且仅有N-1 条边. 路径:一 ...