Skip to Content

Rounding Off of wagetype

Dear All,

We have created two wage types with the help of copy & completed all details with posting. Posting & FI side also working fine.

One of the wage types related to additional payment infotype 0015 of few employees. If employees having Leave without pay (LWP), then the payable amount coming into decimal. For example:-

Additional payment =Rs. 12500

Leave without pay days =4

Payable amount = (12500/31)* working days (31-4) =Rs. 10887.0967

Due to this decimal system give the ABAP run time error.

We would like wage type show the complete number, please suggest!

Regards,

Rakesh 

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

8 Answers

  • Best Answer
    Jan 13, 2015 at 10:28 AM

    Dear All,

    while generating the z report,(which is salary register) system shown the ABAP run time error, rest every thing working fine.

    Only problem with z report!

    Please suggest!

    Thank you in advance

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Rakesh,

      Check with your ABAP er he will solve the issue. If decimal point is the issue on the field then they will increase in the report and do the same.

      Hope so it will solve and close thread with correct answer marking.

      Regards,

      Sankarsan

  • avatar image
    Former Member
    Jan 13, 2015 at 06:36 AM

    Go through below link it helps you to resolve the issue.

    Regards

    Venkatesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 13, 2015 at 06:50 AM

    Hi, please check the below link http://scn.sap.com/thread/1506756

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Rajesh,

      As per my understanding that you are getting this decimal amount just after XVAL pcr processing in the INAL subachema.

      Use the below pcr after the XVAL PCR with PIT function will help you to change the decimal to integer value.

      ZTST

      *

        XXXX  (Wage type which is need to make it integer)

                 AMT=  XXXX

                 ROUNDG 100

                 ADDWT XXXX

      YYYY

                ADDWT *

      Check and tell me.

      Regards,

      Sankarsan

  • Jan 19, 2015 at 07:07 AM

    Dear Sankarsan,

    My client wants the wage type round should be on r/3 level, we have created/ copy two new wage type in additional payment infotype 0015.

    Please explain your answer

    Thank you in advance!

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Rakesh,

      Check my 1st reply on your query. I have mentioned the PCR by which you can able to make the nearest integer value of WT.

      Regards,

      Sankarsan

  • Jan 19, 2015 at 07:49 AM

    I am learning PCR,

    please explain your steps

    Thank you,

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Rakesh,

      ZTST

      *

        XXXX  (Wage type which is need to make it integer)   (This is the wage type which would be integer)

                 AMT=  XXXX                                             Taking Wage type amount

                 ROUNDG 100                                            Making Wage type amount to nearest integer

                 ADDWT XXXX                                            Adding updated amount in the same wage type

      YYYY

                ADDWT *

      Hope so it's clear to you now.

      Regards,

      Sankarsan

  • Jan 19, 2015 at 09:26 AM

    Hi,

    We got PCR (screen shot enclosed).

    1. We found through Pe02à /RON enter

    In pcr /RON all the wage type are mentioned.

    Asper my understanding through this way, we can roud  new created wage type can be round.

    Please suggest!

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Rakesh,

      Yes we can. But before that check the wage type value is present in the PCR input table.

      Regards,

      Sankarsan

  • Jan 19, 2015 at 10:07 AM

    Please explain

    (But before that check the wage type value is present in the PCR input table)


    how can i check


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      At the time of schema processing in payroll if you will go to display log and go to pcr line in the schema. You will see three steps are present. One is Input , 2nd is Processing and 3rd is output.

      So if Wage type is present in Input table then pcr will work further in the processing and will give the result in the Output table.

      Got it?

      Regards,

      Sankarsan

  • Jan 19, 2015 at 10:42 AM

    Thank you for your suggestion!

    How to add my wage type in /RON

    suppose wage type 6700 & 6705.

    Thank you in advance!

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      3

      6700

             ROUNDGK100

             ADDWT *

      6705

             ROUNDGK100

             ADDWT *

      Regards,

      Sankarsan