Rounding of sales tax at header level

HI
I want to roundoff tax at header level . we already using the tax rounding off at item level .
But new requirement is instead of Item level roundoff , they want the roundoff at header level
Plz provide solutions

Hi
U have 2 options
1. Conversion rule(OY04)
2. SPRO-Ref IMG-Global setting Data- Conversion  Rule
or once u r maintaining the condition record for Tax value (FV11/ vK11/Vk19)
there u can find rounding rule.
thanks
mk

Similar Messages

  • Clearing Sales Tax at Header Level in an Order

    Hi,
    I have a requirement to not charge any tax on an order if the credit card used on the order is a government credit card. Currently I have implemented this logic in USEREXIT_SAVE_DOCUMENT_PREPARE. I am able to clear out the sales tax at the line level but this change does not reflect at the header level. I have to manually click on update pricing to zero out the tax displayed at the header level. I could not find a variable to tap into header level pricing condition and tax value field.
    I would greatly appreciate if any one can give me some pointers on where to look for header level data for tax. Also, is there any better user exit to implement this functionality.
    Folliwing is the code I am using to clear out line item level tax:
              LOOP AT XKOMV INTO WA_XKOMV WHERE KSCHL EQ 'UTXJ'.    "GET THE TAX CONDITION
                  CLEAR WA_XKOMV-KWERT.                               "Set the TAX to 0
                  CLEAR WA_XKOMV-KAWRT.
                  CLEAR WA_XKOMV-KBETR.
                  MODIFY TABLE XKOMV FROM WA_XKOMV
                    TRANSPORTING KWERT KAWRT KBETR.
              ENDLOOP.
              LOOP AT XVBAP INTO WA_XVBAP.    "GET THE TAX VALUE
                  CLEAR WA_XVBAP-MWSBP.                               "Set the TAX to 0
                  MODIFY TABLE XVBAP FROM WA_XVBAP
                    TRANSPORTING MWSBP.
              ENDLOOP.
    Thanks,
    Paresh

    Hi,
    In the case of sales cycle, All the item level taxes are summirised and come to the header level. So we can't find the conditions at header level for taxes. Check the user exit , because, the values are already moved to the header level structure and then you are clearing the item level taxes. I hope thats why the changes are not reflected in header level.
    Regards,

  • Delete sales employee in header level with BAPI_CUSTOMERQUOTATION_CHANGE

    hi  experts,
    I try to delete sales employee in header level, but i always get the error message:
    FB call: insufficient parameters
    The sales document is not yet complete: Edit data
    Sales document 0007002015 was not changed
    Please give a light  how to delete sales employee successfully . Thank you very much!!
    My program:
    REPORT z_test_change_partner .
    DATA:
          order_header_inx LIKE bapisdh1x,
          order_header_in LIKE bapisdh1,
          return LIKE bapiret2 OCCURS 0 WITH HEADER LINE,
          quotation_item_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE,
          partners LIKE bapiparnr OCCURS 0 WITH HEADER LINE,
          partnerchanges LIKE bapiparnrc OCCURS 0 WITH HEADER LINE
    order_header_inx-updateflag = 'U'.
    quotation_item_inx-updateflag = 'U'.
    quotation_item_inx-itm_number = '000010'.
    APPEND quotation_item_inx.
    CLEAR partners.
    partners-partn_role = 'VE'.
    partners-partn_numb = '00001000'.
    APPEND partners.
    CLEAR partnerchanges.
    partnerchanges-document = '0007002015'.
    partnerchanges-itm_number = '000000'.
    partnerchanges-updateflag = 'D'.
    partnerchanges-partn_role = 'VE'.
    *partnerchanges-p_numb_old = '00001111'.
    *partnerchanges-p_numb_new = '00001000'.
    APPEND partnerchanges.
    CALL FUNCTION 'BAPI_CUSTOMERQUOTATION_CHANGE'
      EXPORTING
        salesdocument                = '0007002015'
       quotation_header_in          = order_header_in
        quotation_header_inx         = order_header_inx
      SIMULATION                   =
      BEHAVE_WHEN_ERROR            =
      INT_NUMBER_ASSIGNMENT        =
      LOGIC_SWITCH                 =
      NO_STATUS_BUF_INIT           = ' '
      TABLES
        return                       = return
      QUOTATION_ITEM_IN            =
       quotation_item_inx           = quotation_item_inx
       partners                     = partners
       partnerchanges               = partnerchanges
      PARTNERADDRESSES             =
      CONDITIONS_IN                =
      CONDITIONS_INX               =
      QUOTATION_CFGS_REF           =
      QUOTATION_CFGS_INST          =
      QUOTATION_CFGS_PART_OF       =
      QUOTATION_CFGS_VALUE         =
      QUOTATION_CFGS_BLOB          =
      QUOTATION_CFGS_VK            =
      QUOTATION_CFGS_REFINST       =
      SCHEDULE_LINES               =
      SCHEDULE_LINESX              =
      QUOTATION_TEXT               =
      QUOTATION_KEYS               =
      EXTENSIONIN                  =
    LOOP AT return.
      WRITE / return-message.
    ENDLOOP.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       wait          = 'X'
    IMPORTING
      RETURN        =

    Hi Edith,
    Thank you very much for your reply.
    I changed my program by following your steps in the reply. Now the BAPI is showing error messages: "Instance 7200000060 of object type PurchaseOrder could not be changed" and "Price without service not allowed".
    Please refer my code below.
    poitem-po_item = '0010'.
    poitem-pckg_no = '0000001964'.
    poitem-item_cat = '9'.
    APPEND poitem.
    poitemx-po_item = '10'.
    poitemx-po_itemx = 'X'.
    poitemx-pckg_no = 'X'.
    poitemx-item_cat = 'X'.
    APPEND poitemx.
    Parent line
    poservices-pckg_no = '0000001964'.
    poservices-line_no = '0000000001'.
    poservices-ext_line = '0000000000'.
    poservices-subpckg_no = '0000001965'.
    poservices-matl_group = '01040107'.
    *poservices-delete_ind = 'X'.
    *poservices-quantity = ' '.
    *poservices-base_uom = ' '.
    *poservices-gr_price = ' '.
    APPEND poservices.
    CLEAR: poservices.
    Child line.
    poservices-pckg_no = '0000001965'.
    poservices-line_no = '0000000002'.
    poservices-ext_line = '0000000010'.
    poservices-quantity = '1'.
    poservices-service = '000000000005000010'.
    poservices-base_uom = 'EA'.
    poservices-gr_price = '150'.
    poservices-subpckg_no = '0000000000'.
    poservices-matl_group = '01040107'.
    poservices-delete_ind = 'X'.
    APPEND poservices.
    CALL FUNCTION 'BAPI_PO_CHANGE'
      EXPORTING
        purchaseorder = '7200000060'
      TABLES
        return        = return[]
        poitem        = poitem[]
        poitemx       = poitemx[]
        poservices    = poservices[]
        posrvaccessvalues = posrvaccessvalues[].
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Revanth

  • Billing plan (Downpayment) for saved and open sales orders at header level?

    Hi gurus,
    I have configured billing plan in my SD environment at Item Level.
    I want to change it to header level.
    Questions:
    1- When I make the changes to update the system to have billing plan at header level for future sales orders, is that possible for me to change all my saved orders and open orders with the new settings so that I can also have those saved and open orders with a billing plan at item level?
    2- If that scenario is not possible, could we for example copy the data of a previously saved or open sales order into a new sales order with the new customizing (Billing plan at Header level?)
    Thanks for your input
    Kind regards
    Chris

    Hi
    I am afraid you cannot do that converstion for the existing orders. BP at header level are enabled at teh document type level, while BP at item level is done at item category. So both are independent. Mostly it is advisabel to use BP at item level only.
    If you are already using item level BP, and want to mvoe to header BP, then only future transactions can be executed with BP at header level. Existing item level BPlans will remain so in the system.

  • Deactivating Ship to party as mandatory in sales order create-header level

    Hi,
    I have tried to deactivate the Ship-to-paty as mandatory function,like i don't want to have a ship to party under the sold to party in the sales order header as a mandatory field.
    To do this i have removed the partner function SH assignment with KU and 07 in the partner procedure for Sales doc header, and now in the sales order it is not a mandatory function.
    But the issue now here is, there is not partner function SH in item level also.
    can u pls suggest
    SR

    Hi,
    That is not correct process, U are deleting entire partner function from sales order..
    I think what u are asking is while creating order system is showing Ship to party is mandatory. If u want to delete this message then u have to change the Incomplete procedure for that sales order doc type.
    Please select that Incomplete procedure in IMG configuration there u just made this ship to party field as optional and dont put it as mandatory then try to create order. It will take data with out ship to party..
    ( Hope u know how to go through Incomplete procedrue steps )
    Please let us know if u still get issue once u do changes in incomplete procedure..
    Regards
    Sankar

  • PO no.& PO dt. to be copied from contract to sales order at header level??

    Hi,
    I have a requirement, Purchase Order number & date has to be copied to the sales order (header fields below the SP & SH fields) when i create a sales order with reference to a contract. Can you tell which routine to be used in copy control??
    Thanks
    Ghanesh
    Edited by: Ghanesh Visu on Feb 16, 2010 9:17 AM

    Hi,
    I as far as my understanding you have to create new routine or copy from existing and modify that
    and maintain condition P.O & Date should not be change.
    Kapil

  • Copy Billing plan from Quation to Sales order at header level

    Dear Gurus,
    I am using custom routine (600) to copy Billing plan from Quotation to Sales Order.
    I used following code to copy Billing plan.
    LOOP AT CFPLT.
    MOVE-CORRESPONDING cfplt TO FPLT.
    CLEAR FPLT-FPLNR.
    FPLT-FPLNR = FPLA-FPLNR.
    MOVE-CORRESPONDING FPLT TO XFPLT.
    XFPLT-UPDKZ = 'I'.
    APPEND XFPLT.
    CLEAR XFPLT.
    ENDLOOP.
    UPD_FPLT = 'I'.
    I also tried with CFPLA instead of CFPLT.
    Using this code all line item Billing plan is coping into header Sales order Billing Plan (Duplicating records). When I save and come back it is giving Express Document error.
    I could not able to save document.
    Please guide me this regards.
    Thanks,
    Vasanth.

    Hello Nag,
    Did you check your copy control routines in transaction VTAA? You need to see if these fields are included in the routines maintained for copy control between your contract and sales order.
    I hope this helps.
    Best regards,
    Ian Kehoe

  • Rounding at Header Level in Sales order

    Hi all SD Expert,
    Question:
    Can rounding mechanism be applied at Header level in Sales Order?
    Summary:
    The government of Malaysia have implemented the rounding mechanism to the nearest multiple of 5 cents over the counter transaction. This mechanism shall apply to the total amount of a bill.
    Example:
    - $1.01 or $1.02 will be rounded down to $1.00
    - $1.03 or $1.04 will be rounded up to $1.05
    - $1.06 or $1.07 will be rounded down to $1.05
    - $1.08 or $1.09 will be rounded up to $1.10
    refer http://www.bnm.gov.my/index.php?ch=209&pg=657&ac=567 for more info
    My Problem:
    SAP Note 1165950 suits well enough for 1 item per sales order.
    Example:
    Total Bill =  $1.38 (posted to a dedicated G/L account)
    Rounding Adjustment = +0.02 (posted to a dedicated G/L account)
    Total customer to pay = $1.40
    But, if I have 2 or more item per sales order, my rounding mechanism does not meet the requirement. Example:
    Item 1:
    Total Bill =  $1.38 (posted to a dedicated G/L account)
    Rounding Adjustment = +0.02 (posted to a dedicated G/L account)
    Total customer to pay = $1.40
    Item 2:
    Total Bill =  $1.38 (posted to a dedicated G/L account)
    Rounding Adjustment = +0.02 (posted to a dedicated G/L account)
    Total customer to pay = $1.40
    Total Item 1 + Item 2 shown in header level  = $2.80
    In Header Level, the rounding figure shows +0.04 (rounding adjustment item 1 + item 2). I dont want my sales order to round the value at item level.
    The correct calculation to suit the regulation is:
    Item 1 + Item 2: $1.38 + $1.38 = $2.76
    Rounding Adjustment at Header: -0.01
    Total customer to pay = $2.75
    can someone help me?
    TQ
    Ezwardi

    Dear Tengku
    Please try with this.
    Go to V/08, for the net value field, maintain Routine 16 in the Alt. Cal. Type. Also add Routine 17 to Netvalue.
    As you know Condition types are assigned at each item level. So rounding off is calculated at each item level. But by assigning a tick in the Group Condition while defining Rounding off Condition, you can do rounding off at invoice level. The difference is automatically adjusted at each item.
    thanks
    G. Lakshmipathi

  • BADI for sales order header level data

    Is there any BADI which will give me the sales order header level data? I need net price of the sales order in header level. KOMK structure does not contains the net price value.

    My requirement is:
    I am writing a pricing routine for calculating ZSMR condition value in sales order header level. The formula for calculating is (NET PRICE / NET SALES COST) / NET PRICE.
    I can't use VBAK  because I have not saved the sales order yet. I need to use some structure.
    Which structure contains the net price of the sales order in header level. KOMK structure does not contains the net price value.
    Edited by: dossgs on May 21, 2010 4:08 PM

  • Which structure field contains the header level net price of sales order ?

    Hi Friends,
    I am writing a pricing routine for calculating ZSMR condition value in sales order header level. The formula for calculating is   (NET PRICE / NET SALES COST) / NET PRICE.
    Which structure contains the net price of the sales order in header level. KOMK structure does not contains the net price value.
    Any ideas is highly appreciable.
    Thanks,
    Sakthidoss.

    Sivanand,
    I can not use VBAK as I have not saved the sales order yet and before that I need to calculate the pricing condition. In the sales order header level, net price is showing. I want to know which structure contains that net price value.
    You have any thoughts whether I am in correct path?
    I will certainly appreciate your help by rewarding points.
    Edited by: dossgs on May 20, 2010 2:13 PM

  • Header level pricing is not triggered

    Hi
    I am facing problem when I change some line item data on my sales transaction then header level pricing is not triggered though system triggers line item pricing and all the line item condition types are calculated but header condition types are not calculated.
    Would you please let me know how can I trigger my header level pricing.
    Regards
    Javed

    Hi Javed,
    As I understood your problem, the item level condition types are calculated and condition records are fetched while the header level conditions are not calculated. This is a strange thing because the pricing procedure associated with the document will have condition types marked relevant for header and item level. Depending on these and the formulae associated with the condition types in the pricing procedure, IPC calculates the condition values and are summed up as different items at the header level.
    I would suggest you to to switch on the debugging parameter for your user id and try to debug to check condition types failing at the header level.
    Regards,
    Pavithra
    **PS : Please reward points if you find this useful.

  • Sales Tax Calc (Line Item level calc versus header level calc)

    Hello,
    My company utilizes vertex to calculate sales and use tax in our sales orders that are created via resource related billing (DP96).
    We store tax code O1 using condition type UTXJ for each SD Contract.
    Condition types XR1 thru XR6 receive the sales tax calculations/amounts from vertex for EACH line in the billing request.
    See below example of calculated tax amount per line item
    Line1 of Bilreq:   NetVal  2.25     X tax rate for XR1 .05  = sales tax of 0.11  (rounded up to 2 decimal places)
    Line2 of Bilreq:   NetVal  2.25     X tax rate for XR1 .05  = sales tax of 0.11  (rounded up to 2 decimal places)
    Totals                             4.50                                                                  0.22
    When our invoice(billing document) is sent to our customer which shows just totals our customer sees:
    Net Amout:  4.50
    tax rate .05
    Sales Tax Amt:  0.22
    When our customer multiplies 4.50 by .05 they come up to 0.23
    So they are questioning why the calculation is incorrect and they want it to match to the penny.
    Anyone have any suggestions to solve this problem.
    Any help is greatly appreciated.
    Thanks,
    Ermanno Incollingo

    Hello Ermanno
    Does your pricing Procedure have condition type DIFF just after the tax conditions XR 1-6?  If not, please review standard pricing procedure RVAXUS ( Step 917).
    Also try to use condition types NETP and PNTP  as described in OSS note  80183 - Rounding.
    Hope this helps. Thanks.

  • Rounding Up to be done at Header Level.

    Hi experts,
    I want to carry out rounding up at header level where there will be a multiple line items.
    E.G. Condition type JEXP (BED) is a item condition . There are two line items in a sales order and duty applied is Rs. 1.40 per item. Now system is carrying out rounding up at item level i.e. Rs. 1.40 is taken as Rs. 1per line item and total duty becomes Rs. 2 . Instead it should be Rs. 2.80(Rs. 1.40 per item) and after rounding up it should  be Rs. 3. Same rounding should be carried out for all condition type.
    Please guide on the same.
    Regards ,
    Pallavi

    Hello,
    You cannot do Rounding-up at Header level for Item level conditions.
    If you have Header Conditions, you can do Rounding at Header Level.
    What you can do is setting Rounding for your Condition Type at Item Level (by Rounding Rule in Condition Defination) & also by applying a Routine 13.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • User exit for pricing to calculate net sales value and tax at billing level

    Hi,
    Can anyone give the solution for below thing.
    I have written the code for to calculate the net sale a value and tax value based on condition types YTN1 & YTN2 and with pricing procedure "ZXTNIC"  under   user exit "userexit_field_modification"  in include program LV69AFZZ
    Calculation as per below
    FD:
    The user exit will run on the values of the line item and the header of the pricing conditions
    The user exit will subtract the current net value from the value of the conditions YTN1 & YTN2, also the Tax value will be added to the value of the conditions YTN1 & YTN2.
    Need the Net value = 8,032 and not 8,882  " here 8832 value is before calculation
    This value will be calculated as follows = Current Net u2013 YTN1 u2013 YTN2 = 8,882 u2013 0,773 u2013 0,077 = 8,032
    Need the Tax value = 2,395 and not 1,545  " here 1545 value is before calculation.
    This value will be calculated as follows = Current Tax + YTN1 + YTN2 =     1,545 + 0,773 + 0, 077 = 2,395
    When i will execute the VF01 transaction there in initial screen values are not updating automatically.Once we will select item line and  then clicking on " item pricing condition" icon i.e., item level , then only the values are updating both in item level and header level.
    But when we will execute the VF02 and VF03 the values are updating automatically as per condition.
    So please suggest me is there any exit for this requirement.
    Regards,
    Jayaram

    Hi,
    You should implement your logic in VOFM Copying routine for billing document.
    Regards
    Prasenjit

  • Discount at header level not getting printed when tax exempted.

    29.09.2008
    Hi friends,
    I have incorporated Header discount in my Sales Order. Since there are no deliveries, invoices are printed against Sales Orders. The invoice output shows the discount if the tax classification of the customer is 1 (Liable for taxation). But strangely if the customer is exempted from tax, the discount entered at the header level is not printed on the output even though i can see the discount  computed in the invoice.
    Please suggest how i can sort this problem out.
    Regards,
    Udaynath.

    Thanks Khaled,
    but it does not work bcos as the item category group LUMF takes the price for the component (and the header price is not displayed), then if I set up the price ref. mat. of the components to be the header, the total value of the order will be zero (since price of the header material is zero).
    Any other idea?
    I was thinking in creating a rule to apply the discount of the header condition at the sub-item conditions, but I am not sure whether this can be done.
    Regards
    Julian

Maybe you are looking for

  • Regarding /564

    Hi All,   Where is the Wage Type /564(advance payment) formed in the Payroll Driver?

  • Start date mismatching

    Dear all, When we create organizational unit the system should take the date of companies incoporation , when I create jobs or position for that Org unit then the orgnization unit, jobs, positions date is automatically taking different date only for

  • RMAN Backup for Failover_Yuvi

    Hi All Pros, I am a newbie in Oracle, presently using Oracle 11g XE. Just wanted to know that if i can create a Clone copy of Database to other physical server from the Backup taken by RMAN Script provided by default Start>All Programs>Oracle DB 11G

  • Condition ZJBX is missing in pricing procedure A V

    SAP Master, I have met one Error in 'VF01'. If I put Condtion Type 'ZJBX' in required cell. It Produce the Error that is "Condition ZJBX is missing in pricing procedure A V". Please, Give me Solution. <u>Error Document Message:</u> Condition ZJBX is

  • New iCal issues on iPad

    after updating to new iCal, most birthdays show up as duplicates. Genius Bar associate was not able to resolve issue and to wait up