<?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 not posting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592559#M1661694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;Thanks again for you time everybody. I managed to solve it. First I'll say what I tried:&lt;/P&gt;&lt;P&gt;1) Created a test run in SE37 with BAPI_TRANSACTION_COMMIT at the end. The return was successfully posted, but it wasn't showing up in the tables.&lt;BR /&gt;2) I've created a seperated program where I manually filled the properties in to the tables, almost same as above just in an ABAP report.&lt;/P&gt;&lt;P&gt;What my coworker found was:&lt;BR /&gt;1) I was using the wrong field. I was using AMT_BASE instead of AMT_DOCCUR.&lt;BR /&gt;2) There are two itemno being used, 40 and 50, 40 for debit and 50 for credit.&lt;BR /&gt;3) I figured the BAPI should automatically handle the math, but I had to set the '50' value to negative to cause the debit and credit to 0 balance. &lt;/P&gt;&lt;P&gt;The postings are now showing up. I however still find it strange that this BAPI doesn't report this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2012 11:55:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-12T11:55:23Z</dc:date>
    <item>
      <title>bapi_acc_document_post not posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592553#M1661688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everybody,&lt;/P&gt;&lt;P&gt;I hope I'm in the right location, I'm not sure what is going on here with all this new stuff. In either case...&lt;/P&gt;&lt;P&gt;I'm using BAPI_ACC_DOCUMENT_POST to create postings, obviously. The problem I'm having is that the return from the BAPI says that the document is being posted but it doesn't exist if I search for it in transaction FB03.&lt;/P&gt;&lt;P&gt;1) I've called BAPI_ACC_DOCUMENT_CHECK first to make sure the attributes are OK.&lt;BR /&gt;2) I call BAPI_ACC_DOCUMENT_POST next to actually post the document.&lt;BR /&gt;3) I use 'BAPI_TRANSACTION_COMMIT' to push any changes to the database.&lt;/P&gt;&lt;P&gt;I've also looked in table BKPF with the document number that is returned by the BAPI. I've also put this entries in and called the BAPI from SE37 with BAPI_TRANSACTION_COMMIT after. It all says succesful but it's not to be found. I've been trying to search for a solution and I keep coming across unanswered posts and also people that have said "I've solved it, bye!" without explaining what they've done.&lt;/P&gt;&lt;P&gt;Any help at all would be great, thanks for your time!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 10:52:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592553#M1661688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-12T10:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_acc_document_post not posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592554#M1661689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bryan,&lt;/P&gt;&lt;P&gt;While commiting work using BAPI_TRANSACTION_COMMIT, are you setting the importing parameter wait = 'X'? &lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 11:11:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592554#M1661689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-12T11:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_acc_document_post not posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592555#M1661690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you have tried all the possible combinations with reference to ABAP, I suggest you verify the transaction by executing it manually. If the entries are getting posted, then, try reversing the document 'BAPI_ACC_DOCUMENT_REV_POST'. The systems error might be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pranav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 11:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592555#M1661690</guid>
      <dc:creator>former_member222709</dc:creator>
      <dc:date>2012-03-12T11:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_acc_document_post not posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592556#M1661691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check the values being returned by BAPI in OBJ_TYPE, OBJ_KEY, OBJ_SYS parameters. You are checking the correct values in OBJ_KEY in FB03 with correct year and company code. The OBJ_SYS is the system in which you are checking the document. Check whether there is any update termination occured in SM13. Also try giving wait = X in BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 11:33:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592556#M1661691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-12T11:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_acc_document_post not posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592557#M1661692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try testing the bapi in se37 with a sequence test followed by &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; BAPI_TRANSACTION_COMMIT&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;Also, Try manually creating the document with the same data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 11:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592557#M1661692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-12T11:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_acc_document_post not posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592558#M1661693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you calling the function modules (in sequence) through the report program or you are executing them through SE37? If you are executing through SE37, you should create a test sequence for these FMs in the order mentioned above before executing.&lt;/P&gt;&lt;P&gt;If you are calling the function modules through the program, the return structure will return the document number generated. (RETURN-MESSAGE_V2+0(10)).&lt;/P&gt;&lt;P&gt;Regards, Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 11:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592558#M1661693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-12T11:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_acc_document_post not posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592559#M1661694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;Thanks again for you time everybody. I managed to solve it. First I'll say what I tried:&lt;/P&gt;&lt;P&gt;1) Created a test run in SE37 with BAPI_TRANSACTION_COMMIT at the end. The return was successfully posted, but it wasn't showing up in the tables.&lt;BR /&gt;2) I've created a seperated program where I manually filled the properties in to the tables, almost same as above just in an ABAP report.&lt;/P&gt;&lt;P&gt;What my coworker found was:&lt;BR /&gt;1) I was using the wrong field. I was using AMT_BASE instead of AMT_DOCCUR.&lt;BR /&gt;2) There are two itemno being used, 40 and 50, 40 for debit and 50 for credit.&lt;BR /&gt;3) I figured the BAPI should automatically handle the math, but I had to set the '50' value to negative to cause the debit and credit to 0 balance. &lt;/P&gt;&lt;P&gt;The postings are now showing up. I however still find it strange that this BAPI doesn't report this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 11:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592559#M1661694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-12T11:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_acc_document_post not posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592560#M1661695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Samir,&lt;/P&gt;&lt;P&gt;Yes wait is set to true.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 12:06:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592560#M1661695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-12T12:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_acc_document_post not posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592561#M1661696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pranav,&lt;/P&gt;&lt;P&gt;I did not try this but the fields were not valid. Maybe this can be done for the next person that comes across this thread with a similar problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 12:07:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-not-posting/m-p/8592561#M1661696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-12T12:07:07Z</dc:date>
    </item>
  </channel>
</rss>

