on 04-11-2011 10:48 AM
Hi.
I want to trigger my Wf when a new dialog user is created. For these purpose I have activated in "Start Events" of Basic data:
BO USER CREATED.
But my Wf is not triggered automatically. But when I test it with the hand, it works correctly and Wf completed.
Please some advise.
regards, tuwien
I have solved my problem.
The event doesn't trigger when a new user is created, because it doesn't denote BOR USER, but BOR USR01 which hasn't any event! So, when a new user is created by administrator it is maintained in the table USR01(same name with BOR USR01)
By the way before incorrectly I explored my problem in BOR USER which has event such created, deleted, roles_changed and cloned.
regards,
tuwien
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi tuwien,
If no event is raised when you check the event trace as suggested by Rob then you will have to find a way to raise the event yourself.
You could so this via custom code and function SWE_EVENT_CREATE or use CHANGE DOCUMENTS (If change documents are active for the functinoality) via SWEC. See the online help at
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/c5/e4aec8453d11d189430000e829fbbd/frameset.htm
Regards,
Eddie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eddie,
That's not the only reason. SAP_WAPI_CREATE_EVENT is easier to use and people (newbies) have reported errors they've encountered using SWE_EVENT_CREATE. Also, it makes tracking down where events are created easier, by doing a where-used on SAP_WAPI_CREATE_EVENT.
regards
Rick Bakker
hanabi technology
Hi,
check the event log (SWEL/SWELS) to see if events are created when you create a user.
Kind regards, Rob Dielemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.