<?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: Accts Payable posting using BAPI.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585796#M1081728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one more thing..my input file has just 1 header and 2 details lines..during debugging i can see the acct numbers populated perfectly as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0000000010&lt;/P&gt;&lt;P&gt;0000000020&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in acct gl , acct payable and currency structures...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what can be wrong ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2008 15:43:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-03T15:43:06Z</dc:date>
    <item>
      <title>Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585793#M1081725</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 using BAPI_ACC_DOCUMENT_POST to post acct payables. I have an input file which can have 1 header and multiple detail lines. My question is do I need to pass both accts payable and accts GL structures to this BAPI when i post accts payable data ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I want to understand how many lines items need to be filled in these structures as I am getting an error that says "Line item entered several times" and I am not able to figure out whats the issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inclusing the currency structure currently I am populting lines 10 and 20 if there are 2 details lines, am I right ? Pl explain with an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 17:26:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585793#M1081725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T17:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585794#M1081726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt; You need to use GL Structure as shown below.The error says that you have entered itemno value twice with the same value[000000001] in one of these structures,please do see the below code to understand better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Populating GL Structure&lt;/P&gt;&lt;P&gt;  wa_accountgl-itemno_acc  = v_itemnoacc.&lt;/P&gt;&lt;P&gt;  wa_accountgl-gl_account  = wa_lineitem-gl_account.&lt;/P&gt;&lt;P&gt;  wa_accountgl-profit_ctr  = wa_lineitem-profit_center.&lt;/P&gt;&lt;P&gt;  wa_accountgl-costcenter  = wa_lineitem-cost_center.&lt;/P&gt;&lt;P&gt;  wa_accountgl-item_text   = wa_lineitem-line_item_text.&lt;/P&gt;&lt;P&gt;  wa_accountgl-wbs_element = wa_lineitem-wbs_element.&lt;/P&gt;&lt;P&gt;  wa_accountgl-trade_id  = wa_lineitem-trading_partner.&lt;/P&gt;&lt;P&gt;  wa_accountgl-network     = wa_lineitem-network.&lt;/P&gt;&lt;P&gt;  wa_accountgl-comp_code   = wa_lineitem-line_company.&lt;/P&gt;&lt;P&gt;  wa_accountgl-cs_trans_t  = wa_lineitem-transaction_type.&lt;/P&gt;&lt;P&gt;  wa_accountgl-doc_type    = wa_lineitem-document_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND wa_accountgl TO it_check_accountgl.&lt;/P&gt;&lt;P&gt;  CLEAR wa_accountgl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Populating Currency Item Structure&lt;/P&gt;&lt;P&gt;  wa_currencyamount-itemno_acc = v_itemnoacc.&lt;/P&gt;&lt;P&gt;  TRANSLATE wa_lineitem-line_amount  USING ', '.&lt;/P&gt;&lt;P&gt;  CONDENSE wa_lineitem-line_amount NO-GAPS.&lt;/P&gt;&lt;P&gt;  wa_currencyamount-amt_doccur  = wa_lineitem-line_amount * amount_sign_value.&lt;/P&gt;&lt;P&gt;  wa_currencyamount-currency = v_currency.&lt;/P&gt;&lt;P&gt;  wa_currencyamount-curr_type = '00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND wa_currencyamount TO it_check_currencyamount.&lt;/P&gt;&lt;P&gt;  CLEAR wa_currencyamount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudharshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 04:02:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585794#M1081726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T04:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585795#M1081727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey sudarshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats exactly how I have done...but what happens is for every detail line in my input AP file a GL acct is created , is that correct ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i assign the acct number as follows: i need 10, 20, 30 and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA  l_lineacc(10)     TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_lineacc = 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt; wa_accountgl-itemno_acc = l_lineacc.&lt;/P&gt;&lt;P&gt; l_lineacc = l_lineacc + 10.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any issues in this ??&lt;/P&gt;&lt;P&gt;thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 15:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585795#M1081727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T15:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585796#M1081728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one more thing..my input file has just 1 header and 2 details lines..during debugging i can see the acct numbers populated perfectly as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0000000010&lt;/P&gt;&lt;P&gt;0000000020&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in acct gl , acct payable and currency structures...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what can be wrong ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 15:43:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585796#M1081728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T15:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585797#M1081729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i still get the error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AP Interface Errors&lt;/P&gt;&lt;P&gt;The following error occurred for the accounts payable&lt;/P&gt;&lt;P&gt;that was passed to SAP for your plant&lt;/P&gt;&lt;P&gt;     1 827671                1025 100010          Error in document: BKPFF &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     1 827671                1025 100010          FI/CO interface: Line item entered several times&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 15:44:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585797#M1081729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T15:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585798#M1081730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the structures that you are populating while posting the data please do check with all these as this error occurs only if you have line_Item_No value entered twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do check once again in debug mode before executing this bapi in depth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudharshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 16:59:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585798#M1081730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T16:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585799#M1081731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sudarshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am populating the following structures..&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 = wa_documentheader&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          accountgl      = t_accountgl&lt;/P&gt;&lt;P&gt;          accountpayable = t_accountpayable&lt;/P&gt;&lt;P&gt;          currencyamount = t_currencyamount&lt;/P&gt;&lt;P&gt;          return         = t_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the t_return , in debugging more has the following values, note the error number and see of u can help me any further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type   ID   Number  Message                                   Message3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E      RW    609    Error in document: BKPFF &lt;/P&gt;&lt;P&gt;E      RW    014    Line item entered several times     00000010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 17:26:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585799#M1081731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T17:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585800#M1081732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I forgot to specify this point which will definetly solve your problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In accounts payable structure you pass itemno_acc ='0000000001' thats fine but when you are populating GL structure and Currency amount Structure  you start with next item no like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_accountgl-itemno_acc  = v_itemnoacc + 1.&lt;/P&gt;&lt;P&gt;wa_currencyamount-itemno_acc = v_itemnoacc + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also if you are populating extension start with the above itemno + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope now you will be able to post the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudharshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 02:33:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585800#M1081732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T02:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585801#M1081733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey Sudarshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am back to working on this now but still not able to post the data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried ur way but no help...let me throw in some more points..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my input file has data like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;H827671                08102008 1889.19               1025 blah blah&lt;/P&gt;&lt;P&gt;D827671                         489.94                2112000800&lt;/P&gt;&lt;P&gt;D827671                         1399.25               2112000600&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;H denotes header and D denotes detail line..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i need to process the details lines and post the AP thru the BAPI..now there can be one or many details lines per header ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so my code stores the header lines in separate internal table and detail lines in another. I loop thru the detail. For every detail, there is a transaction id which is to link to the header record..i hope u understand this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at detail internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  at new transaction id&lt;/P&gt;&lt;P&gt;      fill the document header structure for bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  end at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fill acct payable venfor structure for bapi &lt;/P&gt;&lt;P&gt;  fill the GL acct structure for bapi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fill  the currency amount structure for bapi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; at new transaction id&lt;/P&gt;&lt;P&gt;    call bapi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; end at.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does this make sense ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, my code earlier had statements to fill the currency strructure twice for every loop pass..one with -ve value and one with +ve. So for 489.94, there will be 2 entries in the currency structure , 489.94 and -489.94. shud we pass this way ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried setting the line number as u said...like for vendor structure i set as 1, then for GL and currency amt i set as 2, 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in next loop, vendor structure takes as 1+10 = 11&lt;/P&gt;&lt;P&gt;so GL and currency take 12, 12 and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this correct ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 18:21:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585801#M1081733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T18:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585802#M1081734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Please do check this once again&lt;/P&gt;&lt;P&gt;	Load v_lineitem = 1&lt;/P&gt;&lt;P&gt;	           Update AccountsPayable table and Currency Amount Table of BAPI&lt;/P&gt;&lt;P&gt;                Load v_lineitem = 2&lt;/P&gt;&lt;P&gt;	           Update GLAccount table and Currency Amount Table of BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here if you see I have written currency structure at both the level.First time item_no(v_lineitem) is 1 with amount equals to header_amount.And second time item_no(v_lineitem) is 2 and the amount will be line item amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know you have been confused just see the below sketch to understand better&lt;/P&gt;&lt;P&gt;line_number = 1.&lt;/P&gt;&lt;P&gt;accountspayable-itemno_acc = line_number .&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;append accountspayable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currencyamount-itemno_acc = line_number .&lt;/P&gt;&lt;P&gt;currencyamount-amt_doccur = headeramount * -1.&lt;/P&gt;&lt;P&gt;append currencyamount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;accountgl-itemno_acc = line_number + 1.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;append accountgl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currencyamount-itemno_acc = wa_lineitem-invoice_line_number + 1.&lt;/P&gt;&lt;P&gt;currencyamount-amt_doccur = line_item_amount .&lt;/P&gt;&lt;P&gt;append currencyamount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you see now currency table you will find first row with line number 1 with header amount and from line 2 you will find line item amount .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if its clear to you now or no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;sudharshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 03:15:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585802#M1081734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T03:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585803#M1081735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Sudarshan, I too adopted a similar approach and it worked..thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 17:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585803#M1081735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T17:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585804#M1081736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I am having some difficulty with this BAPI as well.  I am unsure which field to put the tax amount in.&lt;/P&gt;&lt;P&gt;AMT_DOCCUR  or the AMT_BASE. &lt;/P&gt;&lt;P&gt;I have one entry for the AccountPayable line #1  $550.00&lt;/P&gt;&lt;P&gt;I have two entries in the AccountGL I'm making both of them for $250.00 Lines 2 &amp;amp; 3.  The tax amount for each is 10% or $25. &lt;/P&gt;&lt;P&gt;So I have two lines in my tax table, one for each invoice.  I then have two related lines in the CurrencyAmount module.  Each of them should be $25.00. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two entries in the Accounttax module  lines 4 &amp;amp; 5 each containing the tax code 'VD'. (10%)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have lines 1-5 in the CurrencyAmount module, one for each the AP line #1, the GL lines 2 &amp;amp; 3, and the AccountTax lines 4&amp;amp;5. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked fine before I entered the Tax lines so I'm assuming they are the problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I put the $25 in the AMT_DOCCUR and $250 in the AMT_BASE, I get an error stating 'The tax amount must not be greater than the Base amount'.  #747&lt;/P&gt;&lt;P&gt;When I flip it around and put the $250 in the AMT_DOCCUR and the $25 in the AMT_BASE, I get the error &lt;/P&gt;&lt;P&gt;" Balance in Transaction Currency" #702. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody know exactly how to fill this in. &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 20:31:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585804#M1081736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T20:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585805#M1081737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I GOT IT!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 21:27:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585805#M1081737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T21:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Accts Payable posting using BAPI..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585806#M1081738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brett ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a posting to do exactly same scenario you mentioned, Can you throw some light on how you populated ACCOUNTTAX structure that will be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my posted question &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="3851029" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="TAXACCOUNT structure issue in BAPI_ACC_DOC_POST" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 12:59:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accts-payable-posting-using-bapi/m-p/4585806#M1081738</guid>
      <dc:creator>former_member214084</dc:creator>
      <dc:date>2016-01-18T12:59:57Z</dc:date>
    </item>
  </channel>
</rss>

