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 for updating tax code for purchase order..

rajesh_akarte2
Active Participant
0 Kudos

Hi friends,

I have one requirement to change tax code for multiple Purchase order but the

thing is they should not go for release.So what should I prefer BDC or BAPI.

I am thinking to implement it through BAPI, but I don't know what procedure to follow.

If somebody can provide me a small guiding steps or code then it will be very helpful for me..

Thnaks in advance..

Useful answers will be rewarded with points....

Regards,

Rajesh Akarte

1 ACCEPTED SOLUTION

former_member214131
Active Contributor
0 Kudos

BAPI_PO_CHANGE

pass the value in the field: BAPIMEPOITEM-TAX_CODE & BAPIMEPOITEMX-TAX_CODE = 'X' along with the PO number in header & item number in position level

do not forget to call BAPI_TRANSACTION_COMMIT after the call.

Hope this helps,

Murugesh AS

3 REPLIES 3

former_member214131
Active Contributor
0 Kudos

BAPI_PO_CHANGE

pass the value in the field: BAPIMEPOITEM-TAX_CODE & BAPIMEPOITEMX-TAX_CODE = 'X' along with the PO number in header & item number in position level

do not forget to call BAPI_TRANSACTION_COMMIT after the call.

Hope this helps,

Murugesh AS

Former Member
0 Kudos

Hi,

use Purchase order Creation using BAPI_PO_CREATE1 or BAPI_PO_CREATE

Regards

Former Member
0 Kudos

Hi Friend,

BAPI_ACC_PURCHASE_ORDER_CHECK Accounting: Check Purchase Order

BAPI_ACC_PURCHASE_ORDER_POST Accounting: Post Purchase Order

MEWP BAPIs Purchase order

BAPI_PO_CREATE Create Purchase Order

BAPI_PO_GETDETAIL Display Purchase Order Details

BAPI_PO_GETITEMS List Purchase Order Items

BAPI_PO_GETITEMSREL List Purchase Orders for Release (Approval): New as of 4.0A

BAPI_PO_GETRELINFO Display Detailed Release (Approval) Information on Purchase Order

BAPI_PO_GET_LIST List Purchase Orders - Only up to 4.0A

BAPI_PROCOPERATION_GETCATALOGS Determine Valid Catalogs as Value Help

BAPI_PROCOPERATION_GETINFO Analysis of Objects to be Generated in Purchasing

<b>AND</b>

Use condition type NAVS with access sequence 0003 to default the taxcode in the purchase order item using conditions. Materials Management -> Purchasing -> Purchasing order processing ->define screen layout at document level. Search for the transaction ME21.Double click on ME21. Then search for TaxCode

Use condition type NAVS with access sequence 0003 to default the taxcode in the purchase order item using conditions.

A2: Go to IMG.

Materials Management -> Purchasing -> Purchasing order processing ->define screen layout at document level.

Search for the transaction ME21.Double click on ME21. Then search for TaxCode. It is advisable to configure also the info record. The tax code should be a required entry, and whatever you specify here will be the default value in the Purchase order.

Materials Management -> Purchasing -> Purchasing info record -> define screen layout.

When you get here you search for the transaction ME12 ,double click here; search for Input VAT indicator.

Regards ,

Kumar.