Question:
Hello!
We are currently creating a workflow that must be triggered upon creation of a new Personnel Area in SPRO and in this event, a work item will be sent to the SAP inbox of the respective agent. The following are the steps we have done to accomplish this:
1. Creation of a subtype for supertype BUS0030 (Personnel Area).
2. Established delegation of supertype to subtype.
3. Added event create in subtype.
4. Created event type linkage.
5. Established binding characterized by green icons.
We have run SWEL but can not seem to find the trace for the event that we have created. Our testing using the triggering event didn't prove to be successful as well.
We are suspecting that the problem is in the linkage that we have created since we have been successful in the manual testing of the workflow. We might have missed something... we're just not definite as to what that could be.
Any suggestion of ideas that might shed light on our problem will be greatly appreciated. We are also eyeing on the possibility of using Change Documents and user exits.... or is this a must for this type of workflow....
thanks for all the help!
Answer:
Before you do anything else check two things.
Authorizations are adequate
Check instance of the object in SWO1 and make sure it has all the attribute values (populated).
If instance of the object is correct then move to workflow and start checking the trace. If instance of the object is properly created then go to your workflow and in test mode (F put in all the values from the instace and run your wf. This should tell you where the exact problem is. If you put in all the values and it worked then the problem lies with the trigger.
Answer:
ssdessai13 --> thank you so much for the response. We have done prior test already to assume that the problem lies on the trigger of our wf. To make sure though, we will try your suggestion. I will post of any developments and findings on our project soon. Again, thanks for the time and the ideas, I am sure that this will help us!
Answer:
OK you created a new event but how is that supposed to be generated? Just defining an event won't won't make it happen if there is no supporting mechanism in the application code (if only it was that simple ).
If you don't see it in SWEL then this would indicate that you have made the mistake of thinking an event will generate itself.