SAP Payroll – Import Last Result Table (PCR ~ X006)

Hello!

         To suit a particular scenario, sometimes is necessary to import the last result of payroll for a particular employee, to be able to calculate some wage types accordingly the last value paid; the standard Personnel Calculation Rule ~ X006 ~ process last values calculated, whose was imported using the function IMPRT (using the parameter2 with value ‘L’ – Last available payroll result).

         All subschemas are prepared to invoke this PCR (standard gives examples of implementations), like the subschema BRLR from schema BR00 (MOLGA ~ 37):

all-sub

         After processing the function IMPRT is completed, the table ORT is populated with the values paid on the last payroll processed:

         IMPRT ~ LOG View       

         imprt

         Old Result Table    

         ORT.png         

         Using the function PORT, all wage types of ORT are processed on the PCR X006:

         func-port

         The PCR X006 is responsible to process accordingly the Processing Class 06:

         pcr-x006

         Rules of Processing Class 06:

                  ~ If the wage type was configured with the specification 0, then this wage type is not transferred;

                  ~ If the wage type was configured with the specification 1, then this wage type is imported to LRT (Last Result Table);

                  ~ If the wage type was configured with the specification 2, then this wage type is imported to LRT (Last Result Table) only if the previous month (period from ORT imported) falls in the current year;

         After all, the LRT is populated with the relevant wage types and is ready to be used:

         lrt

Regards,

Vinicius T. Ferreira

Advertisements

1 Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s