on 08-07-2010 8:44 PM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes it can be done by personalisation, please explore on it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.