cancel
Showing results for 
Search instead for 
Did you mean: 

Suppress Payslip (GB)

Former Member
0 Kudos

Hi

We have a requirement to suppress the Payslip where the Net Pay difference between this month's pay and last months pay is less than £5.00. (This is for a Pensioners Payroll where the net pay only changes once a year.)

Any ideas?

We are coping at present by comparing the pay (via Wage Type Reports) and just supplying the changed employees to the print program - is there anything more automatic?

Regards

Rob

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rob,

I presume that you are using PE51 to design the payslip and the program RPCEDTG0 to print the payslips. If this is the case, then you can use the user exit EXIT_RPCEDTG0_001 to compare the current results in RT and the results in ORT and reject the personnel number is the difference is less than £5.00.

Let me know if this works.

Akshay.

Former Member
0 Kudos

Hi

Thanks for the prompt response.

Where do I find that User Exit? (I am not an ABAPer).

Some sample code would be appreciated.

Regards

Rob

Former Member
0 Kudos

Hi Rob,

You can find the user exit in transaction SE37. Unfortunately, I am not an ABAPer as well and hence cannnot advise on some sample code but I am pretty sure that you can do the comparison and reject the employees.

Akshay

Former Member
0 Kudos

Hi

Found it - have you actually used it? Becaue we put a break-point in the function, but the payslip print did not stop. (Wanted to see what sort of return values we could use.)

Regards

Rob

Former Member
0 Kudos

Hi,

Is the user exit been implemented? if not, the program doesn't stop even if you set a break point.

When you display the user exit in SE37, you will find an include ZXRG0U04. Unless you maintain the relevant coding in this include, the program doesn't stop at the breakpoint.

If this does not help, the other option is to use debugger to determine the return values.

Hope this helps.

Akshay

Former Member
0 Kudos

Hi

I have just had some help from our ABAP expert.

We have activated the code and put breakpoints in - but with no success - our program is not getting into that User Exit.

What version of SAP are you running? We are on ERP2005.

The ABAPer did ask if there is a BADi now that replaces that User Exit?

Regards

Rob

Former Member
0 Kudos

Hi Rob,

I checked this on ERP 2005 as well. The user exit is included in the SAP enhancement PC080002. You will need to include this in a project on CMOD and activate the project.

Also, if you look on IMG in the following path, Payroll: Great Britain ->Forms ->Remuneration Statement -> Set Up Remuneration Statement, you will find some documentation on activating the user exit and some BAdIs that you can try.

Hope this helps.

Akshay

Former Member
0 Kudos

Hi

Have finally managed to get the program to go through the User Exit.

The trick is to flag a field with the Conversion rule "G3".

Thanks for your helps.

Regards

Rob