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. usaco /the second wave

    bzoj4582:简单递推题. #include<cstdio> #include<cstring> #include<iostream> #include< ...

  2. [POJ 3420] Quad Tiling

      Quad Tiling Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 3495   Accepted: 1539 Des ...

  3. linux 查看外网IP

    curl http://iframe.ip138.com/ic.asp curl ifconfig.me curl http://members.3322.org/dyndns/getip

  4. ShopNc商城修改详情

    1. 修改400电话.(400.png) a.位置:在页面顶部搜索的后面. b.修改文件: t/layout/home_layout.php 增标签 <img border=0 src=&quo ...

  5. apache开源项目--Camel

    Apache Camel 是一个非常强大的基于规则的路由以及媒介引擎,该引擎提供了一个基于POJO的 企业应用模式(Enterprise Integration Patterns)的实现,你可以采用其 ...

  6. Erlang之IO编程

    Erlang用于操纵文件I/O的模块有:file模块:打开.读.写.关闭文件已经操作目录的方法基本都在这里 filename模块:提供平台独立方式用于操纵文件名 filelib模块:file模块的扩展 ...

  7. delphi 中使用WaitForMultipleObjects等待线程执行,再执行后续代码

    unit1 [delphi] view plain copyunit Unit1; interface uses Windows, Messages, SysUtils, Variants, Clas ...

  8. viedeo

    http://download.farsight.com.cn/download/Android.htm

  9. Solaris10下Telnet、SSH、ftp使用root登录

    学习solaris过程中,使用SecureCRT.putty等工具用root账号登录,总是登录不上去,后来经老师解答和网上找答案,发现是 solaris默认是不可以远程使用root账号登录的,如果想开 ...

  10. Javascript/15-1-14

    1.break 语句用于跳出循环.break 语句跳出循环后,会继续执行该循环之后的代码(如果有的话). continue 用于跳过循环中的一个迭代. 2.label:statements 用于直接跳 ...