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.
> 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
Yes it can be done by personalisation, please explore on it
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
Add a comment