Rounding off salary components in Payresult table

Hi Experts,
I have a query around rounding off amounts in PC_PAYRESULT cluster. The basic pay should be rounded off two places from decimal ( This is done by v_512w_d, changing PC -10 (A)) but for other wage types the rounding of rule is no value post decimal and rounding off the amount after decimal to next number.
Really appreciate any help on the same. Thank you so much for all your support.
Regards,
J
Edited by: jyotsgsap on Aug 1, 2011 1:29 PM

Sorry , in case of wrong communication from my side, when i said about the process class 10  Spec A , it means this is the standrad one which was been provided by the SAP so for the wage types which are in IT0008 if they come into proration (i means PRCL 10 as 1 and if all them has to be rounded off in such cases instead of useing the PCRs we can go with the standrad one so i have said to go in the said manner in the previous thread) in standrad to round off the wage types we have to go with Custom PCRs if you are asking for Wage types in IT008 , 0014 , 0015 Etc
the pcr shd be inserted below XVAL if any or else u can use Spec A for wage types IT0008 , for wage types in IT0014 and 0015 you can use INAP

Similar Messages

  • Rounding of salary components

    Hi Experts,
    I have a requirement of rounding of salary components.suppose my basic salary is 8099.3 then this should be rounded to 8099 in the same way if it is 8099.6 then it should be rounded to 8100.That is if amount is below 0.5 then it should be rounded down if it above 0.5 then it should be rounded up.There should be no decimal's.
    How can i solve this.i have tried to do this through table V_T511 but it is not coming.
    Please guide me in this.
    Regards,
    Jyotesh

    Go through below link.
    EL Encashment Amount Round off
    Further check table V_T511 you will get some idea.
    Regards
    Venkatesh

  • Regarding round off the value in adf table

    HI All,
    My Requirement:
    i have to round off the value after decimal in adf column before saving to data base.
    Excample : 1234.67 = 1235
    34567.89=34568
    34567.34= 34567
    i am using jdeveloper 11.1.1.3.0
    Please can you give code using converter or any other strategy.
    Thanks & Regards,
    Madhu

    1. First of all you asked for rounding off, taking the integer part is not rounding off.
    2. As per the documentation
    integerOnly      boolean      Yes      Flag specifying whether only the integer part of the value will be formatted and parsed. Default value is false.if i can understand correctly pertains to formatting only.
    3. You can create a custom faces converter and add it to faces config.xml http://docs.oracle.com/javaee/1.4/tutorial/doc/JSFDevelop4.html . So that you do not have to write it in code.
    4. If only integer is to be allowed why don't you change the data type to long or int instead of number

  • Round Off Figures in RT (Result Table)

    Can anybody guide me on
    1)How to Roundoff figures which are reflecting in RT .It should be rounded off to nearest rupee.
    We have to write a rule INTR.
    Can anyone guide me on this rule

    Hai..
    U want for all wage types/final net amt?
    anyways here the Rule..
    addwt *
    /559
    ELIMI *
    ROUNDGK100
    RESET *
    ADDWT *
    This is rounding for final net amt...

  • Csv round off error

    I am getting all the values under the channel "calc G level" in the attached csv file as round off value when loaded in Table view in diadem.
    Kindly help to solve this issue.
    Solved!
    Go to Solution.
    Attachments:
    bHard Brake.csv ‏54 KB

    The CSV loader tries to guess the datatype of you column. So in your case it looks at the first lines and guesses int.
    in newer DIAdem versions this was changed to guess double instead of int.
    For DIadem 11.1 dataplugin ight be a solution.
    If you have a lot of those files you can use a dataplugin to access them. In them you can switch the channel type to double and it would work out. If I remember right 11.1 already had the dataplugin wizard that makes generating dataplugins easy.
    Hope this helps a little
    Andreas

  • Rounding of a field in Internal table

    Hi ,
    I have a quantity field(menge)  in an internal table( i_tab) . In a loop at the internal table(i_tab) , I want to round off the quantity to x decimal places . 'x' will be different for each record , depending on some logic.
    Through what syntax do I achieve this ?
    Regards,
    Sujata

    HI,
    Using the write statment, you can write the addition  DECIMALS d
    <b>Effect</b>
    d specifies the number of decimal places for a number field (type I , P or F ) in d . If this value is smaller than the number of decimal places in the number, the number is rounded. If the value is greater, the number is padded with zeros.
    Since accuracy with floating point arithmetic is up to about 15 decimal places (see ABAP/4 number types ), up to 17 digits are output with floating point numbers (type F ). (In some circumstances, 17 digits are needed to differentiate between two neighboring floating point numbers.) If the output length is not sufficient, as many decimal places as possible are output. Negative DECIMALS specifications are treated as DECIMALS 0 .
    <b>Example</b>
    Effect of different DECIMALS specifications:
    DATA: X TYPE P DECIMALS 3 VALUE '1.267',
          Y TYPE F            VALUE '125.456E2'.
    WRITE: /X DECIMALS 0,  "output: 1
           /X DECIMALS 2,  "output: 1.27
           /X DECIMALS 5,  "output: 1.26700
           /Y DECIMALS 1,  "output: 1.3E+04
           /Y DECIMALS 5,  "output: 1.25456E+04
           /Y DECIMALS 20. "output: 1.25456000000000E+04
    <b>and also you can use ROUND</b>
    <b>Effect</b>
    Scaled output of a field of type P .
    The decimal point is first moved r places to the left ( r > 0) or to the right ( r < 0); this is the same as dividing with the appropriate exponent 10** r . The value determined in this way is output with the valid number of digits before and after the decimal point. If the decimal point is moved to the left, the number is rounded.
    For further information about the interaction between the formatting options CURRENCY and DECIMALS , see the notes below.
    &ABAP-EXAMPLE& Effect of different ROUND specifications:
    DATA: X TYPE P DECIMALS 2 VALUE '12493.97'.
    WRITE: /X ROUND -2,   "output: 1,249,397.00
           /X ROUND  0,   "output:    12,493,97
           /X ROUND  2,   "output:       124.94
           /X ROUND  5,   "output:         0.12
    So, in your Loop, use the WRITE TO statment to move the internal table data with the perfect decimal places for each single field in the loop
    Regards
    Sudheer

  • Using round off function in where clause

    Hi All,
    I'm trying to use round off function in where clause, I seek help in completing this script.
    WITH CR_Details AS
    (Select
    request_id,
    parent_request_id,
    fcpt.user_concurrent_program_name Request_Name, phase_code, status_code,
    round((fcr.actual_completion_date - fcr.actual_start_date),3) * 24 * 60 as Run_Time,
    round(avg(round(to_number(actual_start_date - fcr.requested_start_date),3) * 1440),2) wait_time,
    fu.User_Name Requestor,
    fcr.argument_text parameters,
    to_char (fcr.requested_start_date, 'MM/DD HH24:mi:SS') requested_start,
    to_char(actual_start_date, 'MM/DD/YY HH24:mi:SS') ACT_START,
    to_char(actual_completion_date, 'MM/DD/YY HH24:mi:SS') ACT_COMP,
    fcr.completion_text
    From
    apps.fnd_concurrent_requests fcr,
    apps.fnd_concurrent_programs fcp,
    apps.fnd_concurrent_programs_tl fcpt,
    apps.fnd_user fu
    Where 1=1
    and fcr.concurrent_program_id = fcp.concurrent_program_id
    and fcp.concurrent_program_id = fcpt.concurrent_program_id
    and fcr.program_application_id = fcp.application_id
    and fcp.application_id = fcpt.application_id
    and fcr.requested_by = fu.user_id
    and fcpt.language = 'US'
    and fcr.actual_start_date like sysdate )
         select crd.*
         from CR_Details crd
         where Run_time <> '0'
         AND wait_time <> '0'
    GROUP BY
    crd.request_id,
    crd.parent_request_id,
    crd.fcpt.user_concurrent_program_name,
    crd.requested_start_date,
    crd.User_Name,
    crd.argument_text,
    crd.actual_completion_date,
    crd.actual_start_date,
    crd.phase_code,
    crd.status_code,
    crd.resubmit_interval,
    crd.completion_text,
    crd.resubmit_interval,
    crd.resubmit_interval_unit_code,
    crd.description
    Not sure about the GROUPBY function referencing the "crd." .

    Hi,
    The best thing for you to do is start over. Start as small as possible, then take baby steps.
    Pick one of the tables; fcr perhaps, and write a query that just uses that table, like this:
    SELECT    *
    FROM       apps.fnd_concurrent_requests     fcr
    WHERE       fcr.actual_start_date          >= TRUNC (SYSDATE)
    AND       fcr.actual_start_dt          <  TRUNC (SYSDATE) + 1
    ;(I think this is what you meant to do when you said "... LIKE SYSDATE".)
    Make sure this little query gets credible results. When that tiny query is working perfectly, add another line or two. You can cut and paste code from what you posted, if that helps you.
    If you get stuck, post the last version of your code that worked perfectly, and the latest version (only a line or two bigger) that has the problem. Describe what the problem is. If you get an error, post the complete error message. In any event, post CREATE TABLE and INSERT statements for all the tables and columns needed to run the query, and the results you want to get from that query.
    When you post any code, format it, so that how the code looks on the screen gives some clues about how it is working.
    When you post any formatted text on this site, type these 6 characters:
    \(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
    If you going to use the AVG function in the sub-query, then you probably need to do a GROUP BY in the sub-query.
    If you're not using any aggregate functions (like AVG) in the main query, then you probably don't want to do a GROUP BY in the main query.
    I know this is a lot of work.  I'm sorry.  If there was an easier way, I wouldn't ask you to do all this.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Urgent Regarding round off values in script

    Hi Gurus,
    I want to display round off values in total amount . Order conformation
    i wrote one suroutine but it is not working , it is going for dump.
    Eg:- total amount = 10004.49 it should display in 10004.
             total amount                 = 10004.51  it should display in 10005.
    Plz help.
    REPORT  ZVALUES.
    tables:komk.
    form round TABLEs INTAB  Structure ITCSY
                                         OUTTAB structure ITCSY.
    data: w_fkwrt type fkwrt,
             w_fkwr type fkwrt.
    read table intab with key name = 'KOMK-FKWRT'.
    if sy-subrc = 0.
    w_fkwrt = intab-value.
    w_fkwr = ceil( w_fkwrt ).
    outtab-value = w_fkwr.
    condense outtab-value.
    modify outtab transporting value.
    endif.
    endform.
    in layout i call this subroutine like this.
    /:DEFINE &KOMK-FKWRT1& := &KOMK-FKWRT&.
    /:PERFORM ROUND IN PROGRAM ZVALUES.
    /:USING &KOMK-FKWRT&.
    /:CHANGING &KOMK-FKWRT1&.
    /:ENDPERFORM.
    SU Final amount,,,,,,,,,,,,,,,,&KOMK-FKWRT(I13)&
    Thanks & Regards,
    Vamshi

    Use this FM
    CALL FUNCTION 'HR_IN_ROUND_AMT'
      EXPORTING
        amount        = p_amt
        rndoff        = '100'.
       RNDLMT        = 'N'
    IMPORTING
       RETAMT        =
       DLTAMT        =

  • Problem in Routine after rounding off the condition value

    Dear all,
          I have attached the routine for rounding off value for condition value for T.Code va02. Routine is working fine but the problem is after the execution of routine it goes in some standard program LV61AA55 where again the rounded value gets changed . Maximum points will be allocated ..
    Thanks anr Regards

    FORM FRM_KONDI_WERT_925.
    *{   INSERT         D01K911062                                        2
    data : wa_xkomv like xkomv,
            v_kwert like xkomv-kwert,
           W_INDEX  TYPE SY-TABIX.
    read table xkomv into wa_xkomv with key kschl = 'JIN6'.
    W_INDEX = SY-TABIX.
    v_kwert = 1 * wa_xkomv-kwert / 100.
      V_KWERT = WA_XKOMV-KWERT.
    read table xkomv with key kschl = 'JHSC'.
    CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT'
       EXPORTING
         I_AMOUNT                 = v_kwert
       I_AMOUNT1                =
       I_AMOUNT2                =
       I_AMOUNT3                =
       I_AMOUNT4                =
       I_AMOUNT5                =
       I_EXADDTAX1_AMOUNT       =
       I_EXADDTAX2_AMOUNT       =
       I_EXADDTAX3_AMOUNT       =
      IMPORTING
        E_AMOUNT                 = v_kwert
       E_AMOUNT1                =
       E_AMOUNT2                =
       E_AMOUNT3                =
       E_AMOUNT4                =
       E_AMOUNT5                =
       E_EXADDTAX1_AMOUNT       =
       E_EXADDTAX2_AMOUNT       =
       E_EXADDTAX3_AMOUNT       =
    xkomv-kwert = v_kwert.
    xkwert = v_kwert.
    modify xkomv INDEX W_INDEX transporting kwert.
    *}   INSERT
    ENDFORM.

  • Rounding Off is not rounding the net value in Debit/Credit Memo

    Dear Experts,
    Please guide me in the below mentioned situation:
    I have used  "Rounding Off" i.e. DIFF condition type in the pricing procedure and it is giving the desired result. But when I am creating Credit/Debit Memo, the Rounding Off is taking that value which it has taken to round the total value in creating billing document. As a result in many cases, while creating Credit/Debit Memo the Rounding Off is not rounding the net value of the document.
    Please guide me how to solve this problem.
    With regards,
    Jhelum Roy.

    Thank you sir for this information. this is really helpful.
    Further
    My requirement is to capture this rounding value also and show it in the print and carry to GL account. So that client can generate a report on this extra revenue by rounding values.
    I ahve only condition type in my rpicing procedure as per my requirement. details maintained are below
    condition typr: ZPPC
    Mandatory:  X
    print : X
    requirement : 2(Item with pricing)
    cal type: 17 (Rounding as perT001R)
    Acc Key: ERL
    in the table T001R table the calue maintained for Co.Code is+currency is 5(so that system is alsays round up 5)
    tha t means if the value is 26.03 then it will become 26.05. This is working fine. but how to capture this 0.02 seperatly and carry to gl accouns
    Thanks you in advance
    Kiran Musuku

  • Rounding off cuurency value

    hai to all
    could please tell me hoe to round off the NETWR or NETPR value according to our needs,,, if any function module  available
    please,,,

    Hi,
    REPORT ZEXAMPLE.
    TABLES T001R.
    DATA V_AMTOUT LIKE BSEG-WSKTO.
    PARAMETERS P_AMTIN LIKE BSEG-WSKTO.
    WRITE:/ 'Original amount:', P_AMTIN,
          / 'Company', 15 'Currency', 35 'Amount'.
    ULINE.
    LOOP AT T001R.
      CALL FUNCTION 'ROUND_AMOUNT'
           EXPORTING
                AMOUNT_IN  = P_AMTIN
                COMPANY    = T001R-BUKRS
                CURRENCY   = T001R-WAERS
           IMPORTING
                AMOUNT_OUT = V_AMTOUT.
      WRITE:/ T001R-BUKRS, 15 T001R-WAERS, 25 V_AMTOUT.
    ENDLOOP.
    Regards,
    Sudhakar.

  • Loans rounding off

    Hi All
    Could any one please let me know whether we can round off the loan amounts.
    Thanks
    Navya

    Hi
    As you said we have checked the user exit and found the user exit for the below mentioned infotypes only.
    EXIT_SAPLPARA_002 - Exit for Calculating Salary Percentage from IT0008 "Basic Pa
    EXIT_SAPLPARA_003 - Exit for Calculating Salary Percentage from IT0014 "Recurr.
    EXIT_SAPLPARA_004 - Exit for Calculating Salary Percentage from IT0015 "Addition
    Kindly let me know for rounding off the amounts at 0045 infotype level.
    Thanks
    Navya

  • Issue in MODVAT Clearing Account and Rounding off of Excise.

    I have one issue in MODVAT Clearing Account and Rounding off of Excise.
    Example:
    Material cost    100Rs.
    Excise  value
    1. BED             10.5 Rs
    2. ECes             2.1 Rs
    3. HEces          1.3.Rs
    At the time of GR
    Material Ac Dr          100 
         To GR/IR                        100
    At the time of Excise Capture
    We done the rounding of Excise value
    RG23 A  BED         11
    RG23 A  Eces          2
    RG23 A  HEces        1
       To MODVAT            14
    At the time of IR . System create IR with reference of PO
    GR/IR  DR      100
    MODVAT         13.9
        To Vendor         113.9
    So here you can see that there is a difference of 0.1 in MODVAT account and hence we are crediting Vendor  with the lesser amount here with 0.1 RS.
    So we cannot reconcile the MODVAT Account
    Less Payment to vendor by 0.1 Rs
    So is there any solutions on that.
    regards
    Shayam
    Edited by: Shayam_210 on Jan 3, 2011 7:08 AM
    Edited by: Shayam_210 on Jan 3, 2011 7:09 AM

    Hi,
    Check the rounding setting in below:-
    SPRO > Logistics - General > Tax on Goods Movements > India > Basic Settings > Maintain Company Code Settings
    SPRO > General Settings > Currencies > Define rounding rules for currencies
    Regards,
    Gaurav

  • MIRO- excise and VAT duties Rounding off

    Hi all,
    A PO will have 20 items. Those 10 items will have excise duties and VAT amount. At the time of PO these excise duties and the VAT amount should not get rounded off. But while the user is doing MIRO, the value of these excise duties and the VAT amount should come to the screen as rounded off. Is it possible? If yes please suggest me.
    I am Using TAXINN procedure

    Hi girish,
    We can Bring condition  Round Down and Up but we can't do as you said.See some User Exists are available .
    BR
    Raj

  • Round off error?

    Hi,
    I'm playing a little bit with the trial version of Numbers, just to see if my good old Ti is still capable to run it properly before buying a full license of iWorks.
    By the way, it seems like there's some kind of round-off error. Try to build a series as follows: enter -10 in to a cell, then let Numbers build the series using the usual formula "previous cell value - 0.1". Apply a format so that only two decimal values are visible. Drag the formula and build twenty values (just to have some values). Now use the previous series and calculate its squared values. Then select some cells in the squared values column, starting from the first one: as soon as you include the squared value of -9.3 in the selection you will see that the data inspector will show a min value equal to 86.4900000000001 , which should be the squared value of +/- 9.3.
    Now, try to subtract 86.49 to that cell and you will see that the result is not exactly zero: you can try to calculate the inverse of it and, instead of an error, you get a very big (actually, not that big!) number.
    You can easily reproduce this weird behavior if you open Calculator and calculate the squared value of 9.3: until you set the precision up to 14, you get the correct value, you select precision >= 15, you get the round off value.
    So, it seems it is not a Numbers only related problem.
    Just for the record, I've just calculated the same value into Octave, and the result is correct (and different):
    86.4900000000000 (Octave)
    86.4900000000001 (Numbers)
    Yet not so serious, this kind of "numerical noise" might lead to annoying issues...

    HI SIR,
    WE CREATED ONE PO .IN THAT PO ITEM NO2 SHOWING NET VALUE AS 11.63 FOR MATERIAL CS PLATE WHER AS ITEM NO 5 SHOWING NET VALUE AS 11.62 FOR SAME MATERIAL AND SAME PRICING CONDITIONS.
    Hi ,
    Please check in item conditions whether have you entered discount conditions in line itenm 5.
    Regards,
    Vijay

Maybe you are looking for