BAPI for updating tax code for purchase order..

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

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.

Similar Messages

  • User Exit or BADI for Updating Tax code (MWSKZ) using ME21N

    Hi all,
    I am trying to fin out an exit or badi for Updating Tax code (MWSKZ) and Unit of Measure in transaction ME21n.
    The scenario is like this...
    For Purchase Orders Tax code will be defaulted from Purchasing info record or contract or parameter id for that item-vendor-plant.
    If the Tax Code is not defaulted and account assignment is blank then tax code on the PO is updated according to the below mentioned table
    Table
    Supplying Plant/              Receiving Plant                      Tax code
    Vendor/Country
    Any plant/vendor/
    country                           5050(NA)                               20
    2300                              6700                                     E0
    If the tax code on PO cannot be updated by the above table, then buyer needs to put tax code on the purchase order manually.
    Thanks,
    Shiva, Bangalore

    Hi Siva.,.,.,
    These r the exits.,..,which will be called while calling ME21N/ME22N/ME23N
    EXIT_SAPMM06E_006
    EXIT_SAPMM06E_007
    EXIT_SAPMM06E_008
    EXIT_SAPMM06E_009
    EXIT_SAPMM06E_012
    EXIT_SAPMM06E_013
    EXIT_SAPMM06E_014
    EXIT_SAPMM06E_016
    EXIT_SAPMM06E_017
    EXIT_SAPMM06E_018
    U want to default some values while the Initial screen will come right,
    while u Enter ME21N in command Prompt.,.,two exits will get triggerd,
    EXIT_SAPMM06E_014
    EXIT_SAPMM06E_016
    If u want to Default some values u can use these two exits.,.
    Try using EXIT_SAPMM06E_016.,.this will solve ur purpose.
    and if the user changes some values on screen.,,and you want them to get reflected .,.,.that means if user changes and saves data .,.
    While saving.,.,EXIT_SAPMM06E_012 and EXIT_SAPMM06E_013 will get triggerd
    Try using EXIT_SAPMM06E_013.,,.it was somehow the same requirement as mine.,.,IN my case it worked fine.,.,
    Regards
    Debasish
    Message was edited by:
            Debasish Das

  • How Create new Tax code in Purchase order

    Dear Sir,
    I have creat new tax code in Purchase order
    Basic value          3976876.53
    Ex Duty          10%     397687.6525
    edu.cess          2%     7953.75305
    s&h Edu.cess     1%     3976.876525
    Toatal               4386494.81
    CST          1%     43864.94807
    Addition                12550.00
    i have all ready tax code 1021+5vat

    Hi Sneha Patel
    Case1:
    If tax is applicable on the freight charges then create a Z condition in (Tocde M/06) and assign it in ur pricing  procedure (Tocde M/08) before the net value is calculated in ur pricing procedure so that it is taken for tax calculation.
    Case2:
    If tax is  not applicable on the freight charges then create a Z condition in (Tocde M/06) and assign it in ur pricing  procedure (Tocde M/08) after the net value is calculated in ur pricing procedure so that it is not taken for tax calculation.
    For both the conditions select
    Cond. class   A Discount or surcharge
    Calculat.type B Fixed amount
    Cond.category B Delivery costs
    Also mark as a header or item condition with accruals checked.
    If u are not sure then copy FRA1 condition in STD and change Calculat.type  as B Fixed amount instead of % in FRA1 so that u can enter the amount directly in PO.
    Also mark these conditions as manual in ur pricing procedure so that these can be entered manuall in PO if reqd.
    While creating PO u can select the reqd condition (with or without tax) under conditions tab and enter the amount.
    hope it clears ur issue
    Chk and revert
    Reg
    Raja

  • Output Tax Code In Purchase Order

    Hi all,
    It's possible to assign an output tax code to a purchase order?
    The system gives me the error message 6164 'Please enter an input tax code, not an output tax code' when I use an output tax . Is there any customization to allow output taxes in purchase orders?
    Thank you,
    RS

    Dear friend...
    You cannot use output tax code in purchase order, since output tax codes are used only for sales. If you use output tax code in the PO it will obviously throw the error you said. If you want to have the taxes as shown in the output taxes, if not present in  your input tax codes, you can create new tax code which you desire. Output codes are only for the Sales Order.
    Hope it helps re-ward if so
    Suraj

  • Inbound idoc for updating delivery date of purchase order

    Hi All,
    Our vendor sends a delivery file consisting of delivery date and quantity(could be partial) for line items of a purchase order.
    I need to update the Purchase order line item with the delivery date and quantity sent from the Vendor. It should add a new confirmation line with custom confirmation category in the confirmation tab of the line item in the Purchase order.
    Each time we get a delivery file we need to add a new confirmation line in the confirmation tab of the purchase order line item.
    How can I get this working using inbound idoc processing? Which Idoc type should I use to solve my issue. Will ORDERSP work for my scenario?
    Thank you,
    Sonali.

    >
    sonali ashi wrote:
    > We have all EDI set up done for ORDERSP idoc in our system. Problem when I use this idoc type by default system is always adding confirmation catgeory 'AB' but we want our custom  category to be added instead of 'AB'.
    > Edited by: sonali ashi on Dec 23, 2010 9:47 PM
    Confirmation category used for order acknowledgement is define in configuation. You can change that from AB to your custom condition and EDI should pickup that.
    SPRO->Material Management->Purchasing->Confirmation->Define Internal Confirmation Category
    >
    sonali ashi wrote:
    > I have also noticed that 'AB' confirmation accepts only full quantity order acknowledgement through Idoc processing.
    > Manually I can add a "AB" confirmation for partial quantity but in the idoc processing it fails.
    > Edited by: sonali ashi on Dec 23, 2010 9:47 PM
    Check tolerance limit defined for confirmation category in 'Conformation Control' Node in SPRO at same level as above.
    Regards,
    Pawan.

  • Update Taxes in PO without Tax code in Purchase Order

    Hi Experts,
    Taxes percentage are frequently change in Indian business and create new input tax codes for updating the same changes in PO.
    Please suggest without create new tax codes how can we maintained tax details in PO?
    Thanks in advance.
    Regards,
    Shatrughan Singh

    Hi,
    Tax code creation required or not-Depends on which access sequence (JST1 or  MWST ) used in your tax procedure.
    If tax condition types have access sequence JST1,then you can maintain to change tax rate with validity period without creating a new tax code.
    Validity Period available for tax condition types which have access sequence JST1 not access sequence MWST
    Regards,
    Biju K

  • Validation of Tax Codes in Purchase Order

    Dear All,
    We have different tax codes like v0, v1, v2 maintained in system and we have projects(WBS) like Project1, Project2 etc. 
    The scenario is such that if i am trying to create an account assigned purchase order for a project with account assignement as Project1, system should allow only tax code v1.  System should not allow other tax codes for project1.
    Can we have tax code validation with respect to projects during PO creation. 
    Request, please provide steps that are required to mainatined to achive the above.
    regards,
    Suresh

    Hi Suresh,
    You can use SMOD enhancement MM06E005 component EXIT_SAPMM06E_012. This user exit is designed for checking custom data on the purchase order header, but can also be used for checking the standard PO data.
    Some of the tables passed to the user exit are TEKPO and TEKKN, all items of the purchasing document and all account assignments, so you can compare the tax code with the project and produce an error message if the combination is incorrect.
    Regards,
    Monika

  • Update TAX Code in Sales Order

    Hi,
    1. How to update TAX code in the sales order through API. When I tried Process order API, it is not working. If any one did that, please let me know.
    2. Is there any API to Just run calculate Tax for an order from PLSQL

    Through my efforts,  i got a solution for this queries.
    Answer: There is a User_exit, will take care of New Pricing Control.
    Thanks every body.

  • Danger of using old tax code in purchase order

    Materials management, Finance and controlling modules are active in
    system.we have created new tax codes at the end of Dec 2007 in system
    as per the legal requirement.Also condition types are maintianed with
    validity period. We have updated existing purchase orders (which are
    going to be continued in year 2008) with new tax codes.
    But now if by mistake while creating purchase order, user picks up old
    tax code and saves PO, system does not give any error.
    Is there any way by which we can restrict using of old tax codes at the
    time of creating / changing Purchase orders?
    Thank you for your time.

    hi,
    check the same in FTXP,limit the validity period of the old tax to 2007 only.

  • Default tax code in Purchase Order

    hi,
    somehow, is it possible to get default tax code (at "Item overview" under "Invoice"), as soon as enter material group (or by other means) in purchase order?
    thanks

    Dear Yogi,
    Sorry, for posting in to Closed thread.
    I had visited your same thread in to MM-Forum. Apart, whatever, suggestions have been provided, you may give a try to:
    To default the taxcode in the purchase order item, use Condition Type: NAVS, with Access Sequence: 0003
    Path: SPRO -> IMG -> Materials Management -> Purchasing -> Purchasing order processing ->define screen layout at document level
    T. Code: ME21 and Double click. Look for TaxCode. The tax code should be a required entry, and whatever you specify here will be the default value in the Purchase order.
    It is advisable to configure also the info record.
    Path: SPRO -> IMG -> Materials Management -> Purchasing -> Purchasing info record -> Define screen layout.
    When you get here you search for the T. Code: ME12 (Change Purchasing Info Record), and double click here; search for Input TAX indicator.
    You may also seek Advise from MM-Consultants, over this, by referring the whole solution in to your MM-thread.
    Best Regards,
    Amit

  • Tax Code in Purchase order

    Hi Friends,
    While creating purchase order, I am getting below error:
    Tax code X2 does not exist for jurisdiction code CNM9W1N40
    What could be the reason?Can anybody please help me?
    Thanks,
    Bhairav

    It is giving below instructions. I am not able to get...
    Tax code X2 does not exist for jurisdiction code CNM9W1N40
    Message no. FF718
    Diagnosis
    You have entered tax codes and jurisdiction codes in the G/L account items. The amounts of these items are used as the tax base to check the tax amounts you have entered or to determine the taxes. The system has now determined that one or more of the "tax code / jurisdiction code" combinations do not exist in Customizing.
    System response
    Calculation of the taxes or checking of the taxes entered had to be terminated.
    Procedure
    Check the tax codes and the jurisdiction codes in the G/L account items or asset items. If these are correct, inform your system administrator.
    Procedure for System Administration
    Change the tax jurisdictions you specified in Customizing under Financial Accounting -> Financial Accounting Global settings -> Tax on Sales/Purchases -> Basic Settings -> Define Tax Jurisdictions
    Thanks,
    Bhairav

  • Restrict changing the tax code in purchase order after goods receipt.

    Hi,
    Po is created with tax code x1.
    Gr is done for partial quantity.
    IR is still pending.
    User has changed the tax code to x2.
    This case we want to restrict the tax code change in PO after goods receipt.
    Please advice.
    Regards
    Ravi Kumar

    Hi Sumit,
    Po created with wrong tax code x1.
    Stores person has done the receipt and consumed the stock.
    Now user has suddenly realised that tax code is wrong and changed the tax code in PO.
    In IR we will use correct tax code and post the accounting entry.
    Stock values will be adjusted properly. to stock ac if stock is there and to price diff ac if stock is consumed.
    Point is user's are asking that how system is allowing to change the tax code after receipt.
    Point to be attended is restrict the change of tax code by any means after Gr has happened.
    what are the possibilities to restrict the change of tax code.
    Regards
    Ravi Kumar

  • Configuration of Tax code for a material

    Hi ,
    Does anyone know how annd where is the tax code of a material configures ?
    To elaborate, I am stuck ata condition in which I have to know if that particular material has a tax code configured for it or not.
    Kindly let me know
    Regards
    nilesh

    Hi,
    You can Create Tax Code with T.Code : FTXP and assign country and  Tax Jurisdiction code to It.Assign country, tax procedure  also.
    But tax on material , you have to define in your Calculation Schema with a condition type..Further  more you can enter tax code on Purchase Order in  Item Details and save.
    If helpful then reward.If ur question is answered, pl close it.
    Regards,
    Biju K
    Message was edited by:
            Bijay Kumar Barik

  • Performing filter for field Tax Code (MWSKZ) in the Purchase Order

    Hello Experts,
    We have to perform a filter for field Tax Code in the purchase order (ME21N / ME22N / ME23N). We've tried to use SH SH_T007A and SSH_T007A with search help exit (e.g. F4_TAXCODE_USER_EXIT) but it is not working. The ABAP programmer has performed a debug and the standard does not check any line code in this function (the ABAP programmer has set a breakpoint into function F4_TAXCODE_USER_EXIT after assigning it for mentioned search helps)... it sounds like this program / search help is not called by standard program of ME2* transactions...
    I've tried to look for some other object and other function called FI_F4_MWSKZ has been found... I've set a breakpoint there and when I open the search help for field tax code into transaction ME21N it works... but as I could see this function FI_F4_MWSKZ is a standard one which we can not change...
    Have you ever had the same problem?
    We are currently in the SAP 4.6C version. I've found lots of OSS notes but only valid for 6.0.
    Maybe someone can help me on that.
    Best regards,
    Nilmar

    hi,
    goto gs01 transaction,give some name to ur step.
    give the table name and field name.
    then u can create a specific value set for that field.
    save.
    now u can use this set to define conditions for ur fields in obbh transaction.

  • Transfer of tax indicator to purchase order for service items in shopping cart

    Hi all.
    I have a problem with the tax indicator in the shopping carts and in the backend purchase orders for service items. If I create a shopping cart with service items with different tax indicators, the backend purchase order have a unique item including all the services. So, all the PO items are under one tax indicator while in the shopping cart there is more than one indicator. I mean, the PO is not correctly replicated with the information of the SC.
    Example: shopping cart in SRM with 3 items, tax codes: V1, V2, V1. The standard code transfers the information to the backend, and creates a purchase order with an unique item with the 3 services under tax code V1. So, the second service is not under the correct tax code, and will be wrongly invoiced.
    We have debugged all the code of the process, and we think it is a standard bug. When you replicate a PO in the backend from a SC in SRM, have you experienced this behaviour, or the service items are grouped in different PO items each one with the correct tax indicator?
    Thanks in advance.

    Hi again...
    I forgot to mention that we have found and applied the note 1822107 (Purchase order: wrong tax code for PO with 2 service items), that fits exactly to our problem. But after testing, it doesn't work.
    Regards.

Maybe you are looking for