How to make Payslip available only from day 20 onwards in Portal
Hello, I have to make the payslip available only from day 20 onwards, right now it's already available (June) and that cannot happen.
How can I make this?
Implement badi XSS_REM_INTERFACE and in the method PROVIDE_FILTERED_RGDIR write a piece of code like:
data wa_rgdir type pc261.
data: l_date type datum.
loop at IM_IN_RGDIR into wa_rgdir.
l_date = wa_rgdir-fpend - sy-datum.
*payslip visible 10 days prior
if l_date < 10.
append wa_rgdir to EX_FILTERED_RGDIR.
The above code is for the payslip to be available 10 days prior to payroll run.