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的更多相关文章

  1. 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/ ...

  2. [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] 这个 ...

  3. "Type Coercion failed" Error in FlashBuilder 4.7

    作者:Panda Fang 出处:http://www.cnblogs.com/lonkiss/p/3544450.html 原创文章,转载请注明作者和出处,未经允许不可用于商业营利活动 做robot ...

  4. 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 ...

  5. 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 ...

  6. [转]Introduction to Core Bluetooth: Building a Heart Rate Monitor

    ref:http://www.raywenderlich.com/52080/introduction-core-bluetooth-building-heart-rate-monitor The C ...

  7. Keras 自适应Learning Rate (LearningRateScheduler)

    When training deep neural networks, it is often useful to reduce learning rate as the training progr ...

  8. layui(七)——rate组件常见用法总结

    layui中提供了rate组件,用法很简单,直接上代码. <div id="test1"></div> <script> layui.use(' ...

  9. 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 ...

随机推荐

  1. sencha项目升级

    对于已经开发好的sencha项目进行升级,要做的有以下几步(以sencha2.2.0升级到sencha2.3.1为例): 1,下载Sencha-2.3.1sdk,下载地址:http://cdn.sen ...

  2. [swustoj 404] 最小代价树

    最小代价树(0404) 问题描述 以下方法称为最小代价的字母树:给定一正整数序列,例如:4,1,2,3,在不改变数的位置的条件下把它们相加,并且用括号来标记每一次加法所得到的和. 例如:((4+1)+ ...

  3. Android访问C#的WebService要注意的问题

    @Overrideprotected String doInBackground(Object... params) { // 根据命名空间和方法得到SoapObject对象 SoapObject s ...

  4. 刑事案件的构成要素 zt

    论刑事案件的构成要素   马忠红 2013-03-22 14:05:33 来源:<中国人民公安大学学报:社会科学版>(京)2012年5期 [内容提要]刑事案件是由诸多要素构成的一个系 统. ...

  5. Doing Homework(HDU 1074状压dp)

    题意:给你n个要做的作业,它们的名字.期限.可完成所需天数(必须连续)在规定期限不能完成要扣分(每天一分)求做作业顺序使扣分最少. 分析:作业数量较少,用状态压缩,做到第i种作业花费的天数dp[i]. ...

  6. Hadoop2.7.2安装笔记

    1.设置免密SSH登录 $ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa $ cat ~/.ssh/id_dsa.pub >> ~/.ssh/autho ...

  7. input file里的JQ change() 事件的只生效一次

    文件选择框的onchange事件只在第一次改变时生效,以后再选择文件不会触发onchange事件. 解决方法1:用jQuery的live代替直接使用change. 错误代码: $("#Upl ...

  8. dataStructure@ Find if there is a path between two vertices in a directed graph

    Given a Directed Graph and two vertices in it, check whether there is a path from the first given ve ...

  9. 【现代程序设计】【Homework-01】

    1维的最大子数组之和 对于1维的最大子数组之和 假设f[i]表示:对于1..i这个序列中,包含i这个元素的最大序列的值 则对于f[i],0<i<=n; 应该有 f[i]=max(a[i], ...

  10. [iOS基础控件 - 6.7] 微博展示 使用代码自定义TableCell(动态尺寸)

    A.需求 1.类似于微博内容的展示 2.头像 3.名字 4.会员标志 5.内容 6.分割线 7.配图(可选,可有可无)   code source: https://github.com/hellov ...