Skip to Content

How to get BAPIMEPOITEM-TAX_CODE when creating PO?

Dear SAP-Experts,

is there some FM or other way to get the tax code (BAPIMEPOITEM-TAX_CODE), when you have the material number (BAPIMEPOITEM-MATERIAL) and vendor (BAPIMEPOHEADER-VENDOR)?

I will create new PO with BAPI_PO_CREATE1.

Kind regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Apr 30 at 10:53 AM

    Usually the tax code is automatically derived from customizing

    see OSS note 1654724 - Tax code determination for BAPI_PO_CREATE1/BAPI_PO_CHANGE

    It explains an error if an alternative tax code is not transferred with the BAPI and also tells what you can do to determine an alternative tax code

    Add comment
    10|10000 characters needed characters exceeded

  • May 02 at 09:41 AM

    You could try to call FM ME_PRICING_TAX_INDICATOR. But the BAPI should get the same result without receiving any VAT code value?

    Add comment
    10|10000 characters needed characters exceeded

  • May 04 at 01:29 PM

    Dear SAP-Expert,

    thank you for help.

    Add comment
    10|10000 characters needed characters exceeded