<?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_COPAACTUALS_POSTCOSTDATA Doc. Number in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997801#M75642</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 found another way to get generated copa document number . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so just sharing here . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-49228" title="http://scn.sap.com/docs/DOC-49228"&gt;http://scn.sap.com/docs/DOC-49228&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Nov 2013 10:46:10 GMT</pubDate>
    <dc:creator>VJ22</dc:creator>
    <dc:date>2013-11-22T10:46:10Z</dc:date>
    <item>
      <title>BAPI_COPAACTUALS_POSTCOSTDATA Doc. Number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997795#M75636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using BAPI_COPAACTUALS_POSTCOSTDATA to Post Costing-Based Actual Data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI is working great, but it does not return the number of the generated document in the RETURN TABLE neiher in the sy-msg* fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want this to display the generated document in the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone has any tips on the subject?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Ivo Martins&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2005 10:31:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997795#M75636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-01T10:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_COPAACTUALS_POSTCOSTDATA Doc. Number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997796#M75637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am experiencing the same problem as Ivo Martins; this BAPI appears to be posting correctly, but there is no confirmation in the RETURN table of the BAPI.  Does any one have a suggestion ?  I have checked OSS, but there does not seem to be any Notes to address this.  Seems like all the BAPI's I have used previously provide some confirmation of the posting ( or an error message ) in the RETURN table&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Larry Parsons&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 14:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997796#M75637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-27T14:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_COPAACTUALS_POSTCOSTDATA Doc. Number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997797#M75638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Larry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can tell you in advance that there is no workaround for this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for this is not the BAPI itself, but another function that is at a more deep level that does the actual posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really need the Doc Numbers forget this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use KE21 or something like that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2005 09:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997797#M75638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-28T09:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_COPAACTUALS_POSTCOSTDATA Doc. Number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997798#M75639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is in fact a workaround to this issue.  I see this question asked in lots of places so I figured I would post here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Although the BAPI does not return the resulting document number and the forums say you cannot do it, this is a workaround that is somewhat hardcoding and requires familiarity with the data. In this example, we expect that the ww106 field is a unique value. Indeed, we went so far as to index the CE table. By specifying the ORDER BY clause, we can make sure we grab the most recent entry first. This is captured immediately after calling the BAPI and doing the BAPI_TRANSACTION_COMMIT and WAIT.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI...&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;     WAIT = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT paobjnr pasubnr FROM ce41010 UP TO 1 ROWS&lt;/P&gt;&lt;P&gt;BYPASSING BUFFER&lt;/P&gt;&lt;P&gt;INTO (wa-paobjnr, wa-pasubnr)&lt;/P&gt;&lt;P&gt;WHERE ww100 = itab-key1&lt;/P&gt;&lt;P&gt;AND ww109 = itab-key2&lt;/P&gt;&lt;P&gt;AND ww106 = itab-key3&lt;/P&gt;&lt;P&gt;ORDER BY PAOBJNR DESCENDING PASUBNR DESCENDING&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a few tips and tricks for working with this BAPI posted here:&lt;/P&gt;&lt;P&gt;[http://raymannion.com/2011/bapi_copaactuals_postcostdata/|http://raymannion.com/2011/bapi_copaactuals_postcostdata/]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2011 20:43:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997798#M75639</guid>
      <dc:creator>ray_mannion</dc:creator>
      <dc:date>2011-10-01T20:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_COPAACTUALS_POSTCOSTDATA Doc. Number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997799#M75640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ray,&lt;/P&gt;&lt;P&gt;Thanks alot for the solution, I was facing the same issue, and this comes as a life saver!&lt;/P&gt;&lt;P&gt;Currently my problem is that this select that you have suggested takes alot of time to run. In fact, it takes aroung 99% of the total conversion program runtime. Can you please suggest something to fix this?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Neetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 11:30:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997799#M75640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-17T11:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_COPAACTUALS_POSTCOSTDATA Doc. Number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997800#M75641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you ad an additional characteristic to the where clause for TIMESTMP, and calculate it to be a minute or two prior to your posting, you will significantly speed up the performance....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 14:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997800#M75641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-18T14:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_COPAACTUALS_POSTCOSTDATA Doc. Number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997801#M75642</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 found another way to get generated copa document number . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so just sharing here . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-49228" title="http://scn.sap.com/docs/DOC-49228"&gt;http://scn.sap.com/docs/DOC-49228&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 10:46:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata-doc-number/m-p/997801#M75642</guid>
      <dc:creator>VJ22</dc:creator>
      <dc:date>2013-11-22T10:46:10Z</dc:date>
    </item>
  </channel>
</rss>

