BAPI for retrieving tax code & percentage from SAP?

Hi all,
Does anyone know of a BAPI who can retrieve a list of available tax codes for purchase (field MWSKZ) in a company code, and eventually their percentages?
Thanks in advance,
Ioana

MWSKZ is the tax code .
you dont have to use any bapi to retrieve tax percentage.
only do this.
you select KNUMH (Condition number) from A003 (taxe code table) with the key fields ALAND and MWSKZ.
you select KBETR (tax percentage) from KONP with key KNUMH (Condition number)that you have retrived in the previous step.
A+
Ihsen ABROUG

Similar Messages

  • 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.

  • 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

  • Add tax item for a tax code in a G/L account item

    How do we add a tax item for a tax code in a G/L account item. Basically we get an error when we release the billing document to accounting like
    "Tax statement item missing for tax code"
    Diagnosis
    No tax item exists for tax code O0 in a G/L account item...
    Appreciate any feedback.
    - Prakash

    Dear Prakash,
    There is no other setting than this. For double check please check below again:
    1. Tax code created in FTXP (Input / Output tax)
    2. Tax percentage maintained in FTXP if tax procedure in formula based & percentage assigned in FV12 if procedure is condition based against the identified condition type
    3. GL asignement in OB40 for auto posting against the account keys.
    Hope this will solve ur problem.
    Regards,
    Ajay

  • 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.

  • BAPI for post Tax Amount

    Hi,
    Please tell me BAPI for post Tax Amount.
    Which tcode use for Post tax code, is it FB01 or FB60.
    Regards
    Jana

    Hi,
    Use BAPI_ACC_DOCUMENT_POST
    TCodes
    FB41    Post Tax Payable
    FB05    Post with Clearing
    FB01    Post Document
    Edited by: Neenu Jose on Nov 18, 2008 1:15 PM
    Edited by: Neenu Jose on Nov 18, 2008 1:16 PM
    Edited by: Neenu Jose on Nov 18, 2008 1:17 PM
    Edited by: Neenu Jose on Nov 18, 2008 1:18 PM

  • Tax code length from 2 to 4?

    Hi Experts,
    Do SAP provide a standard way to increase the tax code length from 2 to 4? 
    Thanks,
    Santhosh

    We are keeping our legacy tax codes as such..and now in a position that we may run out of the two digit tax codes.!! Agreed that it's a bad practice. My project manager heard somewhere SAP supports 4 digits tax code. I haven't heard about this before.
    Anyone heard about it? Appreciate your help.
    Edited by: GSAP S - SDT FSS on Jan 25, 2010 7:15 PM

  • MM_ARRANG_GET_TAX_PERCENTAGE iam geting  this message for some tax code lik

    Hi experts
    i need tax percentage , i used this function module
    MM_ARRANG_GET_TAX_PERCENTAGE
    import parameter
         I_MWSKZ  = c1.
         I_BUKRS  = 1000
          I_WAERS  = inr
    iam geting  this message for some tax code like c1 ,t2, t3
    message : Tax code C1 country IN does not exist in procedure ZAXINN
    other taxcodes  v0,v2 s2,s3 are got  percentage, it's proper result.
    please give me  sugession.

    HI Friend,
    Use the Functional module  FI_TAX_GET_CONDITION, this will be used in case ur using the in acsess sequence tax classification (ie A003 table)
    pass the inputs like
    I_BUKRS >> company code
    I_LAND1>> country
    I_KALSM>> tax procedure
    I_MWSKZ>> tax code
    I_TXJCD>> tax juriduction code
    I_KSCHL>> condition type
    I_KTOSL>> transaction
    I_TDATE>> date
    the functional module your using will not give the proper results
    Regards
    Pramod

  • Valiadation for withhoding tax code

    In T-code Fb60 i want validation for withholding tax code  
    Because there are  four w.tax code for four diffrent  location and same code  maintain in one vender master. All  of four w.tax code which is showing  in fb60 t-code w.tax tab  but i want to put base amt in only one w. taxcode which  respective.
    how can i made validation  to  avoid wrong  w. tax code base amount  in gbb0 ?

    Hello,
    The validation is not suitable for your requirement.
    It is standard way of SAP functioning. It is the users responsibility to see that are they are putting right tax code.
    If you restrict the tax codes in validation, then the users cannot use other codes. (if you put as error message)
    In my opinion, you may have to reconsider the requirement.
    Regards,
    Ravi

  • BADI FOR WITHHOLDING TAX CODES SEARCH HELP

    HI,
    Is there any BADI for witholding tax code search help. i want to make some changes in it.
    field: WITHT
    Pls help.

    Please find the following BADIs which are called during the transaction FB60.
    BADI_FDCB_SUBBAS01
    BADI_FDCB_SUBBAS02
    PPA_CUST_BADI
    BADI_FDCB_SUBBAS03
    BADI_FDCB_SUBBAS04
    BADI_FDCB_SUBBAS05
    What release are you on? I have the same issue for 1042s, but here are some helpful links for turning on the extended withholding tax:
    http://help.sap.com/saphelp_erp2005/helpdata/en/e5/0780914acd11d182b90000e829fbfe/frameset.htm
    Defining withholding tax codes:
    http://help.sap.com/saphelp_erp2005/helpdata/en/e5/0780914acd11d182b90000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/e5/0780914acd11d182b90000e829fbfe/frameset.htm
    Reward points if found helpful....
    Cheers,
    Chandra Sekhar.

  • Bapi for a t.code

    Hi All,
    Wat are the different ways of finding a BAPI for any transaction code?
    Thanks
    John

    Hi
        If you mean that you need to know what BAPI's a particular tranx uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use.
    Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this.
    1. Find out the package of the transaction.
    Start Va01 go to system --> status.
    Double click on transaction
    Package is VA
    Open this package in SE80
    Open business engineering-->Business object types
    Find the BO which sounds the most appropriate
    I would suggest BUS2032 Sales Order
    Double click.
    Open methods.
    Find the released method with from data or something similar in the name
    , Createfromdat2
    Position the cursor in it and click the program button
    Scroll down to find the bapi used in this method
    With this way you can also find out programs and FM's
    2. Start va01 go to system-->status
    Double click transaction VA01
    Double click on package
    Read the application component. (this is SD-SLS Sales)
    Then open the transaction BAPI
    Sales and distribution>Sales>sales order
    createfromdat2

  • Access Sequence for Plant/Tax code Combination  for JTAX

    Dear All
    i want to create a new access sequence for "Plant/Tax code" Combination.
    Please let me know the process for the same
    Regards
    Amey

    Hi,
    Goto- M/05.
    Create the condition table by selecting the fields Plant & Tax code.
    Assign this condition table in the Access sequence JTAX as per ur requirement.
    Create condition records (FV11) by choosing the requirec access sequence.
    Regards,
    Satpal

  • BAPI FOR PP03 T.CODE

    Hi Experts,
    I want BAPI for pp03 T.code ....
    Please inform me if any one knows ...
    Its urgenttttt ,
    Thanks & Regards ,
    dattu malge

    Hi there,
    Have you managed to find a BAPI for PP03?
    Please let me know.
    Thanks and Regards,
    Preneshen Govender

  • Tax Code setup in SAP B1 for India

    SAP B1 implementation for an Indian Company.
    We have defined Tax Code as BED + CST and also defined all other setups such as Tax combination codes,effective dates etc.
    However when we create any document and enter Tax Code, in the selection list only sales tax codes such as ST , CST, VAT are shown but not Excise codes such as BED or BED+ CST.
    Pl help.
    Shrikanth Rao

    When you are creating location enter pan no in Accounting Data -> General tab then same will show in Excise tab with XM and XD enter last three digit no from ecc no of you company.
    XM for manufacturer and XD for Dealer. You have to enter ECC no till the time system will not allow you to add location.
    And when you are going to select excisable item then system will show you only excisable tax code only and when are going to select non-excisable item system will show except excisable taxcodes. System is not showing all taxcodes togather in marketing documents in 2007 and 8.8.
    Regards,
    Sachin
    Edited by: Sachin Suresh Deshpande on May 8, 2010 11:56 AM
    Edited by: Sachin Suresh Deshpande on May 8, 2010 11:58 AM

  • Process step by step for creating Tax Code ?

    Dear All ,
                            Kindly provide me step by step manner to create  tax code in FTXP , I need each & every single step which is to be used to create a tax code , pl it is urgent , for ex. i need to know that what is filled in target tax code , EU Code , check id ( why it is checked ) etc .
    sap11

    Hi,
    Transaction:  FTXP
    This area gives you a step by step explanation on "how to create a tax code in SAP". Later on these tax codes must be used in the creation of condition tables such as for MWST.
    Go to transaction code FTXP and select the country for which you need to create a tax code.  This country is automatically linked to the Tax Procedure which has been set up in the menu path [IMG - Financial accounting - Financial accounting global settings - tax on sales/purchases - basic settings - Assign country to calculation procedure]. Enter in the field tax code. This must be a 2-digit alphanumeric code i.e. A5, 55, BB, etc..  Before SAP 4.5 (I believe) you could use other special characters such as @, ? etc... But this is no longer applicable. See OSS note 212806.SAP will ask you to complete other additional fields such as:
    description of the tax code: please give a clear description
    define the tax type: define whether the tax code is relevant for input or output tax
    Indicator which determines that an error message should be issued if the tax amount is not correct. It it recommended to flag this.
    Eu code: One of the most forgotten parameter. If you do not set this parameter at "1" then all transactions with this code will be not picked up in the ESL listing of that specific country. This code "1" represents all the Sales from one EU country to another EU country.
    The target tax code fields are used in case of deferred taxes. This is applicable for example in France. The VAT needs to be paid for example not when the invoice is issued but when the customer pays the VAT. There are here again special programs available in SAP for deferred taxes.
    Reporting country: this field needs to be completed when you are using the plants abroad functionality. This means that when you as a German company have a Belgian VAT number and you have sales in Belgium (+ you need to submit a VAT return in Belgium) , then of course these invoices need to be booked in SAP with a Belgian tax code.
    Further in the menu you can also allocate the amount where this specific tax code is used to a certain tax account. The tax type fields such as Base Amount, Input tax, Output Tax ... can be determined via the calculation procedures.  Calculation procedures are defined in the IMG at [Financial accounting - Financial accounting global settings - tax on sales/purchases - basic settings - Assign country to calculation procedure].  Here you will need to define also the calculation levels. For example the Output tax is level 125 and the output tax will be calculated on the basis of the base amount. Therefore you put for the output tax in the field "from level" 100. The level of Base amount is 100. You do the same for the others.
    Account Keys.  
    NVV: The non deductible VAT is automatically added to the expenses account
    NAV: Indicate for this key a separate account for the non deductible VAT
    ESA: Output tax in case of Acquisition of EU goods
    ESE: Input tax in case Acquisition of EU goodsLast but not least you also need to complete the tax rate field.
    Tax Percentage & GL Account assignment
           Tax percentage can be maintained in two ways & that depends upon the Tax procedure that has been followed i.e. if tax procedure is formula based then percentage can be maintained in FTXP only, where as if the procedure is condition based then percentage has to be maintained under the identified condition type.
    Once done GL accounts has to be assigned under OB40 for automatic posting of tax amounts.        
    Reward points if helpful,
    Regards,
    Archit

Maybe you are looking for