Line by Line Tax Calculation

Hi Freinds,
I want to see line by line tax calculation on document level at the time of postings. i have made a required settings but now system always prompt for Tax Jurisdiction. Earlier system was not asking for Tax Jurisdiction at posting level.
We are usgin TAXINJ procedure.
I am looking for any further settings if required other than the "structure of Tax Jurisdiction" in IMG which allows line by line tax calculation.
Thanks,
Raj

Thanks a lot,
now i can see the line by line tax calculation. but is there any way to avoid entering Tax Jurisdiction Code everytime in the line item.
Also i would appreciate if i can know the impact of entering the Tax Jurisdiction Code in line item.
Regards,
Raj

Similar Messages

  • Error in external tax system: Line: 0##### - Unknown tax calculation (MIRO)

    Hi Friends,
    We have an issue while doing the MIRO
    Scenario : - Company code in USD Currency, we have a purchase order in EUR currency which had GR and IR in EUR only last year..this year when we are trying to process IR ( MIRO) for residual amount in EUR currency got the error
    "Error in external tax system: Line: 0##### - Unknown tax calculation"
    Even when we are trying to post foreign currency invoice from F-43 got the same issue...
    Taxware guys said no issues from their side
    Is there any year end impact this error ?
    Thanks for you help
    TKP

    Hi Ravi,
    I have verified this one also.no issue there
    Issue :-  When Trying to post Invoices in Foreign currency with Tax I0/A0 ( Exempt tax codes) there we are getting that error
    "Error in external tax system: Line: 0 - Unknown tax calculation error
    This is process was worked till last year Dec 2011 but not working on FY 2012... the same scenario working in Dev client but not in PRD and Test systems..
    The same tax codes can work for local currency postings but not foreign currency ..other tax codes are working for the both currencies in all systems...
    Let me share your idea's
    Thanks
    TKP

  • Service Contracts Line and Header Tax amounts are not matching

    Hi,
    I am creating service contracts using API. Using below code i am applying price adjustments on the line. while using the below API Tax is calculated at line level and added for each line But the Tax filed on the header is not getting updated. I fwe go to front end and click on reprice then the Tax amount is added to the header(If the contract created with status 'Entered').
    Please help me to fix this.
    l_multi_line_tbl (0).ID := l_x_clev_rec.ID;
    l_multi_line_tbl (0).price_list_id :=l_curr_price_list_id;
    l_multi_line_tbl (0).lse_id := 46;
    l_multi_line_tbl (0).line_pl_flag := 'Y';
    l_x_return_status := NULL;
    apps.oks_auth_util_pub.compute_price_multiple_line (
    p_api_version
    => 1.0,
    p_detail_tbl 
    => l_multi_line_tbl,
    x_return_status   => l_x_return_status,
    x_status_tbl 
    => l_status_tbl);
    Thanks,
    Hari

    not answered yet.

  • Double line Item For Tax

    Hi SAP Gurus,
    I have a issue related to invoice verification.
    We have following tax procedure
           Basic Price  + Excise + Frieght + VAT  = Gross Price
    But here frieght is taxable on which VAT is caluculated.
    But while doing MIRO system is showing two line items  for Tax condition (VAT)
    1. One line item VAT amt calculated on   (Basic price + Excise duty)
    2. Second line item VAT amt calculated on (Frieght amt.)
    I have maintained single line item in OBCN.
    My client want to have single line item.
    Pls tell me how to solve this.
    Regards
    Gitesh

    Hi
    DCGR means freight GR. System automatically creates this at the time of MIGO, if freight condition is mentioned in PO itself.
    Hence in MIGO creation systems creates one material GR and with the same number one DCGR.
    You can see it from purchase order history through PO.

  • MIRO - One line and two Tax codes

    Hello dear all,
    If I have a reception (MIGO), one line item.
    But in the supplier invoice this line has two tax codes. How can we post it in MIRO, what can be the process ?
    Is anyone had similar case ?
    Regards

    please, check the note 395973 where it is explained in point 2:
    " If I want to use a different tax code in Transaction MIRO, what
      should I do?
    In the invoice verification, the tax is calculated based on the
    items in the entered invoice.If you want to set a different tax
    code, you must make this change in the item list.You can also use
    the tax tab page in the header area of the invoice, particularly
    when there are several tax codes in the document.If you enter a tax
    code on the initial screen that does not exist in the item list, the
    invoice cannot be posted (error FF812).This system response is
    programmed as such and is intended this way.
    For the default values in the input help for the tax code, refer to
    Note 336821. "
    I hope this information can help you.

  • Separate line item for taxes in accounting document of MIGO

    All SAP Gurus,
    As we can have separate line item for Freight amount (Freight amt credited) in accounting document for MIGO.
    Similarly is it possible to have separate line item for tax amount which is inventoried.
    Regards,

    Hi Rajan,
    Freight is from pricing procedure whereas tax is from taxing procedure.
    Tax cannot be shown in separate g/l in MIGO.
    Reason:
    If u wanna show tax as separate item then we need to debit tax a/c in migo as well as it has to go to inventory which is not possible(double accounting enrty on debit side).
    I too tried to do the same by specifying 2 for posting indicator and selecting non deductible for the nonsetoff account key used in the taxing proceudre in OBCN but it is behaving like setoff tax.
    U can also try doing the same and then check.
    Reg
    Raja

  • Grouping PO Lines according to Tax Codes

    Hi All,
    I have a query,in my report when i pass the po_number,it prints the po details and line details.For each line i have taxes also.
    For Example if i have 5 lines (1,2,3,4,5). For 1st,2nd and 3rd line's have a,b,c,d as the taxes and for 4th and 5th having a,b as taxes.
    Now i need to print the report in such a manner that,first i need to print all the three lines (1,2,3) and then need to print there taxes(a,b,c,d).
    and then need to print 4th and 5th line and followed by taxes(a,b) which the both line contains.
    Waiting for you valuable comments..
    Thanks in Advance.....
    RR

    Hi Salim,
    Sorry for this all scripts...
    I am posting you all the required data needed.
    Please run all the queries so that you will get required information.
    --****Creating of PO Header Table *******
    create table po_num
    (po_num number,
    po_header_id number)
    --*****Inserting***
    insert into po_num
    values
    (101,1001)
    insert into po_num
    values
    (102,1002)
    --****Creating of PO Line Table *******
    create table po_lines
    (line_num number,
    po_header_id number,
    po_line_id number,
    item varchar2(100))
    --*****Inserting***
    insert into po_lines
    values
    (1,1001,1111,'Pen')
    insert into po_lines
    values
    (2,1001,1112,'Mouse')
    insert into po_lines
    values
    (3,1001,1113,'KeyBoard')
    insert into po_lines
    values
    (4,1001,1114,'Book')
    insert into po_lines
    values
    (5,1001,1115,'Desktop')
    insert into po_lines
    values
    (6,1001,1116,'Wire')
    insert into po_lines
    values
    (7,1001,1117,'Laptop')
    --****Creating Tax Details Table *******
    create table tax_table
    (tax_name varchar2(100),
    tax_descr varchar2(100),
    po_header_id number,
    po_line_id number)
    insert into tax_table
    values
    ('A','Tax for A ',1001,1111)
    insert into tax_table
    values
    ('B','Tax for B ',1001,1111)
    insert into tax_table
    values
    ('C','Tax for C ',1001,1111)
    insert into tax_table
    values
    ('D','Tax for D ',1001,1111)
    insert into tax_table
    values
    ('A','Tax for A ',1001,1112)
    insert into tax_table
    values
    ('B','Tax for B ',1001,1112)
    insert into tax_table
    values
    ('C','Tax for C ',1001,1112)
    insert into tax_table
    values
    ('D','Tax for D ',1001,1112)
    insert into tax_table
    values
    ('A','Tax for A ',1001,1113)
    insert into tax_table
    values
    ('B','Tax for B ',1001,1113)
    insert into tax_table
    values
    ('C','Tax for C ',1001,1113)
    insert into tax_table
    values
    ('D','Tax for D ',1001,1113)
    insert into tax_table
    values
    ('C','Tax for C ',1001,1114)
    insert into tax_table
    values
    ('D','Tax for D ',1001,1114)
    insert into tax_table
    values
    ('e','Tax for e ',1001,1115)
    insert into tax_table
    values
    ('C','Tax for C ',1001,1116)
    insert into tax_table
    values
    ('D','Tax for D ',1001,1116)
    insert into tax_table
    values
    ('e','Tax for e ',1001,1117)
    --***********For Po Num - 102 ********
    insert into po_lines
    values
    (1,1002,2221,'xxxx')
    insert into po_lines
    values
    (2,1002,2222,'yyyy')
    insert into po_lines
    values
    (3,1002,2223,'zzzz')
    insert into po_lines
    values
    (4,1002,2224,'hhhh')
    insert into tax_table
    values
    ('A','Tax for A ',1002,2221)
    insert into tax_table
    values
    ('B','Tax for B ',1002,2221)
    insert into tax_table
    values
    ('A','Tax for A ',1002,2222)
    insert into tax_table
    values
    ('B','Tax for B ',1002,2222)
    insert into tax_table
    values
    ('A','Tax for A ',1002,2223)
    insert into tax_table
    values
    ('B','Tax for B ',1002,2223)
    insert into tax_table
    values
    ('A','Tax for A ',1002,2224)
    insert into tax_table
    values
    ('B','Tax for B ',1002,2224)
    *** Select statement -
    select po_num,po_header_id from po_num
    where po_num = 101
    select * from po_lines
    where po_header_id = 1001
    select * from tax_table
    where po_line_id = 1111

  • Tax break up in line by line for  each item in the repetitive area

    Dear SAP PLD Experts
    I am facing a problem for generating excise invoice in pld with tax break for each line item .
    for eg : i have 5 line item in the invoice. 
    so , i want to show the tax break up for each line item seperately in column wise .
    slNo----Item CodeQtyPriceCenvat E.Cess---- H.E.Cess-- Vat--
    Total
    1-- A  5 -1000 96.401.920.96 40.00---    line total
    2
    3
    4
    5
    But when i am showing the Tax amount from Sales tax authorities table in repetitive area, its showing 25 line numers instead of 5 line. and tax amounts is showing line by line.
    Can any body help me to sort out this issue.
    Thanks
    Regards

    Dear,
    Add the UDF's on the marketing document you want the tax break up.
    Apply FMS using below queries and call these UDF's on your PLD.
    FOR BED
    DECLARE @Amount as Numeric(19,2)
    DECLARE @Rate as Numeric(19,0)
    DECLARE @TAmount as Numeric(19,2)
    set @TAmount =$[$38.21.Number]
    SELECT    @Rate=STA1.Rate
    FROM         OSTC INNER JOIN
                          STC1 ON OSTC.Code = STC1.STCCode INNER JOIN
                          STA1 ON STC1.STACode = STA1.StaCode Where   OSTC.Code=$[$38.160.0] And STA1.SttType='9' order by STA1.EfctDate desc
    set @Amount=(@TAmount * @Rate)/100
    Select @Amount
    For Cess
    DECLARE @Amount as Numeric(19,2)
    DECLARE @Rate as Numeric(19,0)
    DECLARE @TAmount as Numeric(19,2)
    set @TAmount = $[$38.U_BED.Number]
    SELECT    @Rate=STA1.Rate
    FROM         OSTC INNER JOIN
                          STC1 ON OSTC.Code = STC1.STCCode INNER JOIN
                          STA1 ON STC1.STACode = STA1.StaCode Where   OSTC.Code=$[$38.160.0] And STA1.SttType='8' order by STA1.EfctDate desc
    set @Amount=(@TAmount * @Rate)/100
    Select @Amount
    For HCess
    DECLARE @Amount as Numeric(19,2)
    DECLARE @Rate as Numeric(19,0)
    DECLARE @TAmount as Numeric(19,2)
    set @TAmount = $[$38.U_BED.Number]
    SELECT    @Rate=STA1.Rate
    FROM         OSTC INNER JOIN
                          STC1 ON OSTC.Code = STC1.STCCode INNER JOIN
                          STA1 ON STC1.STACode = STA1.StaCode Where   OSTC.Code=$[$38.160.0] And STA1.SttType='10' order by STA1.EfctDate desc
    set @Amount=(@TAmount * @Rate)/100
    Select @Amount
    This will help you.
    regards,
    Neetu

  • Print out of line item wise tax for each material code.

    hello all,
    Requirement is that my client want to print tax of all item in purchase order seperatelyi.e.line item wise tax for each material type.
    is there any standard procedure available in sap?
    Your valuable input will be apperciable.
    Regards
    sumit bisla

    Take the help from ABAPer and give your requirment to print the tax at item level.

  • I am trying to create a PDF document that calculates Gains and Losses in Mutual Funds. The calculation scripts are repetitive from line to line. The scripts work well until I reach the line 32. Script stops calculating...

    I am trying to create a PDF document that calculates Gains and Losses in Mutual Funds. The calculation scripts are repetitive from line to line. The scripts work well until I reach the line 32. Although I am using the same script as the fields above in the columm, the script eventually stops calculating and I can't figure out why. Is there a limit of how many calculation scripts you can enter? I will attempt to attach my pdf as soon as I figure out how. Thanks.

    For e31 :
    var e30 = +getField("e30").value ;
    var c31 = +getField("c31").value ;
    if ( (e30 !== 0) && (c31 !== 0) ) event.value = e30 + c31 ;
    else event.value = "";
    for e32 :
    var e31 = +getField("e31").value ;
    var c32 = +getField("c32").value ;
    if ( (e31 !== 0) && (c32 !== 0) ) event.value = e31 + c32 ;
    else event.value = "";
    for e33 :
    var e32 = +getField("e32").value ;
    var c33 = +getField("c33").value ;
    if ( (e32 !== 0) && (c33 !== 0) ) event.value = e32 + c33 ;
    else event.value = "";
    Java console doesn't show any error... That's why I am wondering if it's not a limitation issue... or memory issue, because they are maybe too many rows or something....
    The c value is not calculated.

  • GL Line Item with Tax Base Amount Posting

    Dear Expert,
    I have a GL account with tax and CO object. And, I am using BAPI_ACC_DOCUMENT_POST to do the GL posting. I would like to post the GL line item with tax base amount as it will show in FB03 line item, the posting is successful but no base amount is in GL line item in FB03. (I can manually post it in Tcode FB50).
    Any idea on this and what is the problem? Appreciate if can help..
    Thank you.
    Best Regards,
    Weng

    Hello Weng,
    I also looked on SAP notes. 
    There is a note with much information about Tax Postings with accounting BAPIs and it's a consulting note.  The note number is 626235.
    Regards,
    Rae Ellen Woytowiez
    Edited by: Rae Ellen Woytowiez on Dec 21, 2010 10:11 PM

  • BAPI Error FF818 : Line-by-line taxes active and therefore line-by-line transfer mandatory

    Hi,
    Line-by-line taxes active and therefore line-by-line transfer mandatory - Error FF818.
    Error FF-818 With BAPI - BAPI_ACC_DOCUMENT_POST or BAPI_ACC_INVOICE_RECEIPT_POST , when I was trying to post Incoming vendor invoice without PO (FB60 Transaction code).
    I could able to post the document successfully, if I can populate the below three fields in DOCUMENTHEADER, but the BAPI return doesnt populate the generated document number as well as BKPF-AWKEY is populated with value '$'. Which is not acceptable in an IDoc scenario as we can see the document number in the return message as '$'.
    OBJ_TYPE = BKPFE
    OBJ_KEY  = $
    OBJ_SYS  = xxxxxxxx
    Any one faced same issue ?? Below are the populated values .
    DOCUMENTHEADER
    OBJ_TYPE                       BKPFE
    OBJ_KEY                        $
    OBJ_SYS                        XXXXX
    BUS_ACT                        RFBU
    USERNAME                       XXXXXXX
    HEADER_TXT                     TEST1234
    COMP_CODE                      1000
    DOC_DATE                       05/01/2014
    PSTNG_DATE                     05/01/2014
    TRANS_DATE                     05/01/2014
    FISC_YEAR                      2014
    FIS_PERIOD                     05
    DOC_TYPE                       ZN
    REF_DOC_NO                     TESTSTSTS_IN
    ACCOUNTGL
    ITEMNO_ACC                     0000000002
    GL_ACCOUNT                     603344
    ITEM_TEXT                      TEST111_CM
    PSTNG_DATE                     05/01/2014
    TAX_CODE                       I1
    TAXJURCODE                     1000000000
    ITEMNO_TAX                     000003 ( Tried populating this field with all the values including zeros)
    ACCOUNTPAYABLE
    ITEMNO_ACC                     0000000001
    VENDOR_NO                      8266666
    BLINE_DATE                     04/30/2014
    ACCOUNTTAX
    ITEMNO_ACC                     0000000003
    GL_ACCOUNT                     200000
    COND_KEY                       XP1I
    ACCT_KEY                       NVV
    TAX_CODE                       I1
    TAX_RATE                          60.000
    TAX_DATE                       04/30/2014
    TAXJURCODE                     1000000000
    TAXJURCODE_DEEP                1000000000
    TAXJURCODE_LEVEL
    ITEMNO_TAX                     000001 ( Tried populating this field with all the values including zeros)
    DIRECT_TAX                     X ( Tried X and ' ')
    CURRENCYAMOUNT
    ITEMNO_ACC                     0000000001
    CURR_TYPE                      00
    CURRENCY                       USD
    AMT_DOCCUR                     100.0000-
    AMT_BASE                       100.0000
    ITEMNO_ACC                     0000000002
    CURR_TYPE                      00
    CURRENCY                       USD
    AMT_DOCCUR                     100.0000
    AMT_BASE                       100.0000
    ITEMNO_ACC                     0000000003
    CURR_TYPE                      00
    CURRENCY                       USD
    AMT_DOCCUR                     60.0000-
    AMT_BASE                       100.0000
    I Tried without populating the tax line items, but still the same error message and If I populate those three values in the header structure, all we can see is '$' in return.
    -Thanks,
    Veeru.

    HI,
    the note 1995144 which explains why this error happens
    and which also provides an example implementation for BAdI
    BADI_REEX_FI_BAPI.
    Regards,
    Bowen

  • 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

  • Witholding Tax calculation while payment and advance

    Dear experts,
    I have few questions as below. It would be great if you can help me out in this :
    In vendor master I have two WTH tax codes for invoice and payment and marked as liable.
    Incase of invoice (FB60) posting system is calcu;ating correctly and posting, but while posting no popup for to rectify the WTX code also no base amount is populating in WTH tax tab of invoice posting. Is this correct way??
    While making payment for the same invoice through F-53, system is again calculating on same open item and no popup, until I go to WTH tax tab and delete the tax amount. What is lacking in my customising of WTH tax code (payment type), to restrict WTH tax calcutaing twice ??
    While making advance payment by F-48, system not calculating WTX tax and showing tax code is mandatory, even though tax code  (V0-tax exempt) entered, no WTH tax calculation happening. I have checked all Field status of document type and recon account, nothing is mandatory. I dint know why?? Please help in this regard.
    Thanks in advance.
    Regards
    Abhi

    Hi madhu
    Thanks for explaining the process it works.
    Regarding the error I was facing earlier to enter the tax code in F-48 for the tax category was marked as ' * ' in the advance reconciliation GL. I have removed them and now the error is not coming.
    But now for the same or advance payment with F-48, I am not able post the document, though the payment WTX code is showing but not calculating the amount for the same.
    The error is
    "Withholding tax amount exceeds total bank line item amounts."
    Message no. 7Q320
    How to post it. Please help.
    Regards
    Abhi

  • Withholding tax calculation @ Customer payment

    Hi
    Experts, can any one help me on this issue??. I want to calculate and post withholding tax for a customer at the time of incoming payment(F-28). I have already activated extended withholding tax, defined tax type, tax code, & assigned in the customer master data. But system not calculating the tax nor its displaying tax code in the payment screen, & throwing a message when I double click on the relevant tax column ie " withholding tax information missing from line item"  I f someone could throw a light on this, it would be a great help,
    Thanks in advance
    Hariharan.

    Kindly check
    1. Define witholding tax type for invoice posting
    IMG > Financial Account Global settings > Withholding tax > Extended Withholding Tax > Calculation > Withholding Tax type > <b>Define Withholding Tax Type for Invoice posting</b>
    2. Define witholding tax type for payment posting
    IMG > Financial Account Global settings > Withholding tax > Extended Withholding Tax > Calculation > Withholding Tax type > <b>Define Withholding Tax Type for Payment Posting</b>
    and also check OBWW (Define account for w/h tax)
    rgds.

Maybe you are looking for