ESS payslip display on Payroll period exit ( ITS)


We have ESS salary slip displayed on Portal. I want the salary slip to be displayed to ES users only when payroll is complete I have read that this can be accomplished by using XSS_REM_INTERFACE Badi.

Has any one implemented the same ? I would apprecaite if any pointers are provided.