11-24-2004 11:25 AM
Hi all,
we plan to trigger workflows upon the creation of certain IDocs in a SAP 4.6C system.
The business sceanrio is: company code 1000 creates a PO which is sent via IDoc to company code 2000. Upon changes by the issuer (company code 1000) to certain data of the above created original PO (e.g. delivery date, amount) a workflow needs to be triggered. Also changes performed by company code 2000 need to trigger a workflow.
We guess that change document handling and/or the creation of ORDCHG IDocs would be a suitable approach to trigger a workflow, just we don't know how...
How can workflows be triggered upon changes to a PO and/or creation of an ORDCHG IDoc?
Any hint is highly appreciated.
Thanks
Peter
Message was edited by: Peter Keller
11-24-2004 11:31 AM
Hi Peter,
when the original PO in CC 2000 is changed, you can raise an event in a user exit (just before saving the document), checking if some relevant data was changed. This event triggers the workflow.
kind regards
Siggi
11-24-2004 11:31 AM
Hi Peter,
when the original PO in CC 2000 is changed, you can raise an event in a user exit (just before saving the document), checking if some relevant data was changed. This event triggers the workflow.
kind regards
Siggi
11-24-2004 12:09 PM
Hi Siggi,
great idea! Do you happen to know what user exit to use?
Thanks,
Peter
12-01-2004 5:56 AM
Hi Peter,
You can check transaction SWEC for linking events with Change documents.
Cheers
Deepak Bhalla