Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BADI Leave Request

Good Afternoon,

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

Leave Request

comment that the issue was solved with the following wiki.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erphcm/validations%2bfor%2bess%2bleave%2brequest

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

EXPORTING

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'.

Regards.

Not what you were looking for? View more on this topic or Ask a question