on 10-07-2010 1:03 PM
Hi,
In my scenario, the workflow is restarted when the approver changes a specific field for eg. cost assignment number. The approvers are determined again and the workitems are sent for approval.
My requirement is to identify the workitems which was created before and after the restart. This is required for reporting purpose.
Is there a way to do it?
Thanks,
Sivagami R
found the function module 'BBP_PROCDOC_GETDETAIL_ARCHIVE' and it works
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
If you are on SRM 7.0, use Workflow Restart BADI and this badi has to parameters for Current Schema and New Schema.
If the data has been changed to an extent of change in approval hierarchy, you will have new schema with different value. Compare the two values and pass the flag for restarting the workflow.
Regards
Virender Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi virendar,
I am using the Restart Badi for restart. But we are using the same schema for the restart also. for eg. we maintain the approvers based on account assignment in a Ztable. if the approver changes the account assginment, the restarted workflow picks up the new approver from the ztable.
I need to differentiate the workitems to provide details for reporting purpose.
Thanks,
Sivagami R
Hello Sivagami,
Check if SAP_WAPI_GET_DEPENDENT_WIS function module could cover your request.
Give original workitem for import parameter WORKITEM_ID.
Regards.
Laurent.
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.