BADI Leave Request
I have an issue with a type of leave, where one employee can not request more than 3 consecutive days for the service of ESS Leave Request.
In this link comment that was solve with the link of above
comment that the issue was solved with the following wiki.
The question is What method have that use?
the BADI pt_abs_req in the method
IF_EX_PT_ABS_REQ~CHECK_TIME_CONSTR_FOR_SUBTY and after used
CALL METHOD MESSAGE_HANDLER->ADD_MESSAGE
IM_TYPE = 'E' "Type of Message
IM_CL = 'XXX' "Message class that you created
IM_NUMBER = 'XXX' "Message no
IM_PAR1 = 'SIMULATE_VIA_BLOP'
IM_PAR2 = 'IF_EX_PT_ABS_REQ~SIMULATE_VIA_BLOP' "Method name as in your impl.
IM_PAR3 = 'BLOP'
IM_CONTEXT = ''
IM_SUBCONTEXT = ''
IM_CLASSNAME = 'CL_PT_ARQ_BLOP_ADAPTER'
IM_METHODNAME = 'MESSAGE'.