on 2012 May 10 10:33 AM
hi
Contract Alert wf is trigered using bus2000113-GOING_TO_EXPIRE event
this workflow is different than the main approval workflow, it sends alerts to users UWL (WS10400022)
But there is no terminating event for this workflow so I need to put it
I need to use /SAPSRM/CL_WF_PDO_CTR-READY_FOR_WORKFLOW as terminating event
(bcoz this is the event that gets triggered in the system when user changes contract upon receiving the alert)
So I created a contrainer element of type abap class /SAPSRM/CL_WF_PDO_CTR and put parellel wait step for /SAPSRM/CL_WF_PDO_CTR-ready_for_workflow
But my question is , how do I instantiate this class /SAPSRM/CL_WF_PDO_CTR in my workflow ? because unless I do that, it wont catch the event
it gives runtime error of no valid object ID
If I observe in SWEL for the /SAPSRM/CL_WF_PDO_CTR-READY_FOR_WORKFLOW then object key is the GuID of the contract.
So im trying to use the GUID of BUS2000113 available in the workflow container to instantiate it but its not working
Need yr help – any suggestions ? there has to be some way to use this event in the workflow……
thanks
bhakti
Request clarification before answering.
Hello Bhakti,
I am trying to understand why you have to terminate this workflow.
The purpose of this workflow is to generate a Alert and let the user process the Contract for Renewal.
It should end after creating the alert for the Purchaser.
Please let me know why you want to terminate the workflow.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.