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.

Similar Messages

  • Group cur. amount and local curr. amount are not matching in CO88 Settlemen

    Hi Gurus,
        After settlement in CO88  for some process orders only in settlement accounting doc Group currency amount is not calucalted correctly against Local currency amount . Pls find details below
    For one process order in co88 setllment accounting document local currecny amount 12312.89 RSD  , In BKPF table i have chekced the doc has picked to convert it in to Group currecny (USD) exchange rate type M and  indirect exchange rate from RSD to USD  71.96. The document posted on 30.6.2011 , exchange rate maintaied in TCURR table on 01.06.2011 as 71.96. SO The system has picked correctly upto this.
                    As per this Group currecny amount should be = 12312.89/ 71.96 = 171.10
    But system posted Group currecny  as  = 45.74 USD , 
           How the system posted 45.74 in USD. Pls suggest what could be the reasons for this .This is happening only for some process orders.
    Thanks & regds
    Ramachandra

    thank you

  • Updating tax on the contract lines and header

    Hi All,
    Service Contracts
    We are trying to update Contract Line DFFs that store different values like Preventive Maintenance qty, Months billed etc. When we update this, we expect that the price, subtotal also should get updated. Also, we are updating annualized amount stored at the subline DFF as attribute1 using okc_contract_pub.update_contract_line.
    We are doing all the price calculations using the APIs :
    oks_qp_pkg.calc_price
    oks_qp_int_pvt.compute_price
    Since the subtotal is getting recalculated, the tax should also change. Note that the subtotal is getting recalculated at all the places i.e. at subline, top line and the header.
    The tax amount is getting recalculated only at the subline level and not reflecting either at the Line or header level.
    Questions:
    1. How to achieve this ?
    2. Do the above 2 APIs calculate tax as well ?
    Any pointers on this will be extremely helpful.
    Regards,
    Isha

    Hi All,
    Service Contracts
    We are trying to update Contract Line DFFs that store different values like Preventive Maintenance qty, Months billed etc. When we update this, we expect that the price, subtotal also should get updated. Also, we are updating annualized amount stored at the subline DFF as attribute1 using okc_contract_pub.update_contract_line.
    We are doing all the price calculations using the APIs :
    oks_qp_pkg.calc_price
    oks_qp_int_pvt.compute_price
    Since the subtotal is getting recalculated, the tax should also change. Note that the subtotal is getting recalculated at all the places i.e. at subline, top line and the header.
    The tax amount is getting recalculated only at the subline level and not reflecting either at the Line or header level.
    Questions:
    1. How to achieve this ?
    2. Do the above 2 APIs calculate tax as well ?
    Any pointers on this will be extremely helpful.
    Regards,
    Isha

  • Revel on line and Photoshop Elements 12 do not match.

    I have one active e-mail pjdcan2... and my revel on line shows 742 photos.  I have more albums and photos in Elements 12 that are not uploaded to my account.  I have logged out of both elements 12 and revel and then signed back in.  This has not solved my problem.  Where are my photo's uploading too?  My ID is pattic12345.  Please help me.

    Since you have a connect session setup already with the elements team, I will let them work with you on all your elements upload issues at once. Your account does not look like it has any issues anymore, so I will monitor the other post at:
    Albums not sync between Photoshop Elements and IPad. and see where you are once you compete your connect session with them.
    Pattie
    @andaleebfatima1 - please be aware there were recent issues that were fixed in this account with missing files.

  • Picture and Song on iPhone are not matching?

    Album covers on my iTunes do not match with the songs on myiphone. Exp. All Summer Long by Kid Rock has a cover of Bruno Mars’ album??? Ithappened suddenly (not after synchronization) this is my latest trouble after installingnew iOS 5.0.1. What can I do – it’s so annoying …

    Many people are having this issue right now.  The only solution I've seen that seems to consistently work is the one posted by Brackers28 here: https://discussions.apple.com/message/23020591#23020591.  This only works if you still have access to your old email account.  If you don't, you'll have to have Apple help you reset the password for your old account so you can turn off Find My iPhone and sign in with the correct ID.

  • My apple id and my icloud id are not matching on my iphone.

    After I first set up my apple id and my icloud, all of my email info changed.  I was able to update everything on my apple id to my current email/username and password.  After downloading the new ios 7, I have noticed that on my 4S my icloud id still shows as my old username that is inaccurate.  It will not let me complete the set up because everything else is correct.  I cannot update this on my pc because the old id does not show up anywhere else because my apple id is already set.  How can I change the username on my phone to match everything else?

    Many people are having this issue right now.  The only solution I've seen that seems to consistently work is the one posted by Brackers28 here: https://discussions.apple.com/message/23020591#23020591.  This only works if you still have access to your old email account.  If you don't, you'll have to have Apple help you reset the password for your old account so you can turn off Find My iPhone and sign in with the correct ID.

  • In 27q form Amount deducted and amount payable are not matching

    Dear All
    Here we made a z programm for form 24 qa as zf24q.But what is happening means in the excell the Amount Tax deducted and Tax deposited is showing correctly but in display these two amounts are not matching.so kindly give any suggestion for me
    Regards
    lakshman

    not answered yet.

  • OBIEE 11g Report-When drilling down to lower level, totals are not matching

    Hi All,
    I am creating a report in Analytics 7.9.6.3 , OBIEE 11g - Let’s say Budget Cost/Actual Cost based on the Date Dimension
    Have selected the Fiscal Year Dim, Fact Budget Cost, Fact Actual Cost
    FY BCost ACost
    2011 100 120
    2012 150 140
    Total 250 260
    But here when I am drilling down from Year to Quarter and Period - The values are not matching with the totals....
    FY FY Qrt BCost ACost
    2011 2011 Q1 80 100
    2011 Q2 100 90
    2011 Q3 110 120
    2011 Q4 90 130
    Total 380 440
    Fiscal Year, Fiscal Quarter Budget Cost and Actual Cost are not returning correct results – When selecting cost's by fiscal year, or filtering on a specific fiscal year, the amount returned does not equal the fiscal year total;
    when I am drilling down to Quarter and Period Level the BCost & ACosts are bumping the Numbers as above and not matching with totals
    Any suggestions?

    Check out the query in both the times.Execute against database and try to sum the data for quarter/period and compare it with Year data.
    Just try to differentiate is it a report total that is getting wrong or the data in the database table itself is getting wrong stored.
    Mark as helpful if it helps.
    Regards,
    Veeresh Rayan

  • When drilling to lower level - Totals are not matching in BI Analytics OOB

    Hi All,
    I am creating a report in Analytics 7.9.6.3 , OBIEE 11g - Let’s say Budget Cost/Actual Cost based on the Date Dimension
    Have selected the Fiscal Year Dim, Fact Budget Cost, Fact Actual Cost
    FY BCost ACost
    2011 100 120
    2012 150 140
    Total 250 260
    But here when I am drilling down from Year to Quarter and Period - The values are not matching with the totals....
    FY FY Qrt BCost ACost
    2011 2011 Q1 80 100
    2011 Q2 100 90
    2011 Q3 110 120
    2011 Q4 90 130
    Total 380 440
    Fiscal Year, Fiscal Quarter Budget Cost and Actual Cost are not returning correct results – When selecting cost's by fiscal year, or filtering on a specific fiscal year, the amount returned does not equal the fiscal year total;
    when I am drilling down to Quarter and Period Level the BCost & ACosts are bumping the Numbers as above and not matching with totals
    Any suggestions?

    Check out the query in both the times.Execute against database and try to sum the data for quarter/period and compare it with Year data.
    Just try to differentiate is it a report total that is getting wrong or the data in the database table itself is getting wrong stored.
    Mark as helpful if it helps.
    Regards,
    Veeresh Rayan

  • Totals for CKF are not matching

    Hi All,
    We recently upgraded to BI7 and we created Aggregates in the system. We have few calculated key figures (CFK) in the system. When we execute the queries they are not hitting the aggregates in the system because of the property, calculation before aggregation.
    We changed that property calculation before aggregation to calculation after aggregation then the queries are hitting the aggregates. So we moved the aggregates to BQ and BP. There the values for the totals in the report are not matching. For ex: we have value 10 for a CKF in five rows then the total in the result row should be 50 but that is not the case now, it is showing as 45 or 55 some value. The totals are not matching in all the reports where this CKF is involved.
    But when we keep the calculation before aggregation property as it is, then the total values for this CKF are matching in the report. But now the problem is that the queries do not hit the aggregates.
    So instead of going for a CKF we tried with creating a formula in the query with the same calculation as it is in the CKF, but for that formula also the total values are not matching. When we check and compared the formula calculation with other CKFu2019s in the system, we found out that those CKFs which involved the calculations such as multiplication and division the totals are not matching but if the CKF is containing addition and subtraction then the Totals are matching. This is the same case in across all the systems except in Production.
    We have testing system (BT), which is a copy of production; the totals are matching for this CKF in one report. But if we include the same CKF in some other report then the totals for this CKF are not matching in that report.
    We are unable to figure out why the same CKF with same properties and calculations is not behaving in the same way across all the systems. If anybody comes across such issue please let us know how to proceed further.
    Thanks for your patience.
    Hope for your response...

    Hi himanshu,
    If you are using Addition, subtraction with Multiplication & Division, just maintain all in the Sequence how you required using brackets.
    If you are using formula in Row & Column also try to use formula Collision.
    http://help.sap.com/saphelp_nw04/helpdata/EN/d2/02223c5f00612be10000000a11402f/content.htm
    Regards,
    Rajdeep.

  • Issue in using custom discount condition type in pricing agreement at Service Contract line item level

    Hello
    We are facing an issue while using a Z discount condition type in price agreement at service contract line item level.
    A Z Condition type has been created in ECC and assigned to the pricing procedure. This pricing procedure is downloaded in CRM and determined in the service contract.
    A condition maintenance group using this Z condition type is created in CRM and assigned to service contract item category.
    Condition records are created in CRM for this condition type/condition maintenance group for specific products along with sales org and discount percentage.
    But when the price agreement(using this condition type) is used at the item level of a service contract, the system throws errors (related to product/unit of measure and sales org, even though no issues seem to be there)and thus the price agreement is not allowed to be used.
    If anyone has worked on such kind of scenario, please get in touch, I will share more details for the same. 
    Regards
    Ankit Arora

    Dear Ankit,
    Once the pricing procedure is downloaded, please maintain the document pricing procedure at service contract header level, and maintain the customer pricing procedure at business partner sales area billing data.
    In spro, maintain the pricing procedure for the combination of sales area, document pricing procedure, customer pricing procedure.
    Please crosscheck whether the condition table is active or not.
    Regards,
    Maddy

  • How to get price list line id for service contract line(subline)

    Does some one know how to find a price list line id for service contracts line (sub line)?
    There is actually a column in table okc_k_lines_b which is called price_list_line_id, but it looks like it is never used (all columns values are NULL). I have tried to investigate reprice API's which are used in contracts authoring form, but they are too huge and it didn't lead to nay result. There is a way (bad hack), by calling OKS_QP_INT_PVT.COMPUTE_PRICE it is possible to get price list line id by which contract line is priced, it would be kina fine if I would need to find line id for some rows, but it wont work for thousands!
    Is there some proper way how could I get price list line id by which is service contract line priced?

    Hi,
    Check out the following query that gets the price_list_id on subline_level and more.
    The price_list_Id is stored as a rule.
    SELECT
    chd.contract_number
    , par.party_number
    , par.party_name
    , ldf.pas_nummer
    , ldf.pas_houder     
    , rh.object1_id1 hdr_price_list_id
    , rsl.object1_id1 sl_hdr_price_list_id
    , pld.parkeerterrein
    , msi.segment1
    , sit.description
    FROM
    okc_k_headers_b chd
    , okc_k_lines_b clt
    , okc_k_lines_b cls
    , okc_k_lines_b_dfv ldf
    , okc_k_items cit
    , okc_rule_groups_b rgh
    , okc_rules_b rh
    , okc_rule_groups_b rgt
    , okc_rules_b rtl
    , okc_line_styles_b lst
    , okc_rule_groups_b rgs
    , okc_rules_b rsl
    , okc_line_styles_b lss
    , qp_list_headers_b plh
    , qp_list_lines pll
    , qp_list_lines_dfv pld
    , qp_pricing_attributes pat
    , mtl_system_items_b msi
    , mtl_system_items_tl sit
    , hz_cust_accounts cac
    , hz_parties par
    WHERE
    rgh.chr_id = chd.id
    AND rh.rgp_id = rgh.id
    AND rh.jtot_object1_code = 'OKX_PRICE'
    AND cac.cust_account_id = rtl.object1_id1
    AND par.party_id = cac.party_id
    AND clt.chr_id = chd.id
    AND clt.lse_id = lst.id
    AND lst.lty_code = 'SERVICE'
    AND rgt.cle_id = clt.id
    AND rtl.rgp_id = rgt.id
    AND rtl.jtot_object1_code = 'OKX_CUSTACCT'
    AND cls.cle_id = clt.id
    AND cit.cle_id = cls.cle_id
    AND cit.jtot_object1_code = 'OKX_SERVICE'
    AND cls.lse_id = lss.id
    AND lss.lty_code = 'COVER_ITEM'
    AND cls.id = rgs.cle_id
    AND rgs.id = rsl.rgp_id
    AND rsl.jtot_object1_code = 'OKX_PRICE'
    AND plh.list_header_id = rsl.object1_id1
    AND plh.list_header_id = pll.list_header_id
    AND pll.rowid = pld.row_id
    AND pat.list_header_id = pll.list_header_id
    AND pat.list_line_id = pll.list_line_id
    AND cit.object1_id1 = pat.product_attr_value
    AND cit.object1_id2 = chd.authoring_org_id
    AND msi.inventory_item_id = cit.object1_id1
    AND msi.organization_id = cit.object1_id2
    AND sit.inventory_item_id = msi.inventory_item_id
    AND sit.organization_id = msi.organization_id
    AND sit.language = userenv('LANG')
    AND cls.rowid = ldf.row_id
    Hth,
    Martin
    Edited by: mvdons on 4-sep-2008 2:13

  • How the tax amounts are linked to PO

    hi
      i have created a tax code T1 with ED, Cess and 4% tax.
    when i create a PO with tax code T1 the tax amounts are calculated correctly and brought in PO against a condition type Ztax.
    Now i checked the procedure and ztax is included in the procedure but without any from condition number.
    so i would like to know how the procedure gets the tax amounts in PO.
    is there any separate settings which says that the taxes are to be got from the taxcode in PO.
    please reply
    Raja

    HI Srinivas,,
    By condition number i mean the value that we give in the pricing procedure just next to condition type saying that the particular condition gets the base value from a condition type.
    ex:  for discount condition we give like 10 which means the discount % base value is from PB00 . in this the line number for PB00 will be 10.
    And we are not giving any records in MEK1 for tax since the value gets calculated in the taxcode for every transcation.
    so im wondering whether we need to maintain any records or does any other settings links the value of the taxcode to the  procedure
    thanks
    Raja

  • Open Item and Line Items are not matching

    Hi Gurus,
    I ran the EFT for vendor #1600109 for payment on 10/18/07.  If I run the vendor open items report (ZFI019) for today, it shows the balance net of the EFT that is $203,466 ( $263869 - EFT Value is $60,403). 
    When I ran the vendor line items display (FBL1N), it shows all the invoices including the invoices paid on the Oct 18 EFT $263,869 which is (2034,66+60,403). 
    User wants the open item report should tally the line item display.
    I will assign good points.
    Thanks for your help
    Prashanth

    Hi Gurus,
    EFT is working fine. But the Vendor Open item Report (Custom Report) and Vendor line item report (FBL1N) is different.
    We are looking a balance for a vendor as on 15th where the balances are not matching between the reports but if i run FBL1N on 18th the balances are matching.
    Clearning date is 18th
    Posting Date is 15th.
    Thanks
    Prashanth

  • ETD and Base line are not matching

    Hi All,
    My requirement is in production server, for some invoices the Expected time departure and base line date are not matching,
    What will be the reason behind this? Can you please advice how to approach to this problem.?
    Thanks in advance
    jaya.G

    Hi,
    could you please eloborate the issue?
    Thanks,
    Srinu

Maybe you are looking for