2004 Nov 24 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
2004 Nov 24 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
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
2004 Nov 24 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
2004 Nov 24 12:09 PM
Hi Siggi,
great idea! Do you happen to know what user exit to use?
Thanks,
Peter
2004 Dec 01 5:56 AM
Hi Peter,
You can check transaction SWEC for linking events with Change documents.
Cheers
Deepak Bhalla
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |