Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_PO_CREATE1 condition price & taxes problem

Former Member
0 Kudos

We are using bapi_po_create1 to generate PO documents. Table poitem contains tax code and jurisdiction code and I hoped the BAPI would create the pricing condition for the NAVS (we use vertexfor automatic taxes calculation and it works perfect using ME23N, but it doesnt using the bapi).

After PO is created, EKPO-navnw has the correct amount of tax, but EKPO-effwr does not include the tax and the tax is not visible on the Conditions Tab.

Is it possible for the Bapi to create the tax condition? And if yes, what might I be missing? A setting at the Header, Item or Accounts?

4 REPLIES 4

bruno_esperanca
Contributor
0 Kudos

I'm facing the same problem unfortunately. Did you manage to find a workaround for this? Thanks!

p244500
Active Contributor
0 Kudos

Hi

Used the BADI or enhacement point  to pass value hope it will help full to u

0 Kudos

Thanks for your reply! We actually found out the customizing point for this "problem" Transaction OBCD or something like that, where you define the tax code for all purchase orders in a country.

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Some ideas. First, check your pricing procedure (tcode M/08), check for what level you have set the value 'S' in field 'SuTot'. Check also if you have requirements in the field 'Reqt' (it could explain the reason you can't see it in conditions tab).

Other idea, check the BADI 'ME_PROCESS_PO_CUST' because it works for BAPI and tcodes ME2XN. Check if you have any codition type SY-TCODE.

Check also these notes

SAP Note 582221 - FAQ: BAPIs for purchase orders

SAP Note 580225 - Purchasing BAPIs: Conditions and pricing

and related notes

I hope this helps you

Regards

Eduardo