Skip to Content

Problem Withholding tax in BAPI_INCOMINGINVOICE_CREATE

Hi:

I have a problem with BAPI_INCOMINGINVOICE_CREATE, I have to create an invoice Withholding tax. There is only one vendor. I fill table WITHTAXDATA (I think all data are correct) and there are no messages in RETURN table of bapi (any error message), but there are no data in withholding tax when in enter in MIRO to see invoice. When I create an invoice manually, I have no problem in withholding tax for the same vendor.

Please, could you help me? Find attached the code I use for bapi.

Thanks in advance.

Best regards

I_WITHTAXDATA-WI_TAX_TYPE = IP

I_WITHTAXDATA-WI_TAX_CODE = IP

I_WITHTAXDATA-WI_TAX_BASE= 500

I_WITHTAXDATA-WI_TAX_AMT = 10

Append I_WITHTAXDATA.

I have try too WI_TAX_AMT as null, but results are the same.

CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'

EXPORTING

headerdata = cab_fact

IMPORTING

invoicedocnumber = d_factura

TABLES

itemdata = i_fact_item

taxdata = i_fact_tax

withtaxdata = i_ withtaxdata

return = i_return.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 25, 2007 at 09:52 AM

    Solved, It is necessary to implement SAP note 800261.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.