Hi Jaimin,
I recommend you visit this link to learn how to configure alerts and further annex you put this code so that if you need to define the touch 24 hours before the alert I hope you serve,
Triggering E-mail alerts when lead gets assigned to competitor
***********************************************
CALL FUNCTION 'END_TIME_DETERMINE'
EXPORTING
DURATION = 7
* UNIT =
* FACTORY_CALENDAR =
IMPORTING
END_DATE = fecha_fin
END_TIME = hora_fin
CHANGING
START_DATE = SY-DATUM
START_TIME = SY-UZEIT
EXCEPTIONS
FACTORY_CALENDAR_NOT_FOUND = 1
DATE_OUT_OF_CALENDAR_RANGE = 2
DATE_NOT_VALID = 3
UNIT_CONVERSION_ERROR = 4
SI_UNIT_MISSING = 5
PARAMETERS_NO_VALID = 6
OTHERS = 7.
***********************************************
Cheers,
JMP