<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata/m-p/4374341#M1040767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The test funciton module will not do the COMMIT, therefore no line item is really posted even afrer succesful test. Thanks for the reminder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Sep 2008 09:05:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-03T09:05:06Z</dc:date>
    <item>
      <title>BAPI_COPAACTUALS_POSTCOSTDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata/m-p/4374339#M1040765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the test funciton module of " BAPI_COPAACTUALS_POSTCOSTDATA" to post a line item to CO-PA, I got no message in the return table, however, I also cannot find the line item from KE24. How do I know my posting is successful or not? Will there be any message if it is posted successfully?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Vicki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2008 06:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata/m-p/4374339#M1040765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-02T06:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_COPAACTUALS_POSTCOSTDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata/m-p/4374340#M1040766</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;Code your program like this and you will get know if your program is successfull:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_COPAACTUALS_POSTCOSTDATA'
EXPORTING
operatingconcern = p_oc 
testrun = p_test 
TABLES
inputdata = it_ipdata 
fieldlist = it_flist 
return = it_ret. 

READ TABLE it_ret WITH KEY type = 'E'. 

IF sy-subrc NE 0. IF sy-subrc NE 0.
READ TABLE it_ret WITH KEY type = 'A'. 
ENDIF.

IF sy-subrc = 0. 
* error. * Error.

WRITE : / 'Upload error...'. 

LOOP AT it_ret INTO ret.t.

WRITE : / ret-type , ret-id , ret-number, 
ret-message, ret-log_no, 
ret-message_v1, ret-message_v2,
ret-message_v3, ret-message_v4. 

ENDLOOP.
SKIP 1. 

ELSE.

IF p_test = ' '. 
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' 
EXPORTING
wait = 'X' 
* IMPORTING * 
* RETURN = 
.
WRITE : 'List of Records uploaded...'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2008 07:49:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata/m-p/4374340#M1040766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-02T07:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_COPAACTUALS_POSTCOSTDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata/m-p/4374341#M1040767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The test funciton module will not do the COMMIT, therefore no line item is really posted even afrer succesful test. Thanks for the reminder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2008 09:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-copaactuals-postcostdata/m-p/4374341#M1040767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-03T09:05:06Z</dc:date>
    </item>
  </channel>
</rss>

