I created a program in which I'm calling the FM SWE_EVENT_CREATE to trigger a workflow. But when executing the program, I have a RFC connection issue (in SWUD) : You are not authorized to logon to the target syst em (error code 1002).
For RFC connection, the user SAP_WFRT is used (SM59 configuration).
The workflow is triggered successfully (work item received in SBWP) when I tested the same event using SWUE. The workflow is triggered successfully as well when I tested it using SWDD. I would to know which user the system is checking there during RFC connection ? what is the logic behind ? and how this can be resolved?
Thank you for your help in advance.