<?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 BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/4433219#M1052249</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 am trying to re-post for a given set of GL Accounts using this BAPI.&lt;/P&gt;&lt;P&gt;I am passing the header data for the BAPI Call from "BKPF" Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On BAPI Call, my return table gets filled with 3 lines of errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          1. Error in document&lt;/P&gt;&lt;P&gt;          2. Object Type "BKPF" not expected. wrong object type passed to the Parameter OBJ_TYPE of Header (something like this...)&lt;/P&gt;&lt;P&gt;          3. Parameter OBJ_SYS not filled in the structure passed to the Header during BAPI Call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am filling the OBJ_TYPE and  OBJ_SYS Parameters from BKPF-AWTYP and BKPF-AWSYS.&lt;/P&gt;&lt;P&gt;They are values taken from the Table records only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on what the problem could be? Any help in this direction is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Sep 2008 05:05:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-07T05:05:08Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/4433219#M1052249</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 am trying to re-post for a given set of GL Accounts using this BAPI.&lt;/P&gt;&lt;P&gt;I am passing the header data for the BAPI Call from "BKPF" Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On BAPI Call, my return table gets filled with 3 lines of errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          1. Error in document&lt;/P&gt;&lt;P&gt;          2. Object Type "BKPF" not expected. wrong object type passed to the Parameter OBJ_TYPE of Header (something like this...)&lt;/P&gt;&lt;P&gt;          3. Parameter OBJ_SYS not filled in the structure passed to the Header during BAPI Call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am filling the OBJ_TYPE and  OBJ_SYS Parameters from BKPF-AWTYP and BKPF-AWSYS.&lt;/P&gt;&lt;P&gt;They are values taken from the Table records only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on what the problem could be? Any help in this direction is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2008 05:05:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/4433219#M1052249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-07T05:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/4433220#M1052250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this sample code...&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="413871"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2008 05:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/4433220#M1052250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-07T05:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/4433221#M1052251</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;The Link you had sent had a suggestion but it was not helpful.&lt;/P&gt;&lt;P&gt;But i managed to clear that error. I am getting a different error now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i call the BAPI, it returns the error "Balance in transaction currency". The message number is 702 and message ID is F5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in the same.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2008 13:17:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/4433221#M1052251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-07T13:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/4433222#M1052252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check these links&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="5913208"&gt;&lt;/A&gt;&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="5962905"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2008 14:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/4433222#M1052252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-07T14:57:16Z</dc:date>
    </item>
  </channel>
</rss>

