Query for tax calculation.

Hi All
I want to know if it's possible to do calculation using the unit price field in Purchase Order.
This is what I want to test
I insert unit price then select the Taxable UDF option (Yes) then the Total(LC) Field ( Standard B1 field must display the amount plus 14% vat and when I select Not taxable it must not apply the 14 % vat.
The reason why i'm doing this is the client is not a vat vendor ( they dont have to report for tax) so this is just a workaround that i have to expense the whole amount.
And how to use variables when you want to write a query... like (unit price x 0.14)
Please any suggestions are welcome.....
Thanks
Bongani Dlamini

Hi Gordon
"However, the problem start here: how will you use this query result?"
The calculated amount must appear in the line total field as this field is used for document totaling.
" Do you want the document total relate to your results?"
The document total must display the total amount inclusive of VAT , the VAT field must not include any info
Thanks
Bongani

Similar Messages

  • Base amount for tax calculation in billing document

    Dear Experts,
    Can you help me in this scenario
    when i create a billing document
    Selling Price :74,766.36
    Output Tax: 5233.65
    Final Amount: 80,000.01
    the total should be 80,000 in this case as per customer PO.
    the actual difference is coming from Tax rounding off done by SAP.Initially we added DIFF condition to adjust the Tax amount.
    But it is affecting the Output VAT report, where it shows 0.01 values. business does not want that, so we added DIFF condition to Selling Price.
    Net                 74,766.35  THB
    Tax                  5,233.65
    This is how it post to accounting
    01  8000485 Custome. 80,000.00
    50  2100100 Revenue Gds - Dom 74,766.36-
    50  2623600 Output Tax 5,233.65-
    40  2100100 Revenue Gds - Dom 0.01
    But the base amount for tax calculation is not chaning even after adding DIFF condition.
       Tax amount         Base amnt           Tx   Tax ra
        5,233.65-          74,766.36-           O7    7.000
               Output Tax rate 7%
    Is it possible to change the base amount for tax calculation to include DIFF value?
    Can you please advise? If i maintain Tax condition at header level, does this solve it.
    Regards
    Pradeep

    Hi,
    Please check your condition type settings for Rounding Rule
    may be it is marked as commercial
    mark as B and check it might work

  • How AP behaves for withholding tax when vertax is used for tax calculation

    Hi,
    I am currently working on R12 implementation, I have requirement where business has to calculate the USE tax and withhold it from being paid to the supplier in case if use tax is not mentioned on the Invoice and pay it to tax authorities directly by business. Our client has Vertax third party tax engine. now the question is does it works same as it is in oracle payables in cases if client want to use vertax to calculate tax. How oracle behaves for withholding tax when vertax is used for tax calculations.
    Regards,
    Shashi.

    Hi
    Cheque Go to Menubar of  which document you have to  post for getting the WHT value  Menubar Settings - editing options -  remove the tick calculate tax on net amount.
    Rgds
    Vani

  • New Smart form for Tax calculation

    Dear Consultants,
    I am new for ABAP module, I want to create one smart form, for tax calculation. As per the attachment Most of the fields are standard, only the value I want to pick from Different Infotypes and RT table. please suggest how to create smart form.
    Thanks & Regards,
    Naresh

    Hi,
    create a executable program, pass the all values to Internal table.
    create the structure as same as internal table.(eg: ztable).
    create table type for this structure(eg: ytable)
    T-code: Smartforms.
    click the Form Interface tab, click table . click table
    in that declare the  variable (itab like ytable).
    click the form Painter,
    desgin the output structure.
    Select "Fieldlist on/FF''.
    drag and drop the fields
    Right  click on the main window create a Window -> right click on create window -> click table.ble
    add vertical lines to the table.
    Right click on the mainwindow->flowlogic->loop. enter the itab name.
    activate the smartforms. execute.
    copy the generated number.
    goto to abap editor program.
    Delcare:
    DATA : FM_NAME TYPE RS38L_FNAM.
    CONSTANTS C_FORMNAME TYPE TDSFNAME VALUE 'ZSMARTFORM4'. (smartforms name)
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
                     EXPORTING
                       formname                 = c_formname
    *                 VARIANT                  = ' '
    *                 DIRECT_CALL              = ' '
                    IMPORTING
                      FM_NAME                  = fm_name
    *               EXCEPTIONS
    goto to pattern paste the number and execute.
    comment the number and add fm_name.
    execute.
    Regards,
    Venkat.

  • Config for Tax calculation

    Hi All,
       I am  SRM functional guy but trying to analyze a issue we are having - Via SRM when we create Shopping Cart and send to backend for PO creation(Classic Scenario), Shopping cart item says 'Error in Transmission' and when I look at RZ20 it says 'For ERS Tax calculation has to be setup'.
    Please advise
    Thanks a lot.
    Rao

    Hi,
    For the ERS vendor the tax code is mandetory and the tax code which u are entering in SC,Please check in FTXP the tax code settings.
    Or if you want to avoide this error, use non ERS vendor in SC.
    Regards,
    Manish

  • Query for Auto Calculation based on input of 2 Fields

    Hi,
    I would like to write a sql query to allow for auto calculation based on the Inputs of 2 other fields before Adding the Order.
    For example. A query on Sales Order where I have Item 040634 (Code for a Flower) and Quantity 200.
    I have a UDF (Bunching) where the value is 10, 15 or 20.
    Based on the Bunching the result should be given in another UDF (Noofsleeves).
    (Quantity) 200 / (Bunching) 10 = 10 (Noofsleeves)
    The Order will be having multiple items where the Bunching can differ for each item.
    Is it also possible to remove the calculated noofSleeves from Inventory.
    I am using 2007A SP01 PL05

    Hi ,
    You may try this: Apply this fms on other udf and auto refresh on the udf mentioned in the query (in your case Bunching).
    SELECT $[RDR1.Quantity.number] / $[RDR1.U_UDF.number]
    You may check these too.
    cALCULATION OF udf ON UNIT PRICE
    FMS
    Thanks,
    joseph
    Edited by: Joseph Antony on Jul 8, 2010 12:31 PM

  • Query for MAP Calculation - Price Control ind V and S

    SAP Guru's
    Query regarding MAP Calculation Logic
    Scenario:
    *I have one material xyz
    1. It is split valuated material,
    2. Two valuation types with diff price control indicators
    3. Batch Management is also activated on this material.*
    Follwoing is the Material Master Accounting1 View :
    Vauation Type     Price Control     Total Value     Qty     MAP                  Batch     
         ZA1          V                     610835.00             37     16509.05(V)          01
         ZB1          S                     0                  1     20000.00(S)          02
    but when we are running MM03 w/o Valuation Type Accounting 1 View
    is showing MAP as 16074.60 i.e. 610835.00/38
    Diff. Reports Output------>
    MB5L - List of Stock Values: Balances --> Output
    ValArea          Total Stock          Total Value
    A101               1                          0
    A101               37                          610835.00
    Net-->               38                  610835.00
    MB52 - Display Warehouse Stocks
    Check Box - Display Batch Stocks
    Condition1: When Display Batch Stocks is selected on main screen of MB52
    Mat.     Palnt      Sloc      Unrestricted     Stck in Transit          Total Value
    xyz     A101     0010      0                    30                       482238.00
    XYZ     A101     0010      7                    0                       115563.00
    xyz     A101     0010      1                    0                        0
    This is not correct result as Total Values is 597801.00 only      
    Condition2: When Display Batch Stocks is not selected on main screen of MB52
    Mat.     Palnt     Sloc     Unrestricted     Stck in Transit          Total Value
    xyz     A101     0010         0                  30                       482238.00
    XYZ     A101     0010         8                   0                       128597.00
    This is correct result as Total Values is 610835 .00 only
    So my query on above issue is :
    1. How System is including 1 Qty of Std Price Control for MAP calculation?
    As per my understanding MAP is only for Price Control V indicator Materials Stock
    2. Whats the difference between these two report output from MM03 Accounting
       view?
    Thanks

    hi Animesh,
    For Split Valuated Material at header level Price control is always "V" i.e. Moving average price reagrdless of the Price control you have given for different valuation types.
    Due to this you are getting these kind of results. Please visit the following link for more information
    http:///saphelp/EN/8f/d1de34e4cb2300e10000009b38f83b/frameset.htm
    Check it and revert back.
    Regards,
    Jay
    Edited by: SAP_MM on Dec 4, 2008 10:19 AM

  • BPC For TAX calculations

    Does anyone have experience in using SAP BPC to calculate company tax. Considering you already have all consolidation data in BPC already, I assume it would merely be a matter on creating the necessary calculations in BPC to handle the various tax rules.
    I was just wondering if anyone has done this before and what the experience was like.
    How flexible was the tool in change calculations to match the current tax legislation.
    Many Thanks

    Hi Tim,
    Did you ever figure out how to do tax in bpc?
    Its a requirement for my project, and looking for some pointers.
    Thanks.

  • Condition record for tax calculation

    hi .
    how to populate value for condition type MWAS (outputax)
    where to create?

    hi,
    Tax is determined based on,
    1) Departure Country , departure Zone is taken from delivering plant
    2) Destination Country of the customer receiving the goods( i.e Ship to party)
    3) Tax indicators in CMR >Sale area data>billing tab page& MMR>Sales:sale org data1 view.
    Maintain all the above in the condition records for determining the tax condition rate in pricing procedure.
    Reward if it is useful.
    MCM

  • Fumction Module For Tax calculation in PO

    Hi,
    Is there any standard Function Module to find out the tax % and Tax value.
    I have the input parameters ( I can get from the PO).
    or is there any other way that I can get the Tax % and the tax value that is coming in the PO. ( I need to use these two fields in a custom report)
    regards,
    kumar

    Hello Kumar,
    You can use the standard function module CALCULATE_TAX _ITEM.
    Regards
    Mahesh

  • Income Tax Calculation problem: Urgent Help Needed

    Dear Gurus,
    I am facing a unique problem. Our client has two incentives –
    1) Product Incentive
    2) Sales Incentive
    Every month incentive figures get changed. These two are Monthly Regular Income (Cumulations Class 24) i.e. included in annual tax calculation.
    Now for tax calculation, my client wants "Actual Earning" and "Estimated Earning for the rest of the year" to be different. But Income tax calculation in SAP (for the month of April 2007) takes Actual Earning and multiplied it by 12( i.e. 11+1) to calculate Estimated Earning. But my client wants this Estimated Earning to be different. 
    Now please let me know is this possible in SAP system and how to calculate this?
    Your help will be highly appreciated
    Waiting for an early reply.
    Thanking You,
    With Best Regards,
    Pratik

    Hi,
    I am not understand your problem give your mb then i talk to you
    mhpo

  • How to create dynamic Invoice report based on Tax calculations

    Hi Ppl,
    I have an invoice report requirement. There are multiple line items in invoice and each line item will have a tax % and discount associated with it. Discount has to be applied at line item level. Tax will be applicable on resultant amount which respect to tax share on total amount. Below is example
    Part# Tax     Qty     UnitPrice Amount     Discount     Net Value
    1     12.5%     40     10          400          100          300
    2     12.5%     50     20          1000          200          800
    3     4%     10     30          300          50          250
                             SubTotal                    1350
                             VAT 12.5% on 1100(300+800)     137.50
                             VAT 4% on 250               10
                             Total Amount               1497.5
    I have created a static rtf which does all calculations correctly. I have hardcoded 12.5 and 4 % tax values for calculations. But issue is that taxes are changeable in future so I want to create dynamic template which takes care for tax calculations. I thought of to create an array to store distinct tax values from XML data and then to perform calculation but don’t know how to do that.
    Can some body help me out as this is very critical and urgent?
    Note: Tax calculation can be done at line item level itself but there are some scenarios where additional discounts are there so tax calculation can not be done at line item level.
    Below is the sample XML data
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ListOfBipActionTest>
    - <Action>
    <AccountId>1</AccountId>
    <PartName>17211KCC900LS</PartName>
    <TAX>12.5</TAX>
    <QTY>40</QTY>
    <UNITPRICE>47.06</UNITPRICE>
    <DIS>15.00</DIS>
    <TaxType>CST</TaxType>
    </Action>
    - <Action>
    <AccountId>2</AccountId>
    <PartName>17213KCC900LS</PartName>
    <TAX>12.5</TAX>
    <QTY>50</QTY>
    <UNITPRICE>19.53</UNITPRICE>
    <DIS>8.00</DIS>
    <TaxType>CST</TaxType>
    </Action>
    - <Action>
    <AccountId>3</AccountId>
    <PartName>28302KAG900S</PartName>
    <TAX>12.5</TAX>
    <QTY>50</QTY>
    <UNITPRICE>59.49</UNITPRICE>
    <DIS>15.00</DIS>
    <TaxType>CST</TaxType>
    </Action>
    - <Action>
    <AccountId>4</AccountId>
    <PartName>2830AKAG900S</PartName>
    <TAX>12.5</TAX>
    <QTY>10</QTY>
    <UNITPRICE>168.7</UNITPRICE>
    <DIS>15.00</DIS>
    <TaxType>CST</TaxType>
    </Action>
    - <Action>
    <AccountId>4</AccountId>
    <PartName>91001GF6000S</PartName>
    <TAX>4.00</TAX>
    <QTY>60</QTY>
    <UNITPRICE>115.34</UNITPRICE>
    <DIS>17.00</DIS>
    <TaxType>CST</TaxType>
    </Action>
    </ListOfBipActionTest>
    Thanks
    Ashish

    Dear Efstratios Kara,
    I installed SAP Integration Kit 3.1. Yes I installed the integration kit after installing CR.
    I have uninstalled the earlier version and i have reinstalled CR with (12.3.0.601) version.
    But still i cant view the SAP connectivity. can u tell me from which version they have included this connectivity option in CR.
    If CR going to support SAP Table connectivity on specific version, what is that version.
    Waiting for your reply.
    Regards,
    Suman

  • Tax calculation in SRM and passing onto R/3 PO

    Hi,
    We are on SRM_SERVER 550, SP07 and R/3 4.7 backend.
    1. We have a requirement wherein we want the tax determination to happen in SRM. Basically there is no logic for determining the tax codes, but the user himself selects it per line item when creating the cart.
    2. We want this to be transferred to the backend PO line item. The tax codes in SRM and R/3 are identical.
    Can this be achieved by standard configuration?
    I checked that there are 4 choices for tax calculation in SRM
    No tax calculation
    Tax calculation occurs in backend
    Customer specific implementation'
    Tax calc occurs via external system
    tax calc occurs via TTE
    I am not sure which one we should be selecting (currently its no tax calc). I am also not sure if the tax code which is selected in SRM will be passed onto R/3 Or should this be mapped in the BBP_CREATE_BE_PO_NEW Badi?
    The option thro development is to provide a custom field where users can enter the tax code/choose from a list and then map it to the tax code(TAX_CODE - MWSKZ) field in badi BBP_CREATE_BE_PO_NEW. But we would prefer to stick to the standard options if they are feasible.
    Any pointers to this would be very helpful.
    Regards,
    Srivatsan

    Hi,
    If you have a classic scenario where the PO is created in the backend only the standard configurations will work for this.
    1) Determine System for Tax Calculation--- R/3 Tax calculation occurs in backend.
    Tax calculation occurs in the Backend System
    Tax calculation occurs via RFC in the backend system in Financial Accounting. If an external system is connected to the backend system (Vertex or Taxware, for example), this is automatically called from the backend system.
    2) Enter tax code :
    As you mentioned use the same key and also the description here. Make the zero tax as No tax and make it as default also ( which is safer for all users).
    With these two config steps you will get an F4 help in the for all the tax codes defined whereas the system will suggest the zero tax as the default.
    The other config steps are optional where you can have tax codes for you product category. Please do configurations in these steps only if required.
    This SC tax code will be there in the PO created from SRM provided if you have entry for this in FTXP in the R3 system.
    As far as we have configured you dont need BADI for this standard Tax calculations.
    If the invoice is made in R3 with reference to this PO then this tax code can be changed.
    Best regards,
    Sridhar.

  • Tax calculation in backend and in SRM (classic and standalone scenario)

    Hello,
    I have an issue regarding calculation of tax. 2 scenarios are used in common: classic and standalone. One node of Organizational structure is using classic scenario, another node is using standalone. So I have 2 Accounting Systems defined (one for each node).
    Requirement is:
    - For classic scenario, setting the tax calculation in backend
    - For standalone scenario, setting the tax calculation to no tax calculation
    Problem is that I can not customize the system this way. I do not know any mean to set 2 ways for tax calculation. Would you have any idea to do this?
    Thanks,
    Patrick

    Hi
    <b>Please go through this -></b>
    http://help.sap.com/saphelp_srm50/helpdata/en/f4/8b1d40bb37e569e10000000a155106/frameset.htm
    Note 848164 SUS3.0: FAQ: Logic of Tax calculation within SUS
    958273 FAQ: Taxes in SRM-SUS
    999896 EBP tax codes not correctly mapped to back-end tax codes.
    908659 Follow-up note for Note 509594
    931198 Missing Tax Code in Limit Shopping Cart
    430202 Delivery address in shopping cart in BAPIEKPOC
    931198 Missing Tax Code in Limit Shopping Cart
    881086 Country-specific tax calculation
    703292 TAX. Input/Output tax in SAP Supplier Self-Services with TTE
    513250 ERS. Tax calculation with the new 3.0 function 
    390861 Transferring tax table for ERS from backend system
    Note 657146 Enhancement for US tax calulation: Functions
    510142 EDI-Customizing: Tax code tax-exempted transactions
    317040 MR08: Message M8267
    49436 MR44: No message if the tax amount is different
    Note 84127 Tax Jurisdiction Code for EDI/ALE and Intercompany
    Also Try BBP_DET_TAX_BADI.
    Regards
    - Atul

  • Tax Calculation in PO

    hi all,
         Can you send the code for Tax Calculation for Purchase Order or  Can you tell the procedure for Tax Calculation in PO.
    Thanx & Regards
    Rami Reddy

    Hi,
    You will get all the condition types in PO in KONV table , and all the tax details like VAT , BED, CST etc you will get from A363 table , you can access the values from A363 table by passing plant , vendor , date.
    Regards,
    Bharat

Maybe you are looking for

  • Can we retrieve Data of Single Dimension in multiplecolumns in Excel Add-in

    Hi All, I have strange requirement of having single dimension in two columns while retrieving data from essbase using Excel Add-In. Logically I feel it is not possible however we are looking if there is any possibilty of work arround for this require

  • DataBase unavailable and Mirrored Db role has chnaged.

    Hello All, We got below errors in our principal and Mirror db servers. 1) The mirroring connection to "TCP://servername.domain.com:5022" has timed out for database "Db name" after 10 seconds without a response.  Check the service and network connecti

  • Not recognized in windows or itunes

    i bought an ipod 2 nights ago, downloaded new version of itunes last night and still don't see my ipod anywhere except the device manager. what do i need to do

  • Indian rupee sysmbol in abap report

    how to get indian rupee sysmbol in abap report to show in smartform output???

  • Please help with text problem

    I am new to photoshop.  While going through one of the basic video tutorials, I came to the section where is says to add text.  I followed instructions, but can't see what I type.  My cursor looks different than the one in the video when I click into