How to calculate tax / discount amount on PO

Hi,
I have to calculate tax and discount on Purchase order and have add that to ekpo-netwr to get the actual amount. Can you please tell me how to do that?
So far I have been taking the EKKO-KNUMV and going to KONV table and serach for records with that KNUMV. But here I am stuck.
I can not understand (I mean I can not find the field to distinguish) which of the records is actually being used in the PO and has an amount (non-zero) against it, which I see in ME23N in "Condition" at header label.
Reward Points Guaranteed.
Regards,
Anid

Hi,
Ya. Actually I need to know the Discount, Indiviual taxes (Like Freight tax etc) which we see the the "condition" tab of Header Data in ME23N. I have to make a total of them and subtract from (Sum of EKPO-NETWR ) to calculate the ACTUAL PRICE.

Similar Messages

  • How to calculate tax amount

    Hi,
    I am working in driver program of service sheet entry SF. i want calculate Tax Amount of every line item of service entry sheet number.
      tax code, net value, total value  mention in line item but tax amount not.
    then How to calculate tax amount according tax code...............?

    Hi,
    Try with the below function module.
    CALCULATE_TAX_FROM_NET_AMOUNT
    Jshree

  • BAPI_ACC_INVOICE_RECEIPT_POST how to calculate tax

    Hallo folks,
    i can't figuere out how to calculate the tax with the bapi BAPI_ACC_INVOICE_RECEIPT_POST. I already searched the Forums and google but no Solution helped me.
    I don't really get it, which fields i have to fill. For example i do i have to fill the amt_base for every item or just for the tax structure?
        ls_accgl-comp_code  = ls_outtab-zzfaleiemp.
        ls_accgl-tax_code   = 'V3'.
        ls_accgl-profit_ctr = ls_outtab-prctr.
        ls_accgl-sales_ord  = ls_outtab-kdauf.
        ls_accgl-s_ord_item = ls_outtab-kdpos.
        APPEND ls_accgl TO lt_accgl.
        CLEAR ls_curamt.
        ls_curamt-itemno_acc     = l_itemno.
        ls_curamt-currency_iso   = 'EUR'.
        ls_curamt-amt_doccur     = ls_outtab-zzsum.
      ls_acctax-itemno_acc = l_itemno.
      ls_acctax-tax_rate   = '19.000'.
      ls_acctax-gl_account = ls_accgl-gl_account.
      ls_acctax-tax_code   = 'V3'.
      ls_acctax-acct_key   = 'VST'.
      ls_acctax-cond_key   = 'MWVS'.
      APPEND ls_acctax TO lt_acctax.
      CLEAR ls_curamt.
      ls_curamt-itemno_acc = l_itemno.
      ls_curamt-currency   = 'EUR'.
    *  ls_curamt-amt_doccur = l_sum.
      ls_curamt-amt_base   = l_sum.
      APPEND ls_curamt TO lt_curamt.
    Because it doesn't matter what field i fill in TA FB03 there never come any taxes up.
    has anybody some Ideas?
    Best regards
    Mathias

    Hi,
      check the below code
    Read Invoice Work item data
      CLEAR: lwa_inv_header.
      SELECT SINGLE * INTO lwa_inv_header
        FROM zbw_inv_header
      WHERE zinv_id = i_documentheader-zinv_id.
      IF sy-subrc = 0.
    Get history line count
        SELECT COUNT(*) INTO lv_hist_lineid
          FROM zbw_wi_history
         WHERE zinv_id = i_documentheader-zinv_id.
    Get exception line count
        SELECT COUNT(*) INTO lv_lineid
          FROM zbw_wi_exception
         WHERE zinv_id = i_documentheader-zinv_id.
    Get document type
        SELECT SINGLE zdoctype INTO lv_doc_type
          FROM zbw_doc_types
        WHERE zinvtype = i_documentheader-zinvoicetype AND
              zinvind  = i_documentheader-invoice_ind.
        IF sy-subrc <> 0.
          CLEAR t_return.
          t_return-ztype    = 'E'.
          t_return-zmessage = 'Document type configuration is not done'.
          APPEND t_return.
          lv_lineid = lv_lineid + 1.
          CLEAR lwa_exceptions.
          lwa_exceptions-zinv_id  = i_documentheader-zinv_id.
          lwa_exceptions-zlineid  = lv_lineid.
          lwa_exceptions-zstep_id = i_stepid.
          lwa_exceptions-zuser    = sy-uname.
          lwa_exceptions-zdate    = sy-datum.
          lwa_exceptions-ztime    = sy-uzeit.
          lwa_exceptions-zexception = t_return-zmessage.
          MODIFY zbw_wi_exception FROM lwa_exceptions.
          EXIT.
        ENDIF.
    Read posting date config
        SELECT SINGLE * INTO lwa_posting
          FROM zbw_posting_date
        WHERE zarea = i_documentheader-zinvoicetype.
        IF sy-subrc <> 0.
          CLEAR t_return.
          t_return-ztype    = 'E'.
          t_return-zmessage = 'Posting date configuration is not done'.
          APPEND t_return.
          lv_lineid = lv_lineid + 1.
          CLEAR lwa_exceptions.
          lwa_exceptions-zinv_id  = i_documentheader-zinv_id.
          lwa_exceptions-zlineid  = lv_lineid.
          lwa_exceptions-zstep_id = i_stepid.
          lwa_exceptions-zuser    = sy-uname.
          lwa_exceptions-zdate    = sy-datum.
          lwa_exceptions-ztime    = sy-uzeit.
          lwa_exceptions-zexception = t_return-zmessage.
          MODIFY zbw_wi_exception FROM lwa_exceptions.
          EXIT.
        ENDIF.
        IF lwa_posting-zcurrentdate = 'X'.
    Todays date as posting date
          lwa_documentheader-pstng_date = sy-datum.
        ELSE.
          lv_today = sy-datum.
          CLEAR: lv_days,
                 lv_months,
                 lv_years,
                 lv_calcdt.
    Calculate last day of previous month as posting date
          CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
            EXPORTING
              date      = lv_today
              days      = lv_days
              months    = lv_months
              signum    = '-'
              years     = lv_years
            IMPORTING
              calc_date = lv_calcdt.
          IF sy-subrc <> 0.
            CLEAR t_return.
            t_return-ztype    = 'E'.
            CONCATENATE 'Error while calculating the'
                        'Last day of previous month'
              INTO t_return-zmessage SEPARATED BY space.
            APPEND t_return.
            lv_lineid = lv_lineid + 1.
            CLEAR lwa_exceptions.
            lwa_exceptions-zinv_id  = i_documentheader-zinv_id.
            lwa_exceptions-zlineid  = lv_lineid.
            lwa_exceptions-zstep_id = i_stepid.
            lwa_exceptions-zuser    = sy-uname.
            lwa_exceptions-zdate    = sy-datum.
            lwa_exceptions-ztime    = sy-uzeit.
            lwa_exceptions-zexception = t_return-zmessage.
            MODIFY zbw_wi_exception FROM lwa_exceptions.
            EXIT.
          ENDIF.
          CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
            EXPORTING
              day_in            = lv_calcdt
            IMPORTING
              last_day_of_month = lwa_documentheader-pstng_date
            EXCEPTIONS
              day_in_no_date    = 1
              OTHERS            = 2.
        ENDIF.
    Populate the header data
        lwa_documentheader-obj_type       = 'IBKPF'.
        CONCATENATE sy-datum sy-uzeit lwa_documentheader-comp_code
          INTO lwa_documentheader-obj_key.
        lwa_documentheader-obj_sys        =  sy-sysid.
        lwa_documentheader-username       =  sy-uname.
        lwa_documentheader-header_txt     =  'HD BAPI Test'.
        lwa_documentheader-comp_code      = i_documentheader-comp_code.
        lwa_documentheader-fisc_year      = i_documentheader-zfisc_year.
        lwa_documentheader-doc_date       =  i_documentheader-doc_date.
        lwa_documentheader-trans_date     = sy-datum.
        lwa_documentheader-fis_period     =  i_documentheader-zfisc_period.
        lwa_documentheader-doc_type       =  lv_doc_type.
            ALL ITEM DATA                                               *
    Populate Account payble data
        CLEAR lt_accountpayable.
        lt_accountpayable-itemno_acc      = 1.
        lt_accountpayable-vendor_no       = i_documentheader-zvendor.
        lt_accountpayable-item_text       = 'Webdesk invoice posting'.
        APPEND lt_accountpayable.
        clear lt_accountpayable.
    Populate the currency for Account payble
      CLEAR lt_currencyamount.
      lt_currencyamount-itemno_acc      = 1.
      lt_currencyamount-currency        = i_documentheader-currency.
      lt_currencyamount-amt_doccur      = i_documentheader-gross_amount * -1.
      APPEND lt_currencyamount.
      clear lt_currencyamount.
    Loop the GL table
        CLEAR lv_errfl.
        LOOP AT t_glacc.
          CONCATENATE i_documentheader-supcountry t_glacc-tax_code
            INTO lv_vakey SEPARATED BY space.
          SELECT knumh INTO lv_knumh
           UP TO 1 ROWS
            FROM konh
           WHERE vakey = lv_vakey.
          ENDSELECT.
          IF sy-subrc = 0.
            SELECT SINGLE kbetr INTO lv_kbetr
              FROM konp
             WHERE knumh = lv_knumh.
            IF sy-subrc <> 0.
              lv_errfl = 'X'.
            ENDIF.
          ELSE.
            lv_errfl = 'X'.
          ENDIF.
          lv_kbetr = lv_kbetr / 10.
          IF t_glacc-tax_base_amount IS INITIAL.
            lv_taxamt  =  ( i_documentheader-gross_amount * lv_kbetr ) / 100.
          ELSE.
            lv_taxamt  =  ( t_glacc-tax_base_amount * lv_kbetr ) / 100.
          ENDIF.
    Populate the GL data
          lt_accountgl-itemno_acc           = 2.
          lt_accountgl-gl_account           = t_glacc-gl_account.
          lt_accountgl-tax_code             = t_glacc-tax_code.
          lt_accountgl-acct_key             = t_glacc-zacct_key.
          lt_accountgl-item_text            = 'Webdesk invoice posting'.
          APPEND lt_accountgl.
          clear lt_accountgl.
          CLEAR lt_currencyamount.
          lt_currencyamount-itemno_acc        =  2.
          lt_currencyamount-currency          =  i_documentheader-currency.
          lt_currencyamount-amt_doccur        =  t_glacc-item_amount - lv_taxamt.
          APPEND lt_currencyamount.
          clear lt_currencyamount.
          IF NOT t_glacc-tax_code IS INITIAL.
    Populate the Tax data
            lt_accounttax-itemno_acc = 3.
            lt_accounttax-gl_account = t_glacc-ztaxgl_account.
            lt_accounttax-tax_code   = t_glacc-tax_code.
            lt_accounttax-acct_key   = t_glacc-zacct_key.
            APPEND lt_accounttax.
            clear lt_accounttax.
            CLEAR lt_currencyamount.
            lt_currencyamount-itemno_acc        =  3.
            lt_currencyamount-currency          =  i_documentheader-currency.
            lt_currencyamount-amt_doccur        =  lv_taxamt.
            IF t_glacc-tax_base_amount IS INITIAL.
              lt_currencyamount-amt_base          =  i_documentheader-gross_amount.
            ELSE.
              lt_currencyamount-amt_base          =  t_glacc-tax_base_amount.
            ENDIF.
            APPEND lt_currencyamount.
            clear lt_currencyamount.
          ENDIF.
        ENDLOOP.
        IF lv_errfl = 'X'.
          CLEAR t_return.
          t_return-ztype    = 'E'.
          CONCATENATE 'Error while calculating the'
                      'Tax amount'
            INTO t_return-zmessage SEPARATED BY space.
          APPEND t_return.
          lv_lineid = lv_lineid + 1.
          CLEAR lwa_exceptions.
          lwa_exceptions-zinv_id  = i_documentheader-zinv_id.
          lwa_exceptions-zlineid  = lv_lineid.
          lwa_exceptions-zstep_id = i_stepid.
          lwa_exceptions-zuser    = sy-uname.
          lwa_exceptions-zdate    = sy-datum.
          lwa_exceptions-ztime    = sy-uzeit.
          lwa_exceptions-zexception = t_return-zmessage.
          MODIFY zbw_wi_exception FROM lwa_exceptions.
          EXIT.
        ENDIF.
               CALLING BAPI                                             *
        CLEAR lwa_wi_history.
        lwa_wi_history-zinv_id  = i_documentheader-zinv_id.
        lwa_wi_history-zlineid  = lv_hist_lineid.
        lwa_wi_history-zstep_id = i_stepid.
        lwa_wi_history-zuser    = sy-uname.
        lwa_wi_history-zdate    = sy-datum.
        lwa_wi_history-ztime    = sy-uzeit.
        CLEAR: lt_return[].
        CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_POST'
          EXPORTING
            documentheader = lwa_documentheader
          IMPORTING
            obj_type       = obj_type
            obj_key        = obj_key
            obj_sys        = obj_sys
          TABLES
            accountpayable = lt_accountpayable
            accountgl      = lt_accountgl
            accounttax     = lt_accounttax
            currencyamount = lt_currencyamount
            return         = lt_return.
    Thanks & Regards,
    Sateesh.

  • How to calculate taxes in purchase register

    Hi all,
      i want to calculate taxes in purchase register for that
    i use function module 'calculate_tax_item'  but it calculates
    tax on po . i want taxes should calculate as per miro
    means it should be calculated on basic amount.
    Thanks
    Dinesh

    Hi,
       i dont know whether there is any function module available of no.. but u can get it from FI tables... link is from MIRO u can get the invoice no.. go to BKPF table in that there is a AWKEY filed is there put the MIRO No + Miro Year in that..u can use a select single .. from that u get the FI document .... field is BELNR.. then go to BSET table.. it contain the duty amount put that FI document number , FI year and Compny code and also put Debit/credit indicator as S.. u will list of records with duty.. from that HWBAS is he duty amount field and there is one percentage field.. if it is 12 % in that field its look like 120 as a multiple of 10.  Note this BSET will only be populated if there is any tax involved.. other wise it will be empty(ofcourse it cointian the whole accessable value amount).. i think it will help u..
    Regards
    Maneesh Chandran

  • How to calculate YTD credit amount and YTD Debit amount

    How to calculate credit amount and Debit amount for Year-To-Date type in GL Trial Balance Report?

    You may try the following options.
    1. Run 'Expanded Trial Balance' report.
    2. Run 'Trial Balance' report.
    3. Create FSG report for trial balance based on your desired output format.
    Hope it is useful.
    Tarun

  • How to calculate tax in me49 price

    hi guys,
                I want to change the standard me49 transaction. the reason is this the rate value it is giving is without excise and tax means flat rate. but i hav to showhere the rate including  tax excise etc etc. Can you please give me brief description in this,thx in advance

    You don't need to calculate tax by yourself.  The proper tax code will take care it.
    Thanks,
    Gordon

  • How to calculate Bill Discount, Letter of Credit, Deposits & Cheque amount!

    Hi,
    I have a requirement where in I have to develop a report to display bank balance chart with the following details in the output.They are :
    1. Posting Date
    2. Bill Discount (BD)
    3. Letter of Credit(LC)
    4. Cheque Amount may be cheque issued.
    5. Deposits.
    Above are the information which i have to display based on Posting Date range , Company Code and Bank Key present in the selection-screen.
    Below are my few observations:
    1. To retrieve the Bill Discount, I am first fetching the data from BKPF table by checking the document types 'DZ' ,'KZ', Company code and Posting Date Range. Then using document number,company code present in these entries along with Posting key = 39 and special GL indicator = 'W' retrieving the data like DMBTR,WRBTR from BSEG.
    2. Similarly for Letter of Credit amount retrieving the data in the same way as mentioned above except special GL indicator will be 'Y'.
    Now please correct me if my approach is wrong. Request you all to throw some light as I am Technical Consultant and humbly looking forward to all your help.
    Also, request to let me know the logic or process how one can calculate fourth point as well as Fifth point as mentioned above.
    I am just looking for flow of data/process flow/standard transactions through which I can see these above mentioned things which can help me in building the logic. At least a general approach to this will be appreciated highly.
    Regards,
    Raghavendra Kulkarni.
    Edited by: raghavendra kulkarni on Jul 8, 2010 2:31 PM

    Hi,
    I have a requirement where in I have to develop a report to display bank balance chart with the following details in the output.They are :
    1. Posting Date
    2. Bill Discount (BD)
    3. Letter of Credit(LC)
    4. Cheque Amount may be cheque issued.
    5. Deposits.
    Above are the information which i have to display based on Posting Date range , Company Code and Bank Key present in the selection-screen.
    Below are my few observations:
    1. To retrieve the Bill Discount, I am first fetching the data from BKPF table by checking the document types 'DZ' ,'KZ', Company code and Posting Date Range. Then using document number,company code present in these entries along with Posting key = 39 and special GL indicator = 'W' retrieving the data like DMBTR,WRBTR from BSEG.
    2. Similarly for Letter of Credit amount retrieving the data in the same way as mentioned above except special GL indicator will be 'Y'.
    Now please correct me if my approach is wrong. Request you all to throw some light as I am Technical Consultant and humbly looking forward to all your help.
    Also, request to let me know the logic or process how one can calculate fourth point as well as Fifth point as mentioned above.
    Edited by Raghavendra Kulkarni.
    I am just looking for flow of data/process flow/standard transactions through which I can see these above mentioned things which can help me in building the logic. At least a general approach to this will be appreciated highly.
    Regards,
    Raghavendra Kulkarni.

  • How Verizon calculates taxes?

    What a rodeo.  I called and they opened a "Diamond Ticket" because I wanted to know on what amount are taxes being calculated.  They closed ticket, did not get back to me and stated "The taxes are correct".  Really?   How can I compare plans if I can't calculate the total bill?
    I want to know step-by-step what amount tax is being applied to.
    I know in CT the total tax is 13.23%.
         911        charge of 1.06% of .70 per line
         USF       charge of 5.82% of .98 per line
         State Tax of           6.35% of what?????   no one at verizon can answer this question.
    Is it a secret that is only shared by a very few?

        Reginald, We absolutely want to make this a better experience. Would it be possible for us to work together in direct message. Please follow us and we can get started.
    Sheritah_vzw
    Follow us on Twitter
    @VZWSupport

  • How  to calculate taxes in invoice tab of me23n t.code

    Hi,
    I need to print the taxes shown in invoice tab for a particular PO. I have used related fn modules for calculating but i'm not get the exact values as shown in the sap.
    I have even searched the forums but didn't get any relevant answer.
    Please help...

    Hi,
    taxes are calculated on header level and values are distributed to PO lines. So starting with line values, you can't get the same tax values, just because you won't get rounding differences from the header calculation included.
    So you have to print the 'original' values of the PO. Mark the relevant lines in pricing with a printing flag, this might be the easiest way. You might also find relevant values in EKPO subtotal fields, or you select all details from table KONV (key EKKO-KNUMV).
    But if there are under- / partial- / overdeliveries, the actual bookings during goods receipt / invoice will be different anyway... (related to the rounding).
    BR,
    Christian

  • Calculate tax in Vendor Down Payment

    Hi,
    While posting down payment to my service vendor including service tax amount in F-48 after tick the calculate tax also, it is not asking for tax code and it is not showing service tax seperately. Only vendor a/c and bank a/c's are simulating. Please tell me how to calculate tax while doing vendor down payment.
    Regards,
    Prasad

    > Hi,
    >
    > Thanx for ur reply, every month we are paying through
    > advance payment for internet connection including
    > service tax and this is fixed amount.
    1. Enter vendor down payment - gross amount (do not calculate tax)
    2. Post a recurring document to your vendor account which will include the lines:
    C Vendor
    D Internet charge expense account
    D tax
    3. Allocate invoice with down payment

  • Calculating tax condition amount

    Hi all,
    I am  confused on how the system calculates tax conditon amount (let' say MWST) in sales order. In my system the tax condition type mwst has a condition record maintained of 4%  thru VK11 and a tax code V0 assoicated with it.
    The base value for calculating the tax amount for mwst is taken from the SD pricing procedure and so the tax amount is calculated in sales order.... However I need to know that in FTXP for the tax code V0, there is a tax rate of 4% maintained against it and an account key mws and a GL account. Is MWST also maintained in FTXP for the relevant tax procedure for 4% ???. I need to know whether for posting to tax GL account for condition type mwst, does the system calculates the tax amount thru tax procedure  and if yes then how the system takes the value of BASB (base amount )in tax procedure in FTXP  for calculating the tax amount.
    regards
    sachin

    Hi Sachin
    Is MWST also maintained in FTXP for the relevant tax procedure for 4% ???. I need to know whether for posting to tax GL account for condition type mwst, does the system calculates the tax amount thru tax procedure and if yes then how the system takes the value of BASB (base amount )in tax procedure in FTXP for calculating the tax amount.
    The values maintained in FTXP are just for record purpose. For every Tax we should have a particular GL account, so that we can find the total tax in a period of time whenever required.
    But the actual calculation of tax is happening at pricing procedure level only. Tax is calculated based on base price in pricing procedure. Also assigning that amount to GLs assigned against them in VKOA.
    Hope this clarify your doubt.

  • Discount should calculate on VAT/CST in MM Pricing procedure.? or How to write  routine to calculate discount amount after VAT/CST .?

    Hi All,
    Client is asking discount should calculate after Base+ED+VAT/CST. How to achieve this by configuration or by creating routine?
    I am reading Discount amount from condition tab but not able to deduct it after VAT in Routine.

    Hi
    P is the price of the product
    Y is the MRP
    P&F = x1.P (x1 of P)
    ST = x2.P (x2 of P)
    ED = x3 .P (x3 of P)
    x1 x2 x3 are constants. P = Y/(1x1x2+x3)
    P&F=x1P, ST = x2.P ED=x3P
    You have mentioned that all the pricing is based on MRP. Hence you will entering MRP as input price. Now P will be selling price before taxes and discounts. P&F, ST and ED will be always mentioned as % of Product and not MRP. So considering the equation
    P + P(x1x2x3)=Y
    Hence P = Y (1x1x2+x3) and hence further calculations.
    Now in V/08 you can maintain pricing procedure. Here alternate calcualtion type will be routine which you can create new and add to the step.
    Hope now its clear.
    Kind regards
    sandeep

  • How to calculate actual amount on PO

    Hi,
    I have to calculate tax and discount on Purchase order and have add that to ekpo-netwr to get the actual amount. Can you please tell me how to do that?
    So far I have been taking the EKKO-KNUMV and going to KONV table and serach for records with that KNUMV. But here I am stuck.
    I can not understand (I mean I can not find the field to distinguish) which of the records is actually being used in the PO and has an amount (non-zero) against it, which I see in ME23N in "Condition" at header label.
    Reward Points Guaranteed.
    Regards,
    Anid

    Hi,
    In the PO , I hope yoy might be using the tax code at item level.
    Take this tax code and go to the table A003 and get the KNUMH.
    Pass this KNUMH to the KONP table to get the condition value.
    Add the condition values to the net amount of the PO item. You will get the total amount.
    Alaways find the conditions and taxes at thwew item level of the PO.
    Regards,

  • With holding tax base amount for 1099 vendors with discounted payment term

    Hi Friends,
    We have a below situation for 1099 vendors,
    Some of the 1099 vendors are set-up in the system with payment term with discounts i.e. 2% if paid within 10 days
    As per config, system posts with holding tax base amount at the time of posting payment.
    With holding tax rate is 0%,
    Based on modified net amount calculation
    and
    Cash discount calculation before w/tax calculation
    When we have vendor with input tax, system excludes tax amount at the time of payment but for the with holding tax base calculation amount system does not exclude input tax type.
    Which causes difference in 1099 – misc vendors
    Below is the example of how system calculates the amount.
    Invoice $ 1000, payment term 2% if paid within 10 days. Input tax 7.25%
    Payment going out=
    $1000- $ 72.5(tax 7.25%) = $ 927.5 – 18.55 [2% discount] = $ 908.95 (payment amount)
    With holding base calculation =
    $ 1000 – 100 (2% discount) = $ 900
    Difference between payment going out and with holding tax base = 908.98 – 900 = 8.98
    Can some one please tell me how to get rid off this difference?
    Moreover, please tell me if it’s normal to have 1099 vendors with discounted payment term.
    Any thoughts on above situation will be helpful
    Edited by: Shefford William on Jan 28, 2008 11:36 PM

    Dear All
    i am also having the same problem. The example is
    Net invoice Value   = $ 100,000
    Input Tax @ 15%   = $  15,000
    Total Invoice Value = $ 115,000
    Cash Discount = 20% with in 20 days
    On payment the system behavior should be
    Debit  Vendor invoice Value   = $ 115,000
    Debit  Cash Discount @ 20%    = $   20,000   ( 20% of the Net Invoice Value that is 20% of $ 100,000)
    Credit  W/H Tax deduction @ 3.5% = $ 3,325  ( 3.5% of 95,000 the Inv Value - Cash Discount that is $ 115,000 - $20,000)
    Credit Bank Account  = $ 91,675 ( Inv value - Cash Dic - W/H tax that is $ 115,000 - 20,000 - 3325 = 91,675)
    However at the time of payment system is calculating tax as follows
    Debit  Vendor invoice Value   = $ 115,000
    Debit  Cash Discount @ 20%    = $   20,000   ( 20% of the Net Invoice Value that is 20% of $ 100,000)
    Credit  W/H Tax deduction @ 3.5% = $ 3,220  ( 3.5% of 92,000 the Inv Value - Cash Discount that is $ 115,000 - $23,000. This $ 23,000 is only calculated for W/H tax calculation that is 20% of $ 115,000 )
    Credit Bank Account  = $ 91,780 ( Inv value - Cash Dis - W/H tax that is $ 115,000 - 20,000 - 3220 = 91,780)
    this is not the common practice when using the net base value in the system.
    Can any one help me in this regard. I really have been stucked in this problem for many days
    Regards
    Bilal Athar

  • How I can calculate tax !

    Hi !
    I wonder how I can calculate tax !
    Now, I'm investigating  if i can make MM-Invoice with batch-input,
    and i got 1 question.
    In making MM-Invoice, I have to decide total invoice amount with tax before going batch-input.
    While I could find total amount ( by deal × per amount), I couldn't find how to get amount of tax.
    Is there any function module or tables that have tax-rate?

    check table RBVD

Maybe you are looking for

  • I have these black boxes surrounding things, e.g., there is a black box around the red "close" button on the upper left corner of this page.  There is also an oblong black box

    Hi - I'm not only having trouble waking up my MBP from sleep and having to restart repeatedly which is a pain in itself, but now when it restarted, I have these black boxes surrounding things, e.g., there is a black box around the red "close" button

  • Lightroom (ACR 4) color management problems

    Lightroom (or ACR 4) has some color management problems. When I develop a DNG into Photoshop (sRGB) everything looks great. Then I proof colors for the web (monitor RGB) the reds become oversaturated. I don't see this problem when I develop the same

  • Transfer rule activation

    Hello All, We have changed the transfer rule in test system and are trying to activate it manually using the std ABAP program. But I get an error that 'Transfer structure not generated in source system' and 'Manually activate the transfer rule'. I se

  • [solved] connect to a virtual terminal

    I want to start a console-based app (vim, ncmpc, irssi, etc.) in a new terminal (urxvt), how can I do this? Here are some examples of things I'd like to be able to do: - launch ncmpc in a new terminal at a given time every morning as an alarm clock -

  • Query on OBIEE Clusters

    Hi Experts, I have implemented OBIEE Cluster Configuration on 2 linux Servers (serverA and ServerB). I have selected ServerA as primary CCS and ServerB as secondary CCS and presentation services running on windows Server. All the configurations has b