'SAP_WAPI_CREATE_EVENT' is not creating mail
I am currently working on a requirement in which a mail has to be sent using workflow to the initiator when the net value of a sales item is below a certain value. I have created a standard task for sending mail and I am calling this task in the user exit "userexit_save_document" using FM 'SAP_WAPI_CREATE_EVENT'. I have created a new event for triggering this task.
My problem is that the task is getting triggered but mail is not being sent. I think I am making a mistake in the container elements part. I am passing only element 'ADDRESSSTRINGS' to the container with value sy-uname.
Can anyone please suggest me how to solve this problem.
Thanks in Advance,