Bapi_acc_document_check Error In Document Bkpff
Contents |
ABAP DevelopmentWhere is this place located?All Places ABAP Development 4 Replies Latest reply: Sep 18, 2008 3:42 PM by sia anjali Tweet issues with BAPI_ACC_DOCUMENT_CHECK error in document bkpff balance in transaction currency sia anjali Sep 18, 2008 2:51 PM Currently Being Moderated fi/co interface line item entered several times in sap hiim trying to post a document, before posting, Im doing a check using the fm BAPI_ACC_DOCUMENT_CHECKIm
Bapi_acc_document_post Example
getting several errors Error in document : BKPFFand some accounts is not defined in the chart of accountsWhen i do a manual posting, it worksdoes anybody know wats the issue? 1065Views Tagsnone (add) Topics: abap Re: issues with BAPI_ACC_DOCUMENT_CHECK Vijay Dudla Sep 18, 2008 2:53 PM (in response to sia anjali) Currently Being Moderated When you are Using this Function pass the GL Accounts padded with Zeroes. Otherwise it will consider the GL Accounts wrongly and give errors. Try to use some conversion exit to pad the zeroes.try it once, if you are still getting the error let me know.. Alert Moderator Like (0) Re: issues with BAPI_ACC_DOCUMENT_CHECK Nandan Tatuskar Sep 18, 2008 2:55 PM (in response to sia anjali) Currently Being Moderated Hi Sia, Did you feel your header structure properly.Just check once with these fields oncec_object_type = 'BKPFF'.c_object_key = '$'.c_bus_act = 'RFBU'.lv_objsys = '$'.*--To upload the Header Structure required By BAPI wa_docheader-obj_type = c_object_type. wa_docheader-obj_key = c_object_key. wa_docheader-obj_sys = lv_objsys. wa_docheader-bus_act = c_bus_act. wa_docheader-username = sy-uname. wa_docheader-header_txt = wa_lineitem-header_text. wa_docheader-comp_code = wa_lineitem-header_company. wa_docheader-doc_date = wa_lineitem-document_date. wa_docheader-pstng_date = wa_lineitem-posting_date. wa_docheader-fis_period = '00'. wa_docheader-ref_doc_no = wa_lineitem-reference. wa_docheader-doc_type = wa_lineitem-document_type.ThanksSudharshan Alert Moderator Like (0) Re: issues with BAPI_ACC_DOCUMENT_CHECK Nandan Tatuskar Sep 18, 2008 3:10 PM (in response to sia anjali) Currently Being Moderated Hi anjali There are some other fields which need to be taken care of padding zeros other than GL account if you
Technology and Trends Enterprise Architecture and EAI ERP Hardware IT Management and Strategy Java Knowledge Management Linux Networking Oracle PeopleSoft Project and Portfolio Management SAP SCM Security Siebel Storage UNIX Visual Basic Web Design and Development Windows < Back CHOOSE A DISCUSSION GROUP Research Directory TOPICS Database Hardware Networking SAP Security Web Design MEMBERS Paul_Pedant MarkDeVries DACREE Inside-ERP MacProTX VoIP_News Inside-CRM I_am_the_dragon PCMag maxwellarnold Michael Meyers-Jouan TerryCurran Chris_Day Andrew.S.Baker JoeTorre bracke Richard Locutus DukeGanote Ramnath.Awate Dennis https://scn.sap.com/thread/1052090 Stevenson Craig Borysowich Nikki Klein AbhaiTripathi bluesguyAZ59 iudithm knowscognosdoi Clinton Jones mircea_luca Iqbalyk COMPANIES VAI SendGrid Apperian Panaya Inc. View All Topics View All Members View All Companies Toolbox for IT Topics SAP Groups Ask a New Question SAP ABAP The SAP ABAP group is for the discussion of ABAP language enhancements, modifications, performance, data transfers, http://sap.ittoolbox.com/groups/technical-functional/sap-abap/bapi_acc_document_post-error-3930119 and ABAP objects. Home | Invite Peers | More SAP Groups Your account is ready. You're now being signed in. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Newsletter Jobs By clicking "Join Now", you agree to Toolbox for Technology terms of use, and have read and understand our privacy policy. BAPI ACC DOCUMENT POST ERROR Phemmy Payne asked Dec 14, 2010 | Replies (9) Hi all, I am trying to post an accounting entry between an asset and a gl with the BAPI_ACC_DOCUMENT_POST, but each time i post it gives me an error, Accounting transaction category RFBURFBU000000000000 is not defined. Enter another transaction type (Transaction type does not exist i have tried all
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the http://stackoverflow.com/questions/30999857/error-while-reversing-document-in-sap-using-bapi workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions http://www.itpub.net/thread-1395262-1-1.html Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join error in them; it only takes a minute: Sign up Error while reversing document in SAP using BAPI up vote 0 down vote favorite Using BAPI_ACC_DOCUMENT_REV_POST to reverse entries posed via BAPI_ACC_DOCUMENT_POST, however we are getting following errors E RW 609 Error in document: BKPFF $ SYS600 BKPFF E RW 632 Document BKPFF 900026 SYS600 cannot be reversed BKPFF E RW error in document 630 Reversal in component Financial Accounting not possible Financial Accounting E F5A 9 Reversal not possible, accounting document for the ref. does not exist BKPFF code for reference Dim companyAPI As IRfcFunction = _ecc.Repository.CreateFunction("BAPI_ACC_DOCUMENT_REV_POST") Dim rev As IRfcStructure = companyAPI.GetStructure("REVERSAL") rev.SetValue("OBJ_TYPE", "BKPFF") rev.SetValue("OBJ_SYS", "$") rev.SetValue("OBJ_KEY", "900026N0342016") rev.SetValue("OBJ_KEY_R", "900026N0342016") rev.SetValue("COMP_CODE", "D756") rev.SetValue("REASON_REV", "01") Dim transfunction = _ecc.Repository.CreateFunction("BAPI_TRANSACTION_COMMIT") transfunction.SetValue("WAIT", "X") companyAPI.Invoke(_ecc) transfunction.Invoke(_ecc) Dim dt As DataTable = GetDataTableFromRFCTable(companyAPI.GetTable("RETURN")) .net sap bapi share|improve this question asked Jun 23 '15 at 10:08 Mani 6713 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote At first glance, the final error message (E F5A 9 ...accounting document for the ref. does not exist BKPFF) points to a possible solution. I see you're passing the document number (900026), company code (N034) and financial period (2016) as the key but I have a feeling you need to zero-pad the document number to ten digits. Send OBJ_KEY and OBJ_KEY_R as '0000900026N0342016` and see if that helps. The document number is stored internally as ten digits and I think
比特币 小额贷款 贷款 crm ORACLE 项目管理系统 thread android python java 本版文章帖子用户 ITPUB论坛-中国最专业的IT技术社区»论坛 › ≡ 企业信息化 ≡ › SAP R/3 › SAP财务及CRM › BAPI_ACC_DOCUMENT_CHECK的错误BKPFF? 大数据时代,每家公司都要有大数据部门? 名人堂:共享IT传奇人生 细数 “分布式计算系统”令你不爽的那些瞬间! 返回列表 查看: 5199|回复: 2 收藏 | BAPI_ACC_DOCUMENT_CHECK的错误BKPFF? [复制链接] ROACHs ROACHs 当前离线 积分101 IP卡 狗仔卡 论坛徽章:2 电梯直达 1# 发表于 2011-2-12 10:01 | 只看该作者 |倒序浏览 |阅读模式 我CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK' 会产生下列错误讯息 E RW 609 Error in document: BKPFF $ LOGIDEV090 E F5 598Posting keys for account determination for transaction 99 do not exist E F5 598Posting keys for account determination for transaction 81 do not exist BKPFF的问题比较严重就算我又代入OBJ_TYPE跟obj_key及OBJ_SYS还是显示同样错误 记帐码,没塞的话就不会出现 Posting keys error?这个到底要不要呢? DATA: DOCUM LIKE BAPIACHE09 OCCURS 0 WITH HEADER LINE. DATA: ACCOU LIKE BAPIACGL09 OCCURS 0 WITH HEADER LINE. DATA: CURRE LIKE BAPIACCR09 OCCURS 0 WITH HEADER LINE. DOCUM-USERNAME = SY-UNAME. DOCUM-HEADER_TXT = 'TEST BAPI'. DOCUM-COMP_CODE = '1000'. DOCUM-DOC_DATE = '20100101'. DOCUM-PSTNG_DATE = '20100101'. DOCUM-fisc_year= '2010'. DOCUM-DOC_TYPE = 'WL'. DOCUM-BUS_ACT = 'RMWA'. ACCOU-ITEMNO_ACC = 1. ACCOU-ACCT_KEY = '99'. ACCOU-GL_ACCOUNT = ‘0000560100’. ACCOU-COMP_CODE = DOCUM-COMP_CODE. ACCOU-PSTNG_DATE = DOCUM-PSTNG_DATE. APPEND ACCOU. ACCOU-ITEMNO_ACC = 2. ACCOU-ACCT_KEY = '81'. ACCOU-GL_ACCOUNT = ‘0000160100’. ACCOU-COMP_CODE = DOCUM-COMP_CODE. ACCOU-PSTNG_DATE = DOCUM-PSTNG_DATE. APPEND ACCOU. CURRE-ITEMNO_ACC = 1. CURRE-CURRENCY = 'RMB'. "==币别 CURRE-CURRENCY_ISO = 'RMB'."==币别 CURRE-AMT_DOCCUR = '10'."==金额 APPEND CURRE. CURRE-ITEMNO_ACC = 2. CURRE-CURRENCY = 'RMB'. "==币别 CURRE-CURRENCY_ISO = 'RMB'."==币别 CURRE-AMT_DOCCUR = '10'."==金额 APPEND CURRE. CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK' EXPORTING documentheader = DOCUM tables ACCOUNTGL = ACCOU CURRENCYAMOUNT = CURRE return = it_return. [ 本帖最后由 ROACHs 于 2011-2-12 10:43 编辑 ] CALL, FUNCTION, error, account, transaction 收藏0 相关帖子 本版精华 【讨论】 大神们看一下这个函数 哪里有问题? 【讨论】请教 一个优化问题 谢谢! 【讨论】求思路,XML转关系型SQL 【讨论】请教大牛一个问题,万分紧急,在线等