<?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 - 1 tax code, 2 lines: how to manipulate? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314646#M163189</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;RFBIBL00 program can be used as standard ABAP report program which reads the external file (eg .TXT). But format of TXT file is bit tricky. (see below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Report will convert the data and will generate a Batch Session which you have to execute using TCode sm35. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File format .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Row 0: Value "0"&lt;/P&gt;&lt;P&gt;Row 1: Header (Choose the desired columns from BBKPF structure)&lt;/P&gt;&lt;P&gt;Row 2: Detail line item 1 (Choose the desired columns from BBSEG structure)&lt;/P&gt;&lt;P&gt;Row 3: Detail Tax Item 1(Choose the desired columns from BBSEG structure)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on repeating the header and detail/tax line item for each invoice (Row 1, 2, 3). Note Row 0 will appear only once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps your TAX update&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 May 2006 15:33:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-12T15:33:20Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST - 1 tax code, 2 lines: how to manipulate?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314638#M163181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In our company code, we have a tax code, that has 2 tax percent.rates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goods/services tax   VST        7,000           160    100       GST &lt;/P&gt;&lt;P&gt;Provincial Sales Tax VST        8,025           170    100       PST &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These have to be calculated on the same base amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Payable line item:&lt;/P&gt;&lt;P&gt;amount:  1890&lt;/P&gt;&lt;P&gt;G/L line item:&lt;/P&gt;&lt;P&gt;amount:  1260,59&lt;/P&gt;&lt;P&gt;Tax line item 1:&lt;/P&gt;&lt;P&gt;amount:  115.02  (=7%)(base amount = 1260,59)&lt;/P&gt;&lt;P&gt;Tax line item 2:&lt;/P&gt;&lt;P&gt;amount:  361.45 (=8%)(base amount = 1260,59)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has to create 2 lines in the BSET table!&lt;/P&gt;&lt;P&gt;When we create an invoice online (fb60), this works perfectly. When I do it via the BAPI ACC_DOCUMENT_POST it's only one line item!&lt;/P&gt;&lt;P&gt;The BAPI somewhat counts up the tax two amounts that I give up in the BAPI (7% amount and 8% amount are counted togehter), only one line is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What it needs to do is create two line items for this tax code, with on each line item: the same base amount, the respectively percentage and calculated amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone any idea how I can manipulate this somehow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BSET table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invoice created online (ideal situation):&lt;/P&gt;&lt;P&gt;  line item 1, Base amount: 1643.12, Tax amount: 115.02&lt;/P&gt;&lt;P&gt;  line item 2, base amount: 1643.12, tax amount: 131.86&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invoice created via BAPI (wrong situation):&lt;/P&gt;&lt;P&gt;  line item 1, Base amount: 3286.24, Tax amount: 246.88&lt;/P&gt;&lt;P&gt;  (3286.24 = 1643.12 x 2, 246.88 = 115.02 + 131.86)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 11:44:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314638#M163181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T11:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - 1 tax code, 2 lines: how to manipulate?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314639#M163182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the BAPI, tax structure, the field: Tax Jurisdiction Code Level should contain 2 different values, then I get &lt;/P&gt;&lt;P&gt;a line for each rate that I enter (I enter the tax amount myself), but the underlying tax rate is actually still 8.025 for the two lines &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 12:08:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314639#M163182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T12:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - 1 tax code, 2 lines: how to manipulate?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314640#M163183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi boiler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange tax-scheme! - is it from belgium?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; give interface rfbibl00 a trial with filling structure bbtax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 12:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314640#M163183</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-05-12T12:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - 1 tax code, 2 lines: how to manipulate?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314641#M163184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try using RFBIBL00 Program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use structure BBTAX for both lines of TAX. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I is a workaround.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 12:25:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314641#M163184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T12:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - 1 tax code, 2 lines: how to manipulate?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314642#M163185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, this is for Canadian tax. PST &amp;amp; GST tax that is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use interface RFBIBL00? That's not to create an invoice I guess?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's the idea (if this canadian tax code does not prevent it) to work with a BAPI since most of the invoice posting logic is present &amp;amp; not too much programming has to be done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 12:33:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314642#M163185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T12:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - 1 tax code, 2 lines: how to manipulate?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314643#M163186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can post Invoices using RFBIBL00. Its for all kind of postings. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here as well u just have to populate data in desired format as in BAPI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 12:41:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314643#M163186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T12:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - 1 tax code, 2 lines: how to manipulate?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314644#M163187</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;&lt;/P&gt;&lt;P&gt;with rfbibl00 you can use all booking-transctions&lt;/P&gt;&lt;P&gt;like fb01, fb05, fb50,FB50, FB60, FB65, FB70, FB75&lt;/P&gt;&lt;P&gt;and f-xx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use it for EU-taxes:&lt;/P&gt;&lt;P&gt;for an invoice in a EU-State from an foreign but EU-vendor&lt;/P&gt;&lt;P&gt;i creat 2 tax lines with the fm CALCULATE_TAX_FROM_NET_AMOUNT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grace and a nice weekend&lt;/P&gt;&lt;P&gt;from the sunny Rhineland&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 12:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314644#M163187</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-05-12T12:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - 1 tax code, 2 lines: how to manipulate?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314645#M163188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I use this RFBIBL00?&lt;/P&gt;&lt;P&gt;Can't test it via SE37 + Shift + F8, because it's not a BAPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we would be using the BAPI BAPI_ACC_DOCUMENT_POST to post all invoices (so for all other tax codes) and then for the Canadian tax code we would use this RFBIBL00? Hmm, that would be dangerous, not?&lt;/P&gt;&lt;P&gt;Or is this RFBIBL00 a better way to do all the invoice postings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reminder: this is invoice information that is coming from external (Access) system, therefore we use a BAPI.&lt;/P&gt;&lt;P&gt;And I am not a real programmer, the most ABAP I know is filling in a BAPI &amp;amp; test it via SE37 + Shift + F8 &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; nice weekend&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 14:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314645#M163188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T14:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - 1 tax code, 2 lines: how to manipulate?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314646#M163189</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;RFBIBL00 program can be used as standard ABAP report program which reads the external file (eg .TXT). But format of TXT file is bit tricky. (see below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Report will convert the data and will generate a Batch Session which you have to execute using TCode sm35. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File format .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Row 0: Value "0"&lt;/P&gt;&lt;P&gt;Row 1: Header (Choose the desired columns from BBKPF structure)&lt;/P&gt;&lt;P&gt;Row 2: Detail line item 1 (Choose the desired columns from BBSEG structure)&lt;/P&gt;&lt;P&gt;Row 3: Detail Tax Item 1(Choose the desired columns from BBSEG structure)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on repeating the header and detail/tax line item for each invoice (Row 1, 2, 3). Note Row 0 will appear only once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps your TAX update&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 15:33:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314646#M163189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T15:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - 1 tax code, 2 lines: how to manipulate?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314647#M163190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boiler, I am also using VST tax type and am having problems posting with the same BAPI you are using.  The problem I am having is that the Bapi thinks the document is out of balance by the VST tax amount.  This is happening in Form 'DETER_BALANCE'.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't seem to be having this problem. Would you tell me if your T007B entries for VST are as follows?&lt;/P&gt;&lt;P&gt;Ktosl VST&lt;/P&gt;&lt;P&gt;Stgrp  2 &lt;/P&gt;&lt;P&gt;Stazf  &amp;#145;space&amp;#146;&lt;/P&gt;&lt;P&gt;Stbkz  2 &lt;/P&gt;&lt;P&gt;Stnsk &amp;#145;space&amp;#146;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 18:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-1-tax-code-2-lines-how-to-manipulate/m-p/1314647#M163190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T18:31:16Z</dc:date>
    </item>
  </channel>
</rss>

