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 ...
随机推荐
- ASP.NE的缓存技术提高Web站点的性能
一:我们为什么要使用缓存? 先来理解一下asp.net缓存技术的基本原理:把访问频繁的数据以及需要花大量的时间来加载的数据缓存在内存中,那么用户在下次请求同样的数据时,直接将内存中的数据返回给用户,从 ...
- (转载) ExtJs大比拼JQuery:Dom文档操作
此次不生产水,做一次搬运工. http://www.cnblogs.com/lipan/archive/2011/12/07/2269815.html
- 多线程程序设计学习(10)Future pattern
Future pattern[订单取货模式] 一:Future pattern的参与者--->Client(客户需求)--->Host(蛋糕门店)--->Data(票据和蛋糕的接口) ...
- Hibernate4.x之Session
Hibernate Session概述 Session接口是Hibernate向应用程序提供的操纵数据库的最主要的接口,它提供了基本的保存.更新.删除和加载Java对象的方法. Session具有一个 ...
- 序列化框架性能对比(kryo、hessian、java、protostuff)
简介: 优点 缺点 Kryo 速度快,序列化后体积小 跨语言支持较复杂 Hessian 默认支持跨语言 较慢 Protostuff 速度快,基于protobuf 需静态编译 Protostuff- ...
- 黑盒测试用例设计方法&理论结合实际 -> 边界值分析法
一. 概念 边界值分析法就是对输入或输出的边界值进行测试的一种黑盒测试方法.通常边界值分析法是作为对等价类划分法的补充,这种情况下,其测试用例来自等价类的边界. 二. 边界值分析法的应用 根据大量的测 ...
- 4.4 CUDA prefix sum一步一步优化
1. Prefix Sum 前缀求和由一个二元操作符和一个输入向量组成,虽然名字叫求和,但操作符不一定是加法.先解释一下,以加法为例: 第一行是输入,第二行是对应的输出.可以看到,Output[1] ...
- AIDL实例
转载声明:原文转自:http://www.cnblogs.com/xiezie/p/5658372.html 什么是AIDL Android系统中的进程之间不能共享内存,因此,需要提供一些机制在不同进 ...
- shmget() -- 建立共享内存
#include <sys/ipc.h>#include <sys/shm.h>int shmget(key_t key, size_t size, int shmflg); ...
- python 类和实例
面向对象最重要的概念就是类(Class)和实例(Instance),必须牢记类是抽象的模板,比如Student类,而实例是根据类创建出来的一个个具体的“对象”,每个对象都拥有相同的方法,但各自的数据可 ...