Skip to Content
0

Note for Request Field Mandatory in Leave WDA application

Mar 22, 2017 at 07:10 AM

88

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Rohit Singhal Mar 23, 2017 at 10:31 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
harish vyas Mar 23, 2017 at 11:26 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded