cancel
Showing results for 
Search instead for 
Did you mean: 

View payslip 4days before the paydate in ESS

Former Member
0 Kudos

Hi,

I guess SAP's standard is to filter and will allow to display the payslip on ESS only 3days before the paydate.We need to have our paystubs displayed 4days before the paydate. I guesss, there is some kind of filtering through a exit or a BADI to handle this dates (3 dates) by sap. I need to have our new functionality.

Where can I make this changes? any clues please?

Thanks,

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert

please verify the method PROVIDE_FILTERED_RGDIR of BADI,

XSS_REM_INTERFACE. You need to use the BADI

please refer to note 901850 for details on how to implement this BADI.

Former Member
0 Kudos

Thanks sikhil and sidharth...

I am in a bit confused when I saw that note. I am not able to understand the way its put there. Would you so please be kind in explaining that more detail way.

Thanks

Kiran

Answers (7)

Answers (7)

Hamad
Explorer
0 Kudos

I did post but still waiting for response :disappointed_face:

Hamad
Explorer
0 Kudos

I am trying to Validate PaySlip for last month on ESS Portal. i need to display last month payslip to user after 15 days of payroll run i used below BADI but external break point is unable to reach that part of code. It make sense it is not useful for current issue. .. Looking for the better solution. Advance Thanks.

method IF_EX_XSS_REM_INTERFACE~PROVIDE_FILTERED_RGDIR.data wa_rgdir type pc261.loopat IM_IN_RGDIR into wa_rgdir.IFsy-datum - wa_rgdir-fpend  GE15.append wa_rgdir to EX_FILTERED_RGDIR.ENDIF.endloop.endmethod
ChrisSolomon
Active Contributor
0 Kudos

That post was from 2009! You might want to create your own/new question so it gets visibility.

Former Member
0 Kudos

Our requirement is to view the payslip 4 days prior to the pay date. We have already implemented the BADI XSS remittance PROVIDE_FILTERED_RGDIR method .

We had run the payroll for the current month(April). The pay date is 15th of April. Though I have changed the newest_date to sy-datum + 4 (today's date 11 + 4 = 15) so that the entry gets into EX_FILTERED_RGDIR, we are unable to get the current month payslip. From Portal ESS, the current month pay slip displayed is blank and when previous statement button is clicked, the month of march payslip is displayed correctly. When checked the same from ECC, the current month is getting displayed correctly.

loop AT IM_IN_RGDIR into wa_rgdir .

newest_date = sy-datum + 4.

If wa_rgdir-paydt GE newest_date

append wa_RGDIR TO EX_FILTERED_RGDIR.

ENDLOOP.

Can you please help me in this regard.

Former Member
0 Kudos

Hi,

We have similar query. Client is implementing ESS Ehp6 in portal 7.3. Payslip is displaying in portal properly.

SAP has given four values in selection dropdown as follows

1. All Available

2. Last 3 Months

3. Last 6 Months,

4. Last 12 Months

Last three are self explanatory, but what is definition of option "All Available"?

Does it mean all payslip available in system ? say for example will it shows last 5 years payslip in portal(assuming payroll is run and data is present in ECC system) ?

Thanks and Regards,

Sayed

Former Member
0 Kudos

Hi,

Donu2019t implement any NOTE ...

Follow what I suggested..

In my project I had same requirement I implement the BADI and its working fine..

Just copy and paste the coding what I written in Method of the BADI .

Activate the BADI it will work fine.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

Note 901850 lists all the steps on how to go about it, Well it should help Read it

Former Member
0 Kudos

Hi

Displaying pay slip is a standard Webdynpro application and for this application there is SAP inbuilt check.

The Pay slip will not display on portal until the Pay date of the current month is crossed. The pay date in our case is 30th April 2009 for current month.

The system will display current month Pay slip on the portal after 30th April 2009 which is correct.

The salary slip gets displayed in Old ESS System because it is ITs base system, when user click on pay slip itu2019s calling SAP Back u2013End Transaction u201CPZ11_PDFu201D and for that there is no any SAP standard check for displaying the Pay-Slip.

Logically User should not able to see current month salary for which the Pay Date is 30th April 2009.

But, if we need to display current month Pay Slip then we needs to implement following BADI.

BADI Name

Definition Short Text

XSS_REM_INTERFACE

Edit Settings for Salary Statement

in this badi click upon PROVIDE_FILTERED_RGDIR method and give following coding its will display salary for current month

method IF_EX_XSS_REM_INTERFACE~PROVIDE_FILTERED_RGDIR.

data : wa_RGDIR type pc261.

loop AT IM_IN_RGDIR into wa_rgdir .

append wa_RGDIR TO EX_FILTERED_RGDIR.

ENDLOOP.

endmethod.

Former Member
0 Kudos

Thanks Vivek. But as we wanted specifically only for 5 days, I had to follow the note.

and modified this stmt for my requirement.

newest_date = sy-datum + 5.

Thanks

Kiran

Former Member
0 Kudos

Hello Kiran,

Please take a look at the PROVIDE_FILTERED_RGDIR method in the XSS_REM_INTERFACE BAdI.

Regards,

Shikhil