1099 Withholding Tax data

hi,
how do we delete the withholding tax data for a document after it has been cleared. user has mistakenly entered the invoice as withholding  but  it should not.
how can we fix this.
Thanks
Sivaram

Hi
you have to reverse and reset clearing  the document  with FBRA  and post again without witholding tax.
BR Tarik

Similar Messages

  • How to run RFWT0020 to update withholding tax data

    Can anyone explain the difference between these two options when running RFWT0020 to update withholding tax data? Data Regeneration vs. Changes to Source Tax Code? I can't find any mention of the two options in the program documentation
    When I do test runs with the two different options, the program is selecting difference documents to update. If we are just turning on the 1099 functionality now (beginning with the 2011 tax year), should I run the program once with Regeneration mode and once with Changes to Source Tax Code???
    Thanks for any advice!
    Allison

    Hi,
    he program enables the withholding tax code to be changed for reconciled and open items with existing withholding tax data. For this, the tax rate of the existing withholding tax data as well as the tax rate of the new withholding tax code must be 0%. The new withholding tax codes are taken from the customer or vendor master data. In the case of extended withholding tax, the withholding tax code is only changed if the related withholding tax categories are the same. The withholding tax base amount is not changed by this procedure.
    Recreating or changing the withholding tax data requires that the program first be executed for invoices and then executed for payments in a subsequent step.
    When you start the program, the selection screen appears. You can make selections according to vendors, tax code 1, tax code 2 (vendor master record), customers, tax code 1, tax code 2 (customer master record), company codes, document numbers and posting data. The selection determines which items are checked for possible subsequent entries in tables BSEG, BSAK, BSIK, BSAD, BSID, WITH_ITEM.
    You can also decide whether only withholding tax data is to be handled for cases where the documents in question contain no withholding tax data. There is no withholding tax data if no withholding tax entries exist for the item selected in table WITH_ITEM (extended withholding tax) or the die withholding tax fields in table BSEG are not filled.
    The selection can also be made in test mode. If you do this, no changes are made in the database. You are therefore advised to run the program in test mode initially.
    Regards
    Aditya

  • RFWT0020 withholding tax data - Data Regen vs. Change to Source Tax Code?

    Can anyone explain the difference between these two options when running RFWT0020 to update withholding tax data?  Data Regeneration vs. Changes to Source Tax Code?  I can't find any mention of the two options in the program documentation
    When I do test runs with the two different options, the program is selecting difference documents to update.  If we are just turning on the 1099 functionality now (beginning with the 2011 tax year), should I run the program once with Regeneration mode and once with Changes to Source Tax Code???
    Thanks for any advice!
    Allison

    Hi,
    he program enables the withholding tax code to be changed for reconciled and open items with existing withholding tax data. For this, the tax rate of the existing withholding tax data as well as the tax rate of the new withholding tax code must be 0%. The new withholding tax codes are taken from the customer or vendor master data. In the case of extended withholding tax, the withholding tax code is only changed if the related withholding tax categories are the same. The withholding tax base amount is not changed by this procedure.
    Recreating or changing the withholding tax data requires that the program first be executed for invoices and then executed for payments in a subsequent step.
    When you start the program, the selection screen appears. You can make selections according to vendors, tax code 1, tax code 2 (vendor master record), customers, tax code 1, tax code 2 (customer master record), company codes, document numbers and posting data. The selection determines which items are checked for possible subsequent entries in tables BSEG, BSAK, BSIK, BSAD, BSID, WITH_ITEM.
    You can also decide whether only withholding tax data is to be handled for cases where the documents in question contain no withholding tax data. There is no withholding tax data if no withholding tax entries exist for the item selected in table WITH_ITEM (extended withholding tax) or the die withholding tax fields in table BSEG are not filled.
    The selection can also be made in test mode. If you do this, no changes are made in the database. You are therefore advised to run the program in test mode initially.
    Regards
    Aditya

  • Problem creating A/R Invoice with Withholding tax data via DI-Server

    Hi!
    Using the following SOAP Request to the DI-Server, I wanted to create an A/R Invoice having a withholding tax data but it always respond with an error saying
    Total taxable amount of all rows exceeds the base amount  [INV5.TaxbleAmnt][line: 1]
    SOAP Request:
    <?xml version="1.0" encoding="UTF-16"?>
    <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
      <env:Header>
        <SessionID>203A3C01-7808-4638-8322-2307DF3C0F8F</SessionID>
      </env:Header>
      <env:Body>
        <dis:Add xmlns:dis="http://www.sap.com/SBO/DIS">
          <Service>InvoicesService</Service>
          <Document>
            <DocType>dDocument_Items</DocType>
            <HandWritten>tNO</HandWritten>
            <DocDate>2010-02-08</DocDate>
            <DocDueDate>2010-02-08</DocDueDate>
            <TaxDate>2010-02-08</TaxDate>
            <VatDate>2010-02-08</VatDate>
            <CardCode>NPI</CardCode>
            <Comments>test di-server soap message 1</Comments>
            <DocumentLines>
              <DocumentLine>
                <ItemCode>TRC</ItemCode>
                <Quantity>1</Quantity>
                <Price>1000</Price>
                <TaxCode>OVAT</TaxCode>
                <VatGroup>OVAT</VatGroup>
                <TaxLiable>tYES</TaxLiable>
                <WTLiable>tYES</WTLiable>
              </DocumentLine>
            </DocumentLines>
            <WithholdingTaxDataCollection>
              <WithholdingTaxData>
                <WTCode>C140</WTCode>
                <TaxableAmount>1000</TaxableAmount>
                <WTAmount>100</WTAmount>
              </WithholdingTaxData>
            </WithholdingTaxDataCollection>
          </Document>
        </dis:Add>
      </env:Body>
    </env:Envelope>
    OVAT rate above is 10%.
    The withholding tax code C140 is setup as
    rate=10,
    Category=Payment,
    Base Type=Net,
    % Base Amount = 100,
    Rounding Type = Commercial Values.
    We are using the New Zealand/Australia localization in SAP B1 2007A PL49.
    The above code can be successful only if I set the <WithholdingTaxDataCollection> node to:
            <WithholdingTaxDataCollection>
              <WithholdingTaxData>
                <WTCode>C140</WTCode>
                <TaxableAmount>0</TaxableAmount>
                <WTAmount>100</WTAmount>
              </WithholdingTaxData>
            </WithholdingTaxDataCollection>
    setting TaxableAmount equal to 0 which is not desired.
    Can anyone extend me some help, please?
    Thanks.

    Albert,
    Did you try adding this via the DI API and not the DI Server?  Do you get the same error?  Please see this SAP Note ...
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0001303019
    Eddy

  • Create withholding tax data subsequently for reconciled and open items in c

    Hi All,
    Mine is a US co code and I have a  vendor for which invoice and payment documents are posted. After posting the invoice i found that the vendor is subjected to classic withholding tax which i did not calculate when posting invoice, making payments.
    Now i have changed the vendor master data with relevant withholding tax details.
    I know the program RFWT0020 allows us to create withholding tax data subsequently for reconciled and open items in cases where vendors or customers become liable for withholding tax with a tax rate of 0 %.
    It is not working out for me.
    Can any body help me on this.
    Thanks in advance.

    Dear all,
    by se38 --> report documentation, You can read carefully the following:
    The auxiliary program makes it possible to convert both classic and extended withholding tax data. However, with classic withholding tax, ONLY VENDOR data can be converted.
    In addition, the program enables the withholding tax code to be changed for reconciled and open items with existing withholding tax data. For this, the tax rate of the existing withholding tax data as well as the tax rate of the new withholding tax code must be 0%. The new withholding tax codes are taken from the customer or vendor master data. In the case of extended withholding tax, the withholding tax code is only changed if the related withholding tax categories are the same.  The withholding tax base amount is not changed by this procedure.
    Recreating or changing the withholding tax data requires that the program first be executed for INVOICES and then executed for PAYMENTS in a subsequent step.
    I hope this helps You.
    Mauri

  • Note for TW withholding tax data

    Hi,
    Who knows is the note about the latest uploading format of withholding tax data for Taiwan published?

    Hello
    The SAP note number is   1662886 -2011 Changes on Taiwan Tax Medium File.
    The note is currently in state "Inprocess" and have not yet been released.
    Please check the sap service market place  "www.service.sap.com/notes" for the note release status.
    Thanks and Kind Regards
    Ramana

  • BAPI_INCOMINGINVOICE_CREATE: Withholding tax data is not coming

    Dear all,
    I am using this BAPI to create Incoming Invoice. I am populating the Headerdata and Itemdata table. Then the invoice which is created doesnt have Withholding Tax Data Information.
    Even I tried to populate withtaxdata table, but didnt find the soln.
    The code is as shown below:
      DATA: t_headerdata LIKE STANDARD TABLE OF bapi_incinv_create_header WITH HEADER LINE,
            t_itemdata   LIKE STANDARD TABLE OF bapi_incinv_create_item WITH HEADER LINE,
            t_withtaxdata  LIKE STANDARD TABLE OF bapi_incinv_create_withtax WITH HEADER LINE,
            t_return     LIKE STANDARD TABLE OF bapiret2 WITH HEADER LINE,
            v_invoicedocnumber LIKE bapi_incinv_fld-inv_doc_no,
            v_fiscalyear LIKE bapi_incinv_fld-fisc_year,
            v_bukrs TYPE bukrs.
      DATA: v_knumv LIKE konv-knumv,
            v_kschl LIKE konv-kschl.
    LOOP AT itab1.
        tabix = 0.
        IF tabix = 0.
          LOOP AT itab2 WHERE ebeln = itab1-ebeln.
            MOVE-CORRESPONDING itab2 TO itab3.
            APPEND itab3.
          ENDLOOP.
          tabix = 1.
        ENDIF.
        SORT itab3 BY ebelp.
        count = 0.
        v_netamt = 0.
        LOOP AT itab3 WHERE ebeln = itab1-ebeln.
          v_menge = v_menge + itab3-tot_ton.
          v_dmbtr = v_dmbtr + itab3-frt_amt.
          AT END OF ebelp.
            count = count + 1.
            t_itemdata-invoice_doc_item = count.
            READ TABLE itab3 WITH KEY ebeln = itab1-ebeln
                                      ebelp = itab3-ebelp.
            IF sy-subrc = 0.
              t_itemdata-po_number   = itab3-ebeln.
              t_itemdata-po_item     = itab3-ebelp.
              t_itemdata-item_amount = v_dmbtr.
              t_itemdata-quantity    = v_menge.
              t_itemdata-po_unit     = itab1-meins.
              t_itemdata-item_text   = itab1-text.
              t_itemdata-tax_code = 'V0'.
    *Condition Type
              SELECT SINGLE knumv
                            FROM ekko
                            INTO v_knumv
                            WHERE ebeln = itab1-ebeln.
              IF sy-subrc = 0.
                SELECT SINGLE kschl
                              FROM konv
                              INTO v_kschl
                              WHERE knumv = v_knumv
                              AND   kposn = itab3-ebelp
                              AND   ( ( kschl = 'FRC1' ) OR ( kschl = 'FRB1' ) ).
                IF sy-subrc = 0.
                  t_itemdata-cond_type = v_kschl.
                ENDIF.
              ENDIF.
              APPEND t_itemdata.
              CLEAR: v_menge, v_dmbtr.
            ENDIF.
          ENDAT.
          v_netamt = v_netamt + itab3-frt_amt.
        ENDLOOP.
        t_headerdata-invoice_ind = 'X'.
        t_headerdata-doc_date    = itab1-inv_date.
        t_headerdata-pstng_date  = itab1-budat.
        t_headerdata-ref_doc_no  = itab1-refno.
        SELECT SINGLE bukrs INTO v_bukrs FROM ekko WHERE ebeln = itab1-ebeln.
        IF sy-subrc = 0.
          t_headerdata-comp_code   = v_bukrs.
        ENDIF.
        t_headerdata-currency    = itab1-waers.
        t_headerdata-gross_amount = v_netamt.
        t_headerdata-bline_date  = itab1-budat.
        t_headerdata-item_text   = itab1-text.
        t_headerdata-diff_inv = itab1-lifnr.
        t_headerdata-business_place = '1000'.
       APPEND t_headerdata.
       t_withtaxdata-wi_tax_type = 'C1'.
       t_withtaxdata-wi_tax_code = 'C1'.
       t_withtaxdata-wi_tax_base = v_netamt.
       APPEND t_withtaxdata.
       t_withtaxdata-wi_tax_type = 'C2'.
       t_withtaxdata-wi_tax_code = 'C2'.
       t_withtaxdata-wi_tax_base = v_netamt.
       APPEND t_withtaxdata.
       t_withtaxdata-wi_tax_type = 'C3'.
       t_withtaxdata-wi_tax_code = 'V3'.
       t_withtaxdata-wi_tax_base = v_netamt.
       APPEND t_withtaxdata.
        CLEAR: v_netamt.
        break bsfdev.
        CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'
          EXPORTING
            headerdata                = t_headerdata
        ADDRESSDATA               =
       IMPORTING
         invoicedocnumber          = v_invoicedocnumber
         fiscalyear                = v_fiscalyear
          TABLES
            itemdata                  = t_itemdata
        ACCOUNTINGDATA            =
        glaccountdata             =
        MATERIALDATA              =
        TAXDATA                   =
        withtaxdata               = t_withtaxdata
        VENDORITEMSPLITDATA       =
            return                    = t_return
        CLEAR errflag.
        LOOP AT t_return.
          IF t_return-type EQ 'E'.
            it_message-text = 'Error in function'.
            it_message-text1 =  t_return-message.
            it_message-po_number = itab1-ebeln.
            it_message-exnum = itab1-exnum.
            APPEND it_message.
            errflag = 'X'.
          ELSE.
          ENDIF.
        ENDLOOP.
        IF errflag IS INITIAL.
          COMMIT WORK AND WAIT.
          IF sy-subrc NE 0.
            it_message-po_number = itab1-ebeln.
            it_message-text = 'Error in updating'.
            it_message-text1 =  t_return-message.
            APPEND it_message.
            EXIT.
          ELSE.
    *Fill Temporary table
            LOOP AT itab3.
              IF v_invoicedocnumber <> space.
                it_message1-po_number = itab3-ebeln.
                it_message1-po_item   = itab3-ebelp.
                it_message1-doc_number = itab3-belnr.
                it_message1-invoicedocno = v_invoicedocnumber.
                it_message1-exnum = itab1-exnum.
                APPEND it_message1.
                zpending_challan-po_number    = itab3-ebeln.
                zpending_challan-po_item      = itab3-ebelp.
                zpending_challan-doc_number   = itab3-belnr.
                zpending_challan-exnum        = itab3-exnum.
                zpending_challan-invoicedocno = v_invoicedocnumber.
                zpending_challan-menge        = itab3-tot_ton.
                zpending_challan-dmbtr        = itab3-frt_amt.
                zpending_challan-budat        = itab3-budat.
                INSERT zpending_challan FROM zpending_challan.
                COMMIT WORK.
                CLEAR: zpending_challan.
              ENDIF.
            ENDLOOP.
          ENDIF.
        ENDIF.
        IF errflag IS INITIAL.
          count = count + 1.
          CONCATENATE count 'Purchase Order Posted Out of '  no_recs1
                            INTO text1 SEPARATED BY space.
          CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
           EXPORTING
      PERCENTAGE       = 0
             text             = text1
          CONCATENATE 'Invoice Document No' v_invoicedocnumber 'generated'
                                            INTO text1 SEPARATED BY space.
          CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
           EXPORTING
      PERCENTAGE       = 0
             text             = text1
        ENDIF.
        CLEAR: t_headerdata[], t_headerdata,
               t_itemdata[], t_itemdata,
               itab3[], itab3.
      ENDLOOP.
    Kindly help. Its very urgent.
    Thanks.
    Vinod.

    Not used any more

  • 1099:  Withholding tax not updating 1099

    Hello SAP Guru's,
    We updating the Withholding Tax Code under vendor master, then we ran the RFWT0010 program and confirmed the updates were made and now we are trying to re-print the 1099 via S_P00_07000134 and the 1099 still shows the value in the wrong tax code field. 
    What is the problem?

    Just to clarify-
    I updated the tax code from 07 to 01 and after updated via the program and try to re-print the 1099, it is still showing as 07.  I need it to say 01 like it shows in cleared items.
    I need to be able to re-print 1099 using S_P00_07000134 with changes.  I thought by executing the program and reprinting via S_P00_07000134, it would do that.  It still shows amount in tax code 07 and not 01 which it was changed too.
    I appreciate your help!
    Edited by: AMS on Apr 26, 2010 5:23 PM

  • Clear Withholding tax data while posting customer invoice

    Gurus,
    I am trying to post Customer invoice document using FB01 transaction.
    If the customer has with holding tax information available in Customer Master the corresponding information is getting posted into invoice document.
    Is there any user exit, enhancement or substitution available to clear this with holding tax data.
    Please do share if any code examples on this issue.
    Appreciate your quick response.
    Thanks,
    Suneel

    Dear AMD008
    were you maintain properly in OB40 MWS (out put tax) relevant GL Account
    Note: are you using NEW GL please conform me
    Regards
    shankar

  • How to create A/R Invoice having Withholding Tax Data using DI-Server?

    <P>Hi Experts,</P>
    <P>I want to create an A/R Invoice having a Withholding Tax line
    through DI-Server (SAP Business One 2005B PL43) using the following
    SOAP Request (Method 1 and Method 2) but both generated an 'Invalid
    XML' error response. If I exclude the WithholdingTaxData tag (or the
    WithholdingTaxDataCollection tag) from the SOAP request, the invoice
    is successfully created but without the Withholding Tax entry in the
    table INV5.</P>
    <P>I've had success in the past using the &quot;&lt;SerialNumbers&gt;&quot;
    and &quot;&lt;DocumentsAdditionalExpenses&gt;&quot;.
    </P>
    <P>In the SOAP Requests below, what is wrong with the usage of
    &quot;&lt;WithholdingTaxData&gt;&quot; or
    &quot;&lt;WithholdingTaxDataCollection&gt;&quot;?</P>
    <P>Is it possible at all to create a document having Withholding Tax
    entries using the DI-Server SOAP Request?</P>
    <P>Thank you very much.</P>
    <P><BR><BR>
    </P>
    <P>Method 1:</P>
    <P>SOAP REQUEST (Using AddObject command):</P>
    <P>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-16&quot;?&gt;<BR>&lt;env:Envelope
    xmlns:env=&quot;<A HREF="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</A>&quot;&gt;<BR>     &lt;env:Header&gt;<BR>          &lt;SessionID&gt;08C5BB21-34E3-468E-952F-EEC1CBE19272&lt;/SessionID&gt;<BR>     &lt;/env:Header&gt;<BR>     &lt;env:Body&gt;<BR>          &lt;dis:AddObject
    xmlns:dis=&quot;<A HREF="http://www.sap.com/SBO/DIS">http://www.sap.com/SBO/DIS</A>&quot;&gt;<BR>               &lt;BOM&gt;&lt;BO&gt;<BR>                    &lt;AdmInfo&gt;<BR>                         &lt;Object&gt;oInvoices&lt;/Object&gt;<BR>                    &lt;/AdmInfo&gt;<BR>                    &lt;Documents&gt;<BR>                         &lt;row&gt;<BR>                              &lt;DocDate&gt;20090520&lt;/DocDate&gt;<BR>                              &lt;DocDueDate&gt;20090619&lt;/DocDueDate&gt;<BR>                              &lt;TaxDate&gt;20090520&lt;/TaxDate&gt;<BR>                              &lt;DocCurrency&gt;EUR&lt;/DocCurrency&gt;<BR>                              &lt;CardCode&gt;MULTICURRBP&lt;/CardCode&gt;<BR>                              &lt;ContactPersonCode&gt;0&lt;/ContactPersonCode&gt;<BR>                              &lt;Comments&gt;Withholding
    Tax
    Liable&lt;/Comments&gt;<BR>                              &lt;SalesPersonCode&gt;1&lt;/SalesPersonCode&gt;<BR>                         &lt;/row&gt;<BR>                    &lt;/Documents&gt;<BR>                    &lt;Document_Lines&gt;<BR>                         &lt;row&gt;<BR>                              &lt;ItemCode&gt;MON001&lt;/ItemCode&gt;<BR>                              &lt;Quantity&gt;1.00&lt;/Quantity&gt;<BR>                              &lt;WarehouseCode&gt;cag01&lt;/WarehouseCode&gt;<BR>                              &lt;UnitPrice&gt;65.57&lt;/UnitPrice&gt;<BR>                              &lt;Currency&gt;EUR&lt;/Currency&gt;<BR>                              &lt;VatGroup&gt;SO&lt;/VatGroup&gt;<BR>                              &lt;WTLiable&gt;tYES&lt;/WTLiable&gt;<BR>                         &lt;/row&gt;<BR>                    &lt;/Document_Lines&gt;<BR>                    &lt;WithholdingTaxData&gt;<BR>                         &lt;row&gt;<BR>                              &lt;WTCode&gt;S&lt;WTCode&gt;<BR>                              &lt;WTAmountFC&gt;14.43&lt;WTAmountFC&gt;<BR>                              &lt;TaxableAmountFC&gt;65.57&lt;TaxableAmountFC&gt;<BR>                              &lt;GLAccount&gt;207032&lt;GLAccount&gt;<BR>                         &lt;/row&gt;<BR>                    &lt;/WithholdingTaxData&gt;<BR>               &lt;/BO&gt;&lt;/BOM&gt;<BR>          &lt;/dis:AddObject&gt;<BR>     &lt;/env:Body&gt;<BR>&lt;/env:Envelope&gt;</P>
    <P><BR><BR>
    </P>
    <P>SOAP RESPONSE (Using AddObject command):</P>
    <P>&lt;?xml version=&quot;1.0&quot;?&gt;<BR>&lt;env:Envelope
    xmlns:env=&quot;<A HREF="http://www.w3.org/2003/05/soap-envelope">http://www.w3.org/2003/05/soap-envelope</A>&quot;&gt;<BR>     &lt;env:Body&gt;<BR>          &lt;env:Fault&gt;<BR>               &lt;env:Code&gt;&lt;env:Value&gt;env:Sender&lt;/env:Value&gt;&lt;/env:Code&gt;<BR>               &lt;env:Reason&gt;&lt;env:Text
    xml:lang=&quot;en&quot;&gt;Invalid
    XML&lt;/env:Text&gt;&lt;/env:Reason&gt;<BR>               &lt;env:Detail&gt;<BR>                    &lt;ErrorList&gt;<BR>                         &lt;Error&gt;System
    Id = 18023032, Line Number = 1, Column Number = 1064, Description =
    Expected end of tag
    'GLAccount'&lt;/Error&gt;<BR>                    &lt;/ErrorList&gt;<BR>               &lt;/env:Detail&gt;<BR>          &lt;/env:Fault&gt;<BR>     &lt;/env:Body&gt;<BR>&lt;/env:Envelope&gt;</P>
    <P><BR><BR>
    </P>
    <P>Method 2:</P>
    <P>SOAP REQUEST (Using Add Service command):</P>
    <P>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-16&quot;?&gt;<BR>&lt;env:Envelope
    xmlns:env=&quot;<A HREF="http://www.w3.org/2003/05/soap-envelope">http://www.w3.org/2003/05/soap-envelope</A>&quot;&gt;<BR>     &lt;env:Header&gt;<BR>     
    &lt;SessionID&gt;1F6C7E11-CC5B-A5F3-0206-D1F4A8B9D84A&lt;/SessionID&gt;<BR>     &lt;/env:Header&gt;<BR>     &lt;env:Body&gt;<BR>          &lt;dis:Add
    xmlns:dis=&quot;<A HREF="http://www.sap.com/SBO/DIS">http://www.sap.com/SBO/DIS</A>&quot;&gt;<BR>               &lt;Service&gt;InvoicesService&lt;/Service&gt;<BR>               &lt;Document&gt;<BR>                    &lt;DocDate&gt;2009-05-20&lt;/DocDate&gt;<BR>                    &lt;DocDueDate&gt;2009-06-19&lt;/DocDueDate&gt;<BR>                    &lt;TaxDate&gt;2009-05-20&lt;/TaxDate&gt;<BR>                    &lt;DocCurrency&gt;EUR&lt;/DocCurrency&gt;<BR>                    &lt;CardCode&gt;MULTICURRBP&lt;/CardCode&gt;<BR>                    &lt;ContactPersonCode&gt;0&lt;/ContactPersonCode&gt;<BR>                    &lt;Comments&gt;Withholding
    Tax
    Liable&lt;/Comments&gt;<BR>                    &lt;SalesPersonCode&gt;1&lt;/SalesPersonCode&gt;<BR>                    &lt;DocumentLines&gt;<BR>                         &lt;DocumentLine&gt;<BR>                              &lt;ItemCode&gt;MON001&lt;/ItemCode&gt;<BR>                              &lt;Quantity&gt;1.00&lt;/Quantity&gt;<BR>                              &lt;WarehouseCode&gt;cag01&lt;/WarehouseCode&gt;<BR>                              &lt;UnitPrice&gt;65.57&lt;/UnitPrice&gt;<BR>                              &lt;Currency&gt;EUR&lt;/Currency&gt;<BR>                              &lt;VatGroup&gt;SO&lt;/VatGroup&gt;<BR>                              &lt;WTLiable&gt;tYES&lt;/WTLiable&gt;<BR>                         &lt;/DocumentLine&gt;<BR>                    &lt;/DocumentLines&gt;<BR>                    &lt;WithholdingTaxDataCollection&gt;<BR>                         &lt;WithholdingTaxData&gt;<BR>                              &lt;WTCode&gt;S&lt;WTCode&gt;<BR>                              &lt;WTAmountFC&gt;14.43&lt;WTAmountFC&gt;<BR>                              &lt;TaxableAmountFC&gt;65.57&lt;TaxableAmountFC&gt;<BR>                              &lt;GLAccount&gt;207032&lt;GLAccount&gt;<BR>                         &lt;/WithholdingTaxData&gt;<BR>                    &lt;/WithholdingTaxDataCollection&gt;<BR>               &lt;/Document&gt;<BR>          &lt;/dis:Add&gt;<BR>     &lt;/env:Body&gt;<BR>&lt;/env:Envelope&gt;</P>
    <P><BR><BR>
    </P>
    <P>SOAP RESPONSE (Using Add Service command):</P>
    <P>&lt;?xml version=&quot;1.0&quot;?&gt;<BR>&lt;env:Envelope
    xmlns:env=&quot;<A HREF="http://www.w3.org/2003/05/soap-envelope">http://www.w3.org/2003/05/soap-envelope</A>&quot;&gt;<BR>     &lt;env:Body&gt;<BR>          &lt;env:Fault&gt;<BR>               &lt;env:Code&gt;&lt;env:Value&gt;env:Sender&lt;/env:Value&gt;&lt;/env:Code&gt;<BR>               &lt;env:Reason&gt;&lt;env:Text
    xml:lang=&quot;en&quot;&gt;Invalid
    XML&lt;/env:Text&gt;&lt;/env:Reason&gt;<BR>               &lt;env:Detail&gt;<BR>                    &lt;ErrorList&gt;<BR>                         &lt;Error&gt;System
    Id = 134112056, Line Number = 1, Column Number = 1076, Description =
    Expected end of tag
    'GLAccount'&lt;/Error&gt;<BR>                    &lt;/ErrorList&gt;<BR>               &lt;/env:Detail&gt;<BR>          &lt;/env:Fault&gt;<BR>     &lt;/env:Body&gt;<BR>&lt;/env:Envelope&gt;</P>

    <P STYLE="margin-bottom: 0in">Hi Experts,</P>
    <P STYLE="margin-bottom: 0in">My apologies for the truncated message.
    Here's the full one.</P>
    <P STYLE="margin-bottom: 0in">I want to create an A/R Invoice having
    a Withholding Tax line through DI-Server (SAP Business One 2005B
    PL43) using the following SOAP Request (Method 1 and Method 2) but
    both generated an 'Invalid XML' error response. If I exclude the
    WithholdingTaxData tag (or the WithholdingTaxDataCollection tag) from
    the SOAP request, the invoice is successfully created but without the
    Withholding Tax entry in the table INV5.</P>
    <P STYLE="margin-bottom: 0in">I've had success in the past using the
    &quot;&lt;SerialNumbers&gt;&quot; and
    &quot;&lt;DocumentsAdditionalExpenses&gt;&quot;.
    </P>
    <P STYLE="margin-bottom: 0in">In the SOAP Requests below, what is
    wrong with the usage of &quot;&lt;WithholdingTaxData&gt;&quot; or
    &quot;&lt;WithholdingTaxDataCollection&gt;&quot;?</P>
    <P STYLE="margin-bottom: 0in">Is it possible at all to create a
    document having Withholding Tax entries using the DI-Server SOAP
    Request?</P>
    <P STYLE="margin-bottom: 0in">Thank you very much.</P>
    <BR>
    <P STYLE="margin-bottom: 0in">Method 1:</P>
    <BR>
    <P STYLE="margin-bottom: 0in">SOAP REQUEST (Using AddObject command):</P>
    <P STYLE="margin-bottom: 0in">&lt;?xml version=&quot;1.0&quot;
    encoding=&quot;UTF-16&quot;?&gt;</P>
    <P STYLE="margin-bottom: 0in">&lt;env:Envelope
    xmlns:env=&quot;http://schemas.xmlsoap.org/soap/envelope/"></P>
    <P STYLE="margin-bottom: 0in">     &lt;env:Header&gt;</P>
    <P STYLE="margin-bottom: 0in">          &lt;SessionID&gt;08C5BB21-34E3-468E-952F-EEC1CBE19272&lt;/SessionID&gt;</P>
    <P STYLE="margin-bottom: 0in">     &lt;/env:Header&gt;</P>
    <P STYLE="margin-bottom: 0in">     &lt;env:Body&gt;</P>
    <P STYLE="margin-bottom: 0in">          &lt;dis:AddObject
    xmlns:dis=&quot;http://www.sap.com/SBO/DIS"></P>
    <P STYLE="margin-bottom: 0in">               &lt;BOM&gt;&lt;BO&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;AdmInfo&gt;</P>
    <P STYLE="margin-bottom: 0in">                         &lt;Object&gt;oInvoices&lt;/Object&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;/AdmInfo&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;Documents&gt;</P>
    <P STYLE="margin-bottom: 0in">                         &lt;row&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;DocDate&gt;20090520&lt;/DocDate&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;DocDueDate&gt;20090619&lt;/DocDueDate&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;TaxDate&gt;20090520&lt;/TaxDate&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;DocCurrency&gt;EUR&lt;/DocCurrency&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;CardCode&gt;MULTICURRBP&lt;/CardCode&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;ContactPersonCode&gt;0&lt;/ContactPersonCode&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;Comments&gt;Withholding Tax
    Liable&lt;/Comments&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;SalesPersonCode&gt;1&lt;/SalesPersonCode&gt;</P>
    <P STYLE="margin-bottom: 0in">                         &lt;/row&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;/Documents&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;Document_Lines&gt;</P>
    <P STYLE="margin-bottom: 0in">                         &lt;row&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;ItemCode&gt;MON001&lt;/ItemCode&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;Quantity&gt;1.00&lt;/Quantity&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;WarehouseCode&gt;cag01&lt;/WarehouseCode&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;UnitPrice&gt;65.57&lt;/UnitPrice&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;Currency&gt;EUR&lt;/Currency&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;VatGroup&gt;SO&lt;/VatGroup&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;WTLiable&gt;tYES&lt;/WTLiable&gt;</P>
    <P STYLE="margin-bottom: 0in">                         &lt;/row&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;/Document_Lines&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;WithholdingTaxData&gt;</P>
    <P STYLE="margin-bottom: 0in">                         &lt;row&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;WTCode&gt;S&lt;WTCode&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;WTAmountFC&gt;14.43&lt;WTAmountFC&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;TaxableAmountFC&gt;65.57&lt;TaxableAmountFC&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;GLAccount&gt;207032&lt;GLAccount&gt;</P>
    <P STYLE="margin-bottom: 0in">                         &lt;/row&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;/WithholdingTaxData&gt;</P>
    <P STYLE="margin-bottom: 0in">               &lt;/BO&gt;&lt;/BOM&gt;</P>
    <P STYLE="margin-bottom: 0in">          &lt;/dis:AddObject&gt;</P>
    <P STYLE="margin-bottom: 0in">     &lt;/env:Body&gt;</P>
    <P STYLE="margin-bottom: 0in">&lt;/env:Envelope&gt;</P>
    <P STYLE="margin-bottom: 0in"><BR>
    </P>
    <P STYLE="margin-bottom: 0in">SOAP RESPONSE (Using AddObject
    command):</P>
    <P STYLE="margin-bottom: 0in">&lt;?xml version=&quot;1.0&quot;?&gt;</P>
    <P STYLE="margin-bottom: 0in">&lt;env:Envelope
    xmlns:env=&quot;http://www.w3.org/2003/05/soap-envelope"></P>
    <P STYLE="margin-bottom: 0in">     &lt;env:Body&gt;</P>
    <P STYLE="margin-bottom: 0in">          &lt;env:Fault&gt;</P>
    <P STYLE="margin-bottom: 0in">               &lt;env:Code&gt;&lt;env:Value&gt;env:Sender&lt;/env:Value&gt;&lt;/env:Code&gt;</P>
    <P STYLE="margin-bottom: 0in">               &lt;env:Reason&gt;&lt;env:Text
    xml:lang=&quot;en&quot;&gt;Invalid XML&lt;/env:Text&gt;&lt;/env:Reason&gt;</P>
    <P STYLE="margin-bottom: 0in">               &lt;env:Detail&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;ErrorList&gt;</P>
    <P STYLE="margin-bottom: 0in">                         &lt;Error&gt;System Id = 18023032,
    Line Number = 1, Column Number = 1064, Description = Expected end of
    tag 'GLAccount'&lt;/Error&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;/ErrorList&gt;</P>
    <P STYLE="margin-bottom: 0in">               &lt;/env:Detail&gt;</P>
    <P STYLE="margin-bottom: 0in">          &lt;/env:Fault&gt;</P>
    <P STYLE="margin-bottom: 0in">     &lt;/env:Body&gt;</P>
    <P STYLE="margin-bottom: 0in">&lt;/env:Envelope&gt;</P>
    <P STYLE="margin-bottom: 0in"><BR>
    </P>
    <P STYLE="margin-bottom: 0in"><BR>
    </P>
    <P STYLE="margin-bottom: 0in">Method 2:</P>
    <P STYLE="margin-bottom: 0in"><BR>
    </P>
    <P STYLE="margin-bottom: 0in">SOAP REQUEST (Using Add Service
    command):</P>
    <P STYLE="margin-bottom: 0in">&lt;?xml version=&quot;1.0&quot;
    encoding=&quot;UTF-16&quot;?&gt;</P>
    <P STYLE="margin-bottom: 0in">&lt;env:Envelope
    xmlns:env=&quot;http://www.w3.org/2003/05/soap-envelope"></P>
    <P STYLE="margin-bottom: 0in">     &lt;env:Header&gt;</P>
    <P STYLE="margin-bottom: 0in">     
    &lt;SessionID&gt;1F6C7E11-CC5B-A5F3-0206-D1F4A8B9D84A&lt;/SessionID&gt;</P>
    <P STYLE="margin-bottom: 0in">     &lt;/env:Header&gt;</P>
    <P STYLE="margin-bottom: 0in">     &lt;env:Body&gt;</P>
    <P STYLE="margin-bottom: 0in">          &lt;dis:Add
    xmlns:dis=&quot;http://www.sap.com/SBO/DIS"></P>
    <P STYLE="margin-bottom: 0in">               &lt;Service&gt;InvoicesService&lt;/Service&gt;</P>
    <P STYLE="margin-bottom: 0in">               &lt;Document&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;DocDate&gt;2009-05-20&lt;/DocDate&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;DocDueDate&gt;2009-06-19&lt;/DocDueDate&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;TaxDate&gt;2009-05-20&lt;/TaxDate&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;DocCurrency&gt;EUR&lt;/DocCurrency&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;CardCode&gt;MULTICURRBP&lt;/CardCode&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;ContactPersonCode&gt;0&lt;/ContactPersonCode&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;Comments&gt;Withholding Tax
    Liable&lt;/Comments&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;SalesPersonCode&gt;1&lt;/SalesPersonCode&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;DocumentLines&gt;</P>
    <P STYLE="margin-bottom: 0in">                         &lt;DocumentLine&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;ItemCode&gt;MON001&lt;/ItemCode&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;Quantity&gt;1.00&lt;/Quantity&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;WarehouseCode&gt;cag01&lt;/WarehouseCode&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;UnitPrice&gt;65.57&lt;/UnitPrice&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;Currency&gt;EUR&lt;/Currency&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;VatGroup&gt;SO&lt;/VatGroup&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;WTLiable&gt;tYES&lt;/WTLiable&gt;</P>
    <P STYLE="margin-bottom: 0in">                         &lt;/DocumentLine&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;/DocumentLines&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;WithholdingTaxDataCollection&gt;</P>
    <P STYLE="margin-bottom: 0in">                         &lt;WithholdingTaxData&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;WTCode&gt;S&lt;WTCode&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;WTAmountFC&gt;14.43&lt;WTAmountFC&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;TaxableAmountFC&gt;65.57&lt;TaxableAmountFC&gt;</P>
    <P STYLE="margin-bottom: 0in">                              &lt;GLAccount&gt;207032&lt;GLAccount&gt;</P>
    <P STYLE="margin-bottom: 0in">                         &lt;/WithholdingTaxData&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;/WithholdingTaxDataCollection&gt;</P>
    <P STYLE="margin-bottom: 0in">               &lt;/Document&gt;</P>
    <P STYLE="margin-bottom: 0in">          &lt;/dis:Add&gt;</P>
    <P STYLE="margin-bottom: 0in">     &lt;/env:Body&gt;</P>
    <P STYLE="margin-bottom: 0in">&lt;/env:Envelope&gt;</P>
    <P STYLE="margin-bottom: 0in"><BR>
    </P>
    <P STYLE="margin-bottom: 0in">SOAP RESPONSE (Using Add Service
    command):</P>
    <P STYLE="margin-bottom: 0in">&lt;?xml version=&quot;1.0&quot;?&gt;</P>
    <P STYLE="margin-bottom: 0in">&lt;env:Envelope
    xmlns:env=&quot;http://www.w3.org/2003/05/soap-envelope"></P>
    <P STYLE="margin-bottom: 0in">     &lt;env:Body&gt;</P>
    <P STYLE="margin-bottom: 0in">          &lt;env:Fault&gt;</P>
    <P STYLE="margin-bottom: 0in">               &lt;env:Code&gt;&lt;env:Value&gt;env:Sender&lt;/env:Value&gt;&lt;/env:Code&gt;</P>
    <P STYLE="margin-bottom: 0in">               &lt;env:Reason&gt;&lt;env:Text
    xml:lang=&quot;en&quot;&gt;Invalid XML&lt;/env:Text&gt;&lt;/env:Reason&gt;</P>
    <P STYLE="margin-bottom: 0in">               &lt;env:Detail&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;ErrorList&gt;</P>
    <P STYLE="margin-bottom: 0in">                         &lt;Error&gt;System Id =
    134112056, Line Number = 1, Column Number = 1076, Description =
    Expected end of tag 'GLAccount'&lt;/Error&gt;</P>
    <P STYLE="margin-bottom: 0in">                    &lt;/ErrorList&gt;</P>
    <P STYLE="margin-bottom: 0in">               &lt;/env:Detail&gt;</P>
    <P STYLE="margin-bottom: 0in">          &lt;/env:Fault&gt;</P>
    <P STYLE="margin-bottom: 0in">     &lt;/env:Body&gt;</P>
    <P STYLE="margin-bottom: 0in">&lt;/env:Envelope&gt;</P>

  • Regarding Withholding Tax data updation

    I have posted a AB document using FB1K.Whenever i go to FB1K transaction & put the vendor and click on Process open items,i am getting 1 pop-up saying "Withholding tax ignored". Then i will post the open items. This will create a AB document type.
    Then if i go to FB03 for this document,there will be zero amount updated for both the line items. This is happening eventhough the vendor is liable for Withholding tax.
    But if i post any other document like KR,RE,KG,its properly updating the withholding tax.
    Can someone help me how AB document is getting updated with zero amount.
    Thanks,
    Aparna.

    check with holding tax posting configration in SPRO
    1)Define Withholding Tax Type for Payment Posting
    2)Define Withholding Tax Type for Invoice Posting

  • Table DFKKQSR not being populated for 1099 withholding tax reporting

    we had to run a catch up program to populate this table in order to run program rfidyywt to generate 1099 forms. am wondering what config might be missing that would allow this table to be populated automatically as relevant transactions occur? ie: payments to business partners that are 1099able...
    thanks,
    Kashmir

    I wouldn't mind it being closed if it weren't related to FICA public sector, but the table DFKKQSR is not an FI table, its a table in contract accounting... FI folks won't know the answer to this... I don't believe. its something someone working on FICA would have encountered..

  • MIRO - Change Withholding tax data at save dinamically

    Hi dear all ,
    We will have an Z table to be used as parameter to input an WHT code at MIRO automaticaly.
    Some vendors and services must be taxed by certain codes. So we need change the currently code at MIRO WHT screen  to new one.
    Could I do this thru user exit at MIRO without end user put their hands ? could I change bases too ?
    I found user exit 'EXIT_SAPLMR1M_004' but I'm sure if is possible do it !
    best regards,
    Ale

    Try using this BADI along with ABAP person.
    MRM_WT_SPLIT_UPDATE
    You can write your own code here and sent default whereever you do not wish.
    Hemant

  • Vendor withholding tax master data in Transactional data

    Hi
    In which sap transactional table vendor witholding master data ( fk01- withholding tax data).  while recording outgoing payment transaction FK53  or  vendor invoice FB60.
    Vendor master > withholding tax accounting   table is   LFBW.
    i need where it is saved while posting Outgoing payment trasanction in transactionl data.
    thanks.
    thomas

    hi
    i need field
    withholding tax exemption no, exemption from date, todate, Exemption reason, 
    as a master data it is saved in vendor master data > withholding tax accounting
    but i need where it is saved in transaction data.
    thanks

  • Delete Withholding tax info in cleared document

    We recently made the change from classic to extended withholding tax. I've been able to successfully run RFWT0010 and RFWT0020 when the withholding tax in a vendor master record was changed. However, we have several vendors the were marked as 1099 vendors (non employee compensation) that really are not subject to withholding tax. I've removed the withholding tax data in the vendor master record, but the documents still contain the withholding tax information, even after I've run both RFWT0010 and RFWT0020.  I've opened up those fields to be changed in document settings already. Is it not possible to delete or remove withholding tax from the document unless I do it manually through FB02?

    We had the same problem. There is no SAP delivered tool like RFWT0010 and RFWT0020 that will work to delete withholding tax data from cleared documents.  However you can create a CATT script for transaction FB09 which will work to do this. I used SE16n to gather the needed information which is document number, Line item number and fiscal year. I uploaded the relevant vendor numbers into the query screen for table WITH_ITEM
    I chose the relevant fiscal years, tax type FE, tax code not equal to blank, base amount not equal to zero,  i chose to display all those plus line item number document number, vendor number,  We only have one company code so that was not relevant for me.
    I then copied that list into my Catt global variant spreadsheet and away I went. I would worn you about reversal documents you might want to exclude those.  I would create a Variant for these selections as well
    Good luck
    Also if it doesn't really matter what the historical line items say. I had the users simply exclude those vendors from 1099 selection criteria

Maybe you are looking for