I have created a abap program and called the function module 'SWE_EVENT_CREATE', and create the
workflow and passed in the basic data start event as event .
I had created the event linkage in SWETYPV mentioned the object type,event name and the name of the workflow as the receipent type,and the receiver call as function module and receiver function module as SWW_WI_CREATE_VIA_EVENT .
But when i am trying to run the abap code to execute workflow the mail is not send from the workflow to receipent,but when am testing the workflow directly its working fine.
Please share me the solution if you have one.
I have checked all the thread but cudnt find the answer.