<?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 Urgent: Problem with BAPI_AC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-bapi-ac-document-post/m-p/3765757#M906033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have an issue with BAPI_ACC_DOCUMENT_POST.&lt;/P&gt;&lt;P&gt;My program gets data through flat file and the data is processed to post through above mentioned BAPI.&lt;/P&gt;&lt;P&gt;The problem I face here is that there might be some errors in the data coming from the flat file, so when ever there is an error the BAPI raises through return  parameter and stops there, so every time the error comes we need to go to the flat file, correct it and re-execute the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is fine with few records, now user complaints that if there are many records then going to flat file each time would be tedious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please suggest me any solution regarding this, if there can be anyway such that all the errors are captured at once or any other BAPI or FM which can do the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full points to the useful answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil Kumar P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2008 11:04:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-05T11:04:14Z</dc:date>
    <item>
      <title>Urgent: Problem with BAPI_AC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-bapi-ac-document-post/m-p/3765757#M906033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have an issue with BAPI_ACC_DOCUMENT_POST.&lt;/P&gt;&lt;P&gt;My program gets data through flat file and the data is processed to post through above mentioned BAPI.&lt;/P&gt;&lt;P&gt;The problem I face here is that there might be some errors in the data coming from the flat file, so when ever there is an error the BAPI raises through return  parameter and stops there, so every time the error comes we need to go to the flat file, correct it and re-execute the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is fine with few records, now user complaints that if there are many records then going to flat file each time would be tedious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please suggest me any solution regarding this, if there can be anyway such that all the errors are captured at once or any other BAPI or FM which can do the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full points to the useful answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil Kumar P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 11:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-bapi-ac-document-post/m-p/3765757#M906033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T11:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Problem with BAPI_AC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-bapi-ac-document-post/m-p/3765758#M906034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check with the following code&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 = gd_documentheader&lt;/P&gt;&lt;P&gt;customercpd = gd_customercpd&lt;/P&gt;&lt;P&gt;contractheader = gd_fica_hd&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;obj_type = l_type&lt;/P&gt;&lt;P&gt;obj_key = l_key&lt;/P&gt;&lt;P&gt;obj_sys = l_sys&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;accountgl = it_accountgl&lt;/P&gt;&lt;P&gt;accountreceivable = it_accountreceivable&lt;/P&gt;&lt;P&gt;accountpayable = it_accountpayable&lt;/P&gt;&lt;P&gt;accounttax = it_accounttax&lt;/P&gt;&lt;P&gt;currencyamount = it_currencyamount&lt;/P&gt;&lt;P&gt;criteria = it_criteria&lt;/P&gt;&lt;P&gt;valuefield = it_valuefield&lt;/P&gt;&lt;P&gt;extension1 = it_ext&lt;/P&gt;&lt;P&gt;return = it_return&lt;/P&gt;&lt;P&gt;paymentcard = it_paymentcard&lt;/P&gt;&lt;P&gt;contractitem = it_fica_it&lt;/P&gt;&lt;P&gt;extension2 = it_ext2&lt;/P&gt;&lt;P&gt;realestate = it_re.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise go through the program 'ACC_BAPI_TEST_DOCUMENT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 12:58:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-bapi-ac-document-post/m-p/3765758#M906034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T12:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Problem with BAPI_AC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-bapi-ac-document-post/m-p/3765759#M906035</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;U can use BAPI_ACC_DOCUMENT_CHECK in order to check the file before posting the document and create a log where u print the number of wrong record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 13:10:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-bapi-ac-document-post/m-p/3765759#M906035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T13:10:28Z</dc:date>
    </item>
  </channel>
</rss>

