Hello experts,
I am triggering a custom workflow for a leave application through a custom module pool program,using the function module
SAP_WAPI_CREATE_EVENT. This function module returns sy-subrc = 0, but when I check SWI2_FREQ cannot see the workflow log.
After switching the trace ON I found in SWEL,the RFC status as 'User Switch Is Not Possible', Please refer the attachment
When I tried to test the same using SWUE the workflow is getting triggered and the results are as expected.
There's a similar thread in SCN which talks about this,(didn't help me but) http://scn.sap.com/thread/1960611
Also when I ran SM58 found one entry which has a status text as User Switch Is Not Possible(Refer the attachment).
Note: The workflow was working perfect in the recent past, noticed this since yesterday when I was trying to test a new scenario.
Awaiting for your replies ,thanks in advance.
Regards
Akmal