cancel
Showing results for 
Search instead for 
Did you mean: 

Medical Accrual PCR

Former Member
0 Kudos

Hi All ,

Medical Accrual for employee stars when he joins and medical insurance paid annualy from jan to dec ... lets suppose if employee join on 01.04 company will pay only 9 month medical insurance primum for that employee and the same amount will be accrued each month

at the moment the pcr dividing the amount to 12 but i want that it should divide it by the no of months employee insurance premium paid for current month and same should be accrued

At the moment the pcr is like this .

ZMED PCR ZMED for Medical Premium

    3

      /101 Total gross amount

        OUTWPPLANT P.area in v.key

          ****

            ADDWT *    OT   Output table

          1000

            ADDWT *    OT   Output table

            AMT= 2030  Set

            NUM=KZMEDI Set

            DIVID ANA  Division amt/no/rate

            ZERO= N    AmtNumRteTime = 0

            ADDWT 2030 OT   Output table

value of KZMEDI IS SET TO 12 IN Constant Table

but i want that if employee join in april it should be 9 months instead of 12.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Try this:

1) Create a new PCR ZVAR to check if an employee has completed 12 or more months in the calendar year. If yes, your existing PCR ZMED will be processed. If no, a new PCR ZME1 will be processed.

Create ZVAR as below, internally if completed months in the calendar year <12, then the no. of completed months gets stored in variable ZVAR :

*

****

ZERO=&ZVAR

NUM=FA NJ

NUM?12

  *

  SCOND=T IF

  <

  SCOND=F IF

  ADDWT&ZVAR

2) Copy ZMED to ZME1 and in ZME1, replace NUM=KZMEDI with NUM=& ZVAR

3) In your schema, wherever ZMED is getting called currently, replace it as below:

IF ZVAR

Call ZMED (use same function to call ZMED as is used currently)

ELSE

Call ZME1 (use same function as currently used to call ZMED)

ENDIF

Sanky
Active Contributor
0 Kudos

Hi,

Currently you are calculating monthly which I think its correct approach.

Now my question is that are disbursing this amount monthly basis or cumulating and paying on the last period or last calendar month I.e. On December month.

Reply me and give some more idea about your business process.

Regards,Sankarsan