The below function modules form part of the Instant messaging program for SAP and need to be created within your system as below:
Create function module 'Z_ENQUE_SLEEP'
Instructions for creating SAP function module Z_ENQUE_SLEEP
Create function module 'Z_SEND_MESSAGE'
Instructions for creating SAP function module Z_SEND_MESSAGE