<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: BAPI_ACC_DOCUMENT_POST having error message RW 609 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586529#M264420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The function module documentation says that the following header fields MUST be filled:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJ_TYPE   - Object Type&lt;/P&gt;&lt;P&gt;OBJ_KEY    - Object Key&lt;/P&gt;&lt;P&gt;OBJ_SYS    - Object System&lt;/P&gt;&lt;P&gt;COMP_CODE  - Company Code&lt;/P&gt;&lt;P&gt;PSTNG_DATE - Posting Date&lt;/P&gt;&lt;P&gt;BUS_ACT    - Business Transaction&lt;/P&gt;&lt;P&gt;USERNAME   - Created By&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2006 20:46:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-13T20:46:48Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST having error message RW 609</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586526#M264417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to use the function BAPI_ACC_DOCUMENT_POST. When I run the function by manually enter the value in the table, it runs successfully. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I use a program to enter all the values (hard code values to be exact same as I run the function), and call the function. It returns a error message. Message number 609, and the text is "Error in document: BKPFF $ 522AD1R3"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following this are the errors number 602... "Required field was not transferred in parameter DOCUMENTHEADER"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program, I didn't hard code OBJ_TYPE, OBJ_KEY, and OBJ_SYS. I figure those should be picked up automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any idea why this is happening? Please help. And thank you in advance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 19:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586526#M264417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T19:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST having error message RW 609</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586527#M264418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Go through the threads,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2242718"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2372335"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1969193"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azaz Ali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 19:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586527#M264418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T19:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST having error message RW 609</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586528#M264419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;obj_key should be passed with the document number as it does not generate automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use  FM - NUMBER_GET_NEXT to get the next available number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 20:36:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586528#M264419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T20:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST having error message RW 609</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586529#M264420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The function module documentation says that the following header fields MUST be filled:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJ_TYPE   - Object Type&lt;/P&gt;&lt;P&gt;OBJ_KEY    - Object Key&lt;/P&gt;&lt;P&gt;OBJ_SYS    - Object System&lt;/P&gt;&lt;P&gt;COMP_CODE  - Company Code&lt;/P&gt;&lt;P&gt;PSTNG_DATE - Posting Date&lt;/P&gt;&lt;P&gt;BUS_ACT    - Business Transaction&lt;/P&gt;&lt;P&gt;USERNAME   - Created By&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 20:46:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586529#M264420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T20:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST having error message RW 609</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586530#M264421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean I should also pass GS_DOCUMENTHEADER-AC_DOC_NO using the NUMBER_GET_NEXT function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 21:40:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586530#M264421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T21:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST having error message RW 609</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586531#M264422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't believe it, you have to check if some fields is setted as obligatory in FI customizing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code of my program and it works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPIACHE09-BUS_ACT    = 'RFBU'.&lt;/P&gt;&lt;P&gt;BAPIACHE09-USERNAME   = SY-UNAME.&lt;/P&gt;&lt;P&gt;BAPIACHE09-COMP_CODE  = P_BUKRS.&lt;/P&gt;&lt;P&gt;BAPIACHE09-DOC_DATE   = P_BUDAT.&lt;/P&gt;&lt;P&gt;BAPIACHE09-PSTNG_DATE = P_BUDAT.&lt;/P&gt;&lt;P&gt;BAPIACHE09-DOC_TYPE   = P_BLART.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the fields you have to fill, but perhaps for your document type you need to transfer a reference (XBLNR) or a text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 21:41:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586531#M264422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T21:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST having error message RW 609</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586532#M264423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following is my code. Any one see anything that I am missing? Why it's NOT giving me OBJ_KEY value but only "$"? Any idea? Thanks for help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gs_DOCUMENTHEADER like BAPIACHE09.&lt;/P&gt;&lt;P&gt;data: begin of gt_DOCUMENTHEADER occurs 0.&lt;/P&gt;&lt;P&gt;  include structure BAPIACHE09.&lt;/P&gt;&lt;P&gt;data: end of gt_DOCUMENTHEADER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gs_accountgl like BAPIACGL09.&lt;/P&gt;&lt;P&gt;data: begin of gt_accountgl occurs 0.&lt;/P&gt;&lt;P&gt;  include structure BAPIACGL09.&lt;/P&gt;&lt;P&gt;data: end of gt_accountgl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gs_accountpayable like BAPIACAP09.&lt;/P&gt;&lt;P&gt;data: begin of gt_accountpayable occurs 0.&lt;/P&gt;&lt;P&gt;  include structure BAPIACAP09.&lt;/P&gt;&lt;P&gt;data: end of gt_accountpayable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gs_currencyamount like BAPIACCR09.&lt;/P&gt;&lt;P&gt;data: begin of gt_currencyamount occurs 0.&lt;/P&gt;&lt;P&gt;  include structure BAPIACCR09.&lt;/P&gt;&lt;P&gt;data: end of gt_currencyamount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of gt_return occurs 0.&lt;/P&gt;&lt;P&gt;  include structure BAPIRET2.&lt;/P&gt;&lt;P&gt;data: end of gt_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gv_obj_type LIKE BAPIACHE09-OBJ_TYPE,&lt;/P&gt;&lt;P&gt;      gv_obj_key  LIKE BAPIACHE09-OBJ_KEY,&lt;/P&gt;&lt;P&gt;      gv_obj_sys  LIKE BAPIACHE09-OBJ_SYS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      gs_documentheader-bus_act    = 'RFBU'.&lt;/P&gt;&lt;P&gt;      gs_documentheader-username   = sy-uname.&lt;/P&gt;&lt;P&gt;      gs_documentheader-header_txt = 'test'.&lt;/P&gt;&lt;P&gt;      gs_documentheader-comp_code  = '3100'. &lt;/P&gt;&lt;P&gt;      gs_documentheader-doc_date   = '08282006'.&lt;/P&gt;&lt;P&gt;      gs_documentheader-pstng_date = '08282006'.&lt;/P&gt;&lt;P&gt;      gs_documentheader-doc_type   = 'KA'. &lt;/P&gt;&lt;P&gt;      append gs_documentheader to gt_documentheader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      gs_accountpayable-itemno_acc = '2'.&lt;/P&gt;&lt;P&gt;      gs_accountpayable-vendor_no = '0060001439'.&lt;/P&gt;&lt;P&gt;      APPEND gs_accountpayable TO gt_accountpayable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      gs_accountgl-itemno_acc = '1'.&lt;/P&gt;&lt;P&gt;      gs_accountgl-gl_account = '0000825100'.            &lt;/P&gt;&lt;P&gt;      gs_accountgl-costcenter = '0000010500'.&lt;/P&gt;&lt;P&gt;      APPEND gs_accountgl TO gt_accountgl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      gs_currencyamount-itemno_acc = '1'.&lt;/P&gt;&lt;P&gt;      gs_currencyamount-currency = 'USD'.&lt;/P&gt;&lt;P&gt;      gs_currencyamount-amt_doccur = '350.00'.       "i_tab-repval.&lt;/P&gt;&lt;P&gt;      APPEND gs_currencyamount TO gt_currencyamount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      gs_currencyamount-itemno_acc = '2'.&lt;/P&gt;&lt;P&gt;      gs_currencyamount-currency = 'USD'.&lt;/P&gt;&lt;P&gt;      gs_currencyamount-amt_doccur = '-350.00'.       "i_tab-repval.&lt;/P&gt;&lt;P&gt;      APPEND gs_currencyamount TO gt_currencyamount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    documentheader = gt_documentheader&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    obj_type = gv_obj_type&lt;/P&gt;&lt;P&gt;    obj_key = gv_obj_key&lt;/P&gt;&lt;P&gt;    obj_sys = gv_obj_sys&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    accountgl = gt_accountgl&lt;/P&gt;&lt;P&gt;    accountpayable = gt_accountpayable&lt;/P&gt;&lt;P&gt;    currencyamount = gt_currencyamount&lt;/P&gt;&lt;P&gt;    return = gt_return.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 22:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586532#M264423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T22:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST having error message RW 609</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586533#M264424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the BAPI call you are passing gt_documentheader which is a table but you are supposed to pass a structure. Pass &amp;lt;b&amp;gt;gs_documentheader&amp;lt;/b&amp;gt; instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 00:02:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586533#M264424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-14T00:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST having error message RW 609</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586534#M264425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right now, you are just passing the table header which is empty - I believe this is the reason for return-errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 00:03:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586534#M264425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-14T00:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST having error message RW 609</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586535#M264426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 10:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586535#M264426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-14T10:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST having error message RW 609</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586536#M264427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kirti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please share your code and error message too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rafi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 12:14:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-having-error-message-rw-609/m-p/1586536#M264427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-14T12:14:45Z</dc:date>
    </item>
  </channel>
</rss>

