BAPI_ACC_DOCUMENT_POST for debtor with withholding tax

Hello,
I'm using the BAPI_ACC_DOCUMENT_POST to generate debtor invoices applying withholding tax.
In order to obtain the withholding tax information, I'm using structure ACCOUNTWT, but when the document FI is generated, it has not line item for withholding tax, and table WITH_ITEM has no values for basis amount and withholding tax import, though the withholding indicator is there.
With help of a colleague from basis team, I've been debugging the process and all the parameters seem to be OK. So I guess there's something missing that is doing table WITH_ITEM is being informed incorrectly.
Another point is that I'm not sure if it's necesary to inform component SECTIONCODE (Withholding tax section) in structure BAPIACAR09 (Debtor position), and in this case, which value it expects to be passed.
Could you, please, help me with this issue? Any idea will be welcome.
Many thanks in advance.
Best regards,
Miriam.

Hi Maurizio,
Many thanks for your reply!
I've checked the parameters you said, and they seem not filled. I'm going to ask a basis colleague for analyzing what's missing and doing the corresponding modifications.
Thank you very much once again
Regards,
Miriam.

Similar Messages

  • How to clear line items with withholding tax manually

    hi Experts,
    i posted a vendor invoice with withholding tax and i made payment as well but not through f-58.
    now i wanted to clear these two through f-44 but it gives the message withholding tax information ignored and didnt display the invoice as open item.
    how do i clear both the trasactions
    regards
    suresh

    hi Praisty,
    thanks for the reply
    i have a second opinion on your statement that no matter whatever tcode you use for payment it will clear the open item. Even in F-58, if u make partial payment it will not clear you open item. But i didnt use f-58 as i said earlier.
    i used FBV1 for parking the document through which i entered the payment details...ofcourse it doesnt have the option for clearing the open items, cheque printing and it will not update your cheque register. i posted the parked document through FBV0. for all practical purposes, this is my payment document but it didnt clear my open item, in order to clear it i now used f-44.
    regards
    suresh

  • F110: how to pay an invoice with Withholding Tax and a credit memo?

    Hi All,
    in my SAP I've defined a Withholding Tax type for Payment Posting.
    I've posted a vendor invoice with with Withholding Tax.
    Later I've posted a credit memo with Withholding Tax which must compensate the prevuois invoice.
    When I launch t.code F110, SAP, in the right manner,  proposes to pay the invoice less the amount of the credit memo. 
    But the calculation of the Withholding Tax (that it should post al the payment time) is wrong: SAP proposes to post the amount of the Withholding Tax recorded in the table WITH_ITEM at the moment of the posting of the invoice. Instead, from it, SAP should detract the amount of the Withholding Tax recorded in the table WITH_ITEM at the moment of the posting of the credit memo.
    Why does SAP doesn't consider the amount of the Withholding Tax of the credit memo?
    Could anyone help me?
    Thanks

    Dear Rossi,
    if You defined the WT TYPE at the payment time this means that the WT amount will be calculated at posted during the F110 run as per the invoice as per the credit memo.
    If they are the same amounts and refer to the same wt type and code, when You run F110, they should match even for the WT calculation. It is clear that if You inserted manually the WT base amount or the WT amount into the invoice, the system will not do any automatic calculation but it will use these amounts that can be different from the one auto matically calculated by the system for the credit memo.
    I hope this can help You.
    Mauri

  • Issues with Withholding tax on advance paid

    Dear Experts
    Our client deducts TDS on the Advance amount paid and on posting of Invoices from the Vendors. The documents are posted with withholding Tax types configured for this purpose in F-48 and FB60 respectively. Document splitting has been activated in the system with all required configuration.
    The problem arises when we try to clear the advance amount against the Invoice along with the balance payment in F-53 if the invoice has more than one expense line posted to different Cost Centers in FB60. The system gives an error message " Balancing field "Profit Center" in line item 004 not filled ". Please follow the example given below for better understanding.
    Advance posting:
    vendor a/c....dr (Profit center 3)
    To bank Clearing (Profit center 3)
    To TDS on payment
    Invoice:
    Expense ....dr (Cost Center1 / profit Center 1)
    Expense ....dr (Cost Center 2 / Profit Center 2)
    To vendor a/c
    To TDS on Invoice
    Up to here the document splitting works fine with Profit Centers and segments getting displayed in all line items in GL view. The issue comes when we select both the documents in F-53 and try to pay out the balance amount.
    Please note the issue does not crop up if we do not populate the withholding tax code while posting the advance entry. The system automatically posts to the relevant profit centers and segments in F-53. But this is not the business scenario.
    It would be really helpful if somebody can throw some light on the above issue.
    Thanks in advance.
    Edited by: sid_das on Dec 14, 2011 11:26 AM

    Resolved at our end.

  • How to creat the Varient for 1099MISC With Holding Tax

    How to create the Variant for 1099MISC With Holding Tax ?

    HI,
    please follow the below steps to create variant at report.
    tcode se38
    report RFIDYYWT
    pass all the parameters
    press save icon
    give variant name
    retrive the variant in report
    tcode se38
    report name RFIDYYWT
    press : shift + F5
    or get varinat icon.
    I hope above will resolve your issue.
    Regards
    Madhu M

  • Post document with BAPI_ACC_DOCUMENT_POST with withholding taxes

    Hi everyone!
    I have to post some documents that I got from an Excel file. At first, they were G/L documents, so I only filled the table parameter ACCOUNTL of BAPI_ACC_DOCUMENT_POST to set the "account data" (without using ACCOUNTRECEIVABLE, ACCOUNTPAYABLE, ACCOUNTTAX or ACCOUNTWT).
    After a few, another Posting Keys were allowed in the lines of the documents obtained from the excel file, so the documents can be G/L documents, receipts, etc.But, I still put every account data in ACCOUNTGL, and the created documents were right (at least nobody complained about them :P ).
    No, 3 fields have been added in the excel file:
    - QSSHB: Withholding Tax Base Amount
    - QSFBT: Withholding Tax-Exempt Amount (in Document Currency)
    - QSSKZ: Withholding Tax Code
    As I understood, this BAPI is ready to allow withholding taxes, and I suppose I should have to fill this fields that I receive into some tables that are used as parameters in the BAPI. For example,
    ACCOUNTWT-WT_CODE = Withholding Tax Code
    ACCOUNTWT-BAS_AMT_LC = Withholding Tax Base Amount (Local Currency)
    I think I should use this table (I don't know where I could "put" the other one). My question is, can I do that without using tables ACCOUNTRECEIVABLE and ACCOUNTPAYABLE? My feeling is that is not completely right not to use these tables if the documents are vendor or customer documents... If that's possible.. is it right to put the 2 fields that I have used in the last example (*) to fill that? Where I should put the third field??
    I hope I have explained myself clearly, thanks in advance,
    Victor

    Dear Sreeraj,
    The situations would be multiple, but to be precise I'll provide you one scenario where this BAPI would be failing to do the posting. The scenario is like this:
    1. If you consider GL posting using F-02 by changing any of the reference fields XREF1, or XREF2, the BAPI has to consider the varying screens of each of the line items which internally depends on Transaction Variants of different screens of the Document, which the BAPI will fail to do so.
    2. Also, if there is a Taxation to be done for each Item, still it should consider the above scenario and fill the WITH tables accordingly.
    Hope this helps,
    Regards,
    -Wahid Hussain.

  • Standard LSMW for open vendor items with Withholding tax

    Hi All,
    I am searching the direct input LSMW which is having the Withholdig tax. There is a direct input program in LSMW ( RFBIBL00) but it is not uploaded the withholding tax for open vendor and open customer items.
    If anybody know which LSMW is recammanded or anthing related to BAPI or IDOC for this requirements.
    Dhiraj.

    Hi
    If you need to upload the WT tax you have to fill the structure BWITH of std BI RFBIBL00, so your LSMW project should create a file like this:
    ---> Session data
    BGR00
    ---> Document data
    BBKPF (Header data
    BBSEG (Vendor or customer item)
    BWITH (Withholding tax data)
    BBSEG (G/L item)
    Max

  • How to post a PARK document with Withholding Tax

    Hi All,
    I have parked a document using FB60.Vendor is subject to withholding tax.Now,when i am posting the document through FBV0,the error message displayed is :
    "Field BSEG-SECCO does not exist in the screen SAPMF05A 0303".
    The error message says that Section Code (Withholding Tax) is missing for Special G/L Indicator Line Item.I dont have provision to enter section code in the screen.
    My entries are :
    29J Vendor a/c  Dr.
    50   XYZ a/c
    If i using F-02 and not parking ;then it is getting posted.
    Note: Line Item is a special G/L Indicator
    Please advise how to post a park document using FBV0 with special g/L Indicator and vendor is subject to withholding tax.

    Hi Parag,
    Section code field doesnot exist in the special G/L indicator line item of the document.So,i cannot enter it.
    But,when posting the parked document ,it is asking for Section Code.
    The error message displayed is:
    "Field BSEG-SECCO. does not exist in the screen SAPMF05A 0303"

  • 1099 Report for OTV - Classic Withholding Tax

    Hello Members,
    We run on SAP ERP 6.0 EHP6 and use the classic withholding tax functionality.
    Wondering what the rest of the world with classic setup is using for 1099-MISC reporting for one time vendors ?
    Currently we follow a cumbersome process of pulling FBL1N report (which doesn't have otv address information), and then FCHN to get vendor address details. With this we change a vendor and update the master data and payment document withholding information in QAS to print the paper form from QAS.
    I read a few of the forums and the idea I get is, if the vendor is to be 1099 reported, it should be a standard vendor.
    Questions:
    1) Any standard functionality available within classic setup for 1099 MISC reporting of OTV ?
    2) Does using extended functionality make OTV reporting any better
    3) Any best practices that you are following which you think is better than ours ?
    Regards,
    Ani

    Hi,
    See SAP Note-802033
    Raj

  • 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

  • Cannot create AR Invoice negative amount with WithHolding Tax negative amount via DI API

    Hi All,
    I tried to create AR Invoice Document via DI API, but with negative amount and negative withholding tax amount.
    Document added successfully, but when i open the document in SAP, and i open WTax Table information, withholding tax amount become zero,
    Please see image below.
    But when i add the same document through SAP Screen, i can fill WTax Amount with negative amount.
    SAP Version 9.0 PL 5
    Please kindly help,
    Thanks
    Best Regards
    Siddharta

    Hello.
    If this is different to the behavior of the B1 application it should be considered a bug - like any such difference between DI API and app.
    HTH

  • Request for info. on withholding tax

    Hi,
    what configuration steps i have to follow to configure withholding tax(i.e classic) not extended withholding tax.
    I know how to configure extended withholding tax but facing difficult to configure withholding tax.
    In the IMG we will be using two tabs one is withholding tax and one is extended withholding tax.Please provide info on withholding tax not extended withholding tax
    Please provide steps
    Thanks in advance
    HAGI

    <b>Configuration for Witholding Tax</b>
    SPRO>IMG>Financial Accounting>Accuntas Receivable and Accounts Payable>Business Transaction>Incoming invoices/credit meos>Carry out and check settings for withholding taxes.
    1) <b>Maintain tax codes</b>: In OBC7 maintain the withholding tax codes and their attributes like percentages and basis like gross or net etc.
    2) <b>Maintain the account determination</b> for each and every tax codes through OBYS.
    Other optionals:
    Withholding tax is only relevant for specific posting transactions in certain countries and even there, only for some groups of vendors. You therefore determine, depending on your company code, business partner, and the business transaction, the cases in which the fields for withholding tax become ready for input .
    1) Maintain the country keys (The standard system delivers most of the countries forms to be submitted to the tax authorities)
    2) Maintain Formulas OB98 (if needed, Like US and Japan need scaled basis calculation.)
    3) The recipient categories
    <b>Master Data andTransactions</b>
    You need to specify in the vendor master record, a withholding tax code to enable the system to calculate the tax amount, which defaults when you enter a line item if the vendor is subject to withholding tax.
    If a vendor is exempt from withholding tax, you must specify this in the master record the details of  exemption certificate and the date up to which the exemption is valid. If an exemption exists, the system either posts no withholding tax or the reduced tax rate.
    Withholding tax is only relevant for specific posting transactions in certain countries and even there, only for some groups of vendors. You therefore determine, depending on your company code, business partner, and the business transaction, the cases in which the fields for withholding tax become ready for input .

  • How to add additional field into output table for RFIDYYWT(Generic Withholding Tax Reporting)

    Hi Experts,
    How to add additional field into output table VENDORS/WH TAX TYPES AND CODES in RFIDYYWT(Generic Withholding Tax Reporting).
    I have no idea how to start with, please give some advice.
    Thanks!
    Ice

    Dear Ice,
    Use Append structure, see given link:
    https://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
    Regards,
    Abbas.

  • BAPI_ACC_DOCUMENT_POST - With Holding Tax

    Hi All,
       I am able to post vendor invoice along with withholding tax using BAPI_ACC_DOCUMENT_POST and document posted successfully.
    In the cases if a single document is posted for multiple vendors and customers document is getting posted but withholding tax information is not correct. If the vendor is not liable for tax then it should not open the withholding tax information screen for that vendor but in this case the window is opening.
    If the document is posted only for single vendor which is not liable for tax then withholding tax information screen is not opening it is displaying the information only which is correct.
    In the case of multiple vendors I am filling ACCOUNTWT table parameter with corresponding vendor line item number and its withholding tax details , if the vendor is not liable for tax then I am not filling any details for that vendor in this table parameter.
      So can anyone  suggest some solution to post single document for multiple vendors and customers along withholding tax using the above BAPI.
    Thanks & Regards,
    Prakash

    Hi,
    Here is the sample code. check if some thing is missing in ur code.
    http://helponabap.blogspot.com/2009/03/help-on-bapiaccdocumentpost-and.html
    Reddy

  • Withholding tax -number could not be determined for numbering group ID0017

    While positing the FB60 transaction with withholding tax for country Indonesia, the below error is coming:
    A number could not be determined for numbering group ID0017
    Message no. 7Q630
    "The system could not determine a certificate number for the numbering
    group.
    Withholding tax types exist that are relevant to numbering. The system
    cannot determine a certificate number because the Customizing settings
    are incomplete.
    Sysem Response
    Payment cannot be made.
    Procedure
    Check the number ranges in the numbering group."
    Already seen the wothholding tax number range and it is coorec. Please advise how to resolve.

    Dear,
    Please check whether you have assigned the number range to the number group in the below setting
    Spro
    Financial Account Global Setting> Withholding Tax>  Extended Withholding Tax> Posting> India> Remittance Challan>     Assign Number Range to Number Groups

Maybe you are looking for

  • Has anyone experienced the mute switch / auto-rotate switch iOS bug on their ipad?

    Has anyone experienced the mute switch / auto-rotate switch iOS bug on their ipad? I have experienced this on iPad 1 as well as iPad 2. Basically, when you set the side switch to toggle screen orientation (or mute), after a period of use I will have

  • Unable to get USB devices working on VirtualBOX (Puel)

    Hello, when I put and USB device on a Windows Virtualbox machine, I always get this error: Not permitted to open the USB device, check usbfs options Is there any solution to this problem for arch? This is my fstab: # /etc/fstab: static file system in

  • Resolve Process Workflows

    Hi All, I've just implemented an activeSync resolve process that notifies helpdesk staff that there has been an identity collision, and includes some information about the incoming data and the clashing identities. For the time being this is adequate

  • Using iBooks Bookstore for (free) product catalogues

    Hi all Does anyone know if there are any restrictions/exclusions for creating 'brochure/catalogue' books in iBooks Author and submitting to the Bookstore for free download? I have looked through the guidelines and cannot find anything that specifical

  • .osx file extension works on MacBook Pro but not Mac Pro

    So I have a file that was created, I believe in Macromedia Flash (not certain) but it has a .osx extension on it. It works just fine on my MacBook Pro, but won't work on a Mac Pro. Both have Leopard, both have most of the same software on them... Can