cancel
Showing results for 
Search instead for 
Did you mean: 

operation in payroll side for identify current payroll period

Former Member
0 Kudos

Hi Friends,

I need an operation in payroll side for identify current payroll period Based on T549Q, same as hrs=bcurmo in PT side.

I appreciate your help in advance.

Best Regards,

Leial

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thanks a lot for replies:

Scenario is as below:

if period=07 in t549q then num=Gksoll -1

i need an operation to determine this command in custom PCR,

It seems that can't use mentioned operations

Best regards,

Leila

Sanky
Active Contributor
0 Kudos

Hi Leila,

Build you pcr like below and check it's giving an output to you or not.

ZNP1

*

****

      CMPER MM07

            *

                  (insert rest logicfor other period's)

             =

                  (Insert your modified logic for period 07)

                  NUM=GKSOLL

                  NUM-1

Regards,

Sankarsan

Former Member
0 Kudos

Sankarsan,

Thank you for correct answer.

My issue has been solved.

Best Regards,

Leila

Answers (2)

Answers (2)

jagan_gunja
Active Contributor
0 Kudos

In Payroll. decision operation RETRO returns Y if the payroll is being run for a previous period;  in the current period, it returns N.

Function IF with par 2 = R, can be used as a schema function.  It returns yes for retro.  This can be seen in the sub-schema XPDD, QSRV, XRET, Taxation sub-schema, etc.

Similarly IF    O for original pay period, reurns Yes.

Payroll operation CMPER can be used to check if a specific pay period is past.

For example CMPER 0715 means compare current for-pay period with period 2007.15.

It can be used in other ways also.  Go to PE04 and enter op'n name and press Help key to understand different ways of use.

Sanky
Active Contributor
0 Kudos

Hi,

Check the operation CMPER.

Regards,

Sankarsan