cancel
Showing results for 
Search instead for 
Did you mean: 

How to get BAPIMEPOITEM-TAX_CODE when creating PO?

0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor

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

Answers (2)

Answers (2)

raymond_giuseppi
Active Contributor

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

0 Kudos

Dear SAP-Expert,

thank you for help.