on 03-22-2017 7:10 AM
We are implementing ESS MSS WDA using SAP EP 7.4 and SAP ECC 6.0 EHP7.
We have a requirement that when applying for a particular type of leave from application 'HRESS_A_PTARQ_LEAVREQ_APPL', field 'Note for Request' (CURR_NOTICE) must be mandatory while it should be optional for rest types of leaves.
We tried using 'Settings for current configuration' but this field becomes mandatory for all leave types.
Kindly suggest.
Regards,
Udit Khera
Hi Udit,
Inside SPRO, you can navigate to Personnel Management --> Employee Self Service (Web Dynpro ABAP) --> Serviuce Specific Settings --> Working Time --> Leave Request --> Business AddIns and implement the BADI given against "BAdI: Control Processing of Leave Requests" option.
Enhancement Spot is PT_ABS_REQ.
Standard Implementing class is CL_PT_ARQ_REQ_EXIT.
Just debug the standard class and check in which method you can implement the check.
Additionally refer to Enhancement Spot PT_GEN_REQ also and debug the standard fallback method "CL_DEF_IM_PT_GEN_REQ".
Do let me know if it works.
Regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Udit,
You might have to enhance the application. Where on submitting the leave, leave type is checked and the along with the field value.
You can then apply the logic of sending an error message for the particular leave type if the field is not updated.
Regards,
Rohit
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.