cancel
Showing results for 
Search instead for 
Did you mean: 

ESS Payslip Functionality

Former Member
0 Kudos

Hello Community,

Please assist a customer on the following questions:

A) On ESS Paylist there is the link "Show Overview". When clicking on the link it will expand and provide a list

with previous remuneration statements. Is it possible that this link/list is shown in expanded status per default(in standard this link/list is collapsed)?

B) Is it possible to pick the form depending on the period that is being printed?

Thank you all.

Accepted Solutions (1)

Accepted Solutions (1)

MarkusKlein
Active Contributor
0 Kudos

> Hello Community,

>

> Please assist a customer on the following questions:

>

> A) On ESS Paylist there is the link "Show Overview". When clicking on the link it will expand and provide a list

> with previous remuneration statements. Is it possible that this link/list is shown in expanded status per default(in standard this link/list is collapsed)?

>

> B) Is it possible to pick the form depending on the period that is being printed?

>

> Thank you all.

ad B.)

Yes it is possible. For the solution you need two things.

(Implicit) Enhancement to class CL_HRXSS_REM, Method L_SET_CURRENT_PAYSLIP

ENHANCEMENT 1  ZPESS_ENH_REM_VDATE.    "active version
* INS ABNMK190510
  " Der aktuelle Gehaltsnachweis (Index) ist für Auswertung in
  " Merkmal HRFOR zu sichern

  data lo_rem_vdate type ref to zp_cl_ess_rem_vdate_api.

  lo_rem_vdate = zp_cl_ess_rem_vdate_api=>get_instance( ).
  lo_rem_vdate->set_current_period_indx( a_frontend_index ).

ENDENHANCEMENT.

This implementation just stores the index of the current selected period in a attribute of my own class (singleton).

Using a program in feature HRFOR iinstead of the static HRForms return parameter

*&---------------------------------------------------------------------*
*& Report  ZPA_PAYSLIP_HRFOR
*&
*&---------------------------------------------------------------------*
*& Report für das Merkmal HRFOR (Gehalstnachweis)
*&
*&---------------------------------------------------------------------*

report  zpa_payslip_hrfor.
*&---------------------------------------------------------------------*
*&      Form  EXT_CALL_F
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*  -->  NAMEN        text
*  -->  STATUS       text
*  -->  PME95        PME95
*  <-->  BACK        text
*----------------------------------------------------------------------*
form ext_call_f using namen back status pmehf structure pmehf.

  " INS ABSMK190510
  data lo_rem_vdate type ref to zp_cl_ess_rem_vdate_api.
  data lv_hrform type hrf_name.

  " Handler ermittelt
  lo_rem_vdate = zp_cl_ess_rem_vdate_api=>get_instance( ).
  " Formular ermitteln
  lv_hrform = lo_rem_vdate->get_form( ).

  back = lv_hrform.


endform.                    " EXT_CALL_F

MarkusKlein
Active Contributor
0 Kudos

Sorry i have to split my post, not to get a mess in my layout.

...

To make it customizable by the user iteself i hve created a tiny customizing table.


100	****	                        01.03.2010	19.07.2010
100	ZPC_PAYSLIP	        01.01.2007	30.06.2010
100	ZPC_PAYSLIP_P	01.07.2010	31.12.9999

Here you see that you have different HRForms depending on different periods. So whenever a user navigates through its payslips from periods 01.01.2007 to 30.06.2010 the HRForms ZPC_PAYSLIP is used. Starting from 01.07.2010 it uses ZPC_PAYSLIP_P.

Answers (2)

Answers (2)

Former Member
0 Kudos

For A) you need to modify existing ess~payslip WD application using NWDS-NWDI.

For B). as Suresh already said, will need enhancements in the backend..there's a Badi already

avaliable for payslip functionality..not sure if it can be used in your scenario

cheers~

avadh

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

Yes it can be done by personalisation, please explore on it

suresh_datti
Active Contributor
0 Kudos

I don't think 'B' is possible via Portal personalization. It would need an enhancement in the backend to dynamically change the (smart)form based on period.

~Suresh

clwalker
Participant
0 Kudos

I have used personalisation before on other iviews. But for this I can not find an obvious way of using it to have the overview open as default rather than the overview link.

Please can you expand further where in personalisation this is?

Regards

Claire