Triggering event from BTE 1050
i am working on a workflow scenario where the workflow has to be triggered based on certain conditions.
i have created a subtype of BO BKPF and delegated the same.
now i have created the BTE Event 1050 and in the related function module for this BTE i am calling SAP_WAPI_CREATE_EVENT to trigger the custom event to trigger my workflow.
I am faciong a problem that the fm for BTe is not getting executed when the document is posted using fb01.
i have tried the same by debugging and triggering the event from BTE 1030 and it works fine.
Can some one help me in understanding why the BTE 1050 is not getting executed.