2005 Aug 25 7:02 AM
hi all,
actually i have a Z table (customised data base table) i want whenever the table gets updated an event should trigger a workflow.
Thanks in advance
Kingshuk
2005 Aug 25 7:09 AM
Hi,
How are you updating the database? If it is through a program you can call the function module SWE_EVENT_CREATE to raise an event. This event can be linked to a workflow.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = <- Your object
objkey = <- Key of the table
event = <- Event name
EXCEPTIONS
OBJTYPE_NOT_FOUND = 1
OTHERS = 2
Thanks
Vinod
2005 Aug 25 8:44 AM
2005 Aug 25 9:44 AM
Hi,
What Vinod and Peter suggested is definitely a good solution.
Also you can try the use of change documents to trigger your workflow task. For that you need to activate change documents and then link it to your task.
Imp Transactions : SCDO and SWEC.
Let me know if this approach helps you.
Thanks, Debasish