cancel
Showing results for 
Search instead for 
Did you mean: 

Note for Request Field Mandatory in Leave WDA application

0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member213219
Participant
0 Kudos

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

rohit_singhal
Active Contributor
0 Kudos

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