Transaction Canceled DB 612 Error For Workflow Jobs in SM21
Transaction Canceled DB 612 Error For Workflow Jobs in SM21
Symptom
Workflow jobs SWWDHEX, SWWCOND, SWWERRE, SWWCLEAR, SWWWIM are failed in SM37 transaction due to Variant '&00000000000XX' does not exist error. There are
the following logs in SM21 transaction:
Environment
SAP Business Workflow
SAP NetWeaver
SAP Web Application Server for SAP S/4 HANA
Cause
Before client copy from client A to client B:
As job definitions are not copied during client copy(see Q6 in SAP Note 31503), the running workflow job in client B still try to find the variant '&0000000000000'.
But variant '&0000000000000' no longer exist in client B due to the variant tables in client B are overwritten by tables in client A.
Resolution
Delete and reschedule workflow jobs according to the following steps:
1. Delete SWWDHEX, SWWCOND, SWWERRE, SWWCLEAR and RSWWWIM jobs in "Released" status in SM37.
3. Select "Schedule Background Job for Workflow Deadline Monitoring" and click "automatic customizing" for rescheduling SWWDHEX job:
4. Select "Schedule Background Job for Work Items with Errors" and click "automatic customizing" for rescheduling SWWERRE job:
5. Select "Schedule Background Job for Condition Evaluation" and click "automatic customizing" for rescheduling SWWCOND job:
6. Select "Schedule Background Job for clearing report" and click "automatic customizing" for rescheduling SWWCLEAR job:
7. After reschedule these workflow jobs, the relevant nodes in SWU3 will change to green status as below:
Also note that "Configure RFC Destination" in SWU3 has to be in green light status if workflow business is used in your system.
If users have special requirement (for example: client copy happens frequently) and do not want to reschedule the job every time after the client copy, may consider the following
options:
1. Make sure the original client and target client are using the same variant ID for the same workfow job.
3. Utilize the report introduced by SAP Note 2700589 to copy job definitions after the client copy.
See Also
SAP Note 31503 - FAQ: Background jobs
SAP Note 2700589 - Copying background jobs to another system
KBA 2531135 - SWWRUNCNT fails with error "Variant &0000000000000 does not exist"
Keywords
WF_GDPR, SWF_WORKFLOW, WFMSTD, variant does not exist, &0000000000001, &0000000000002, &0000000000003, &0000000000004, SWU3, client copy, Automatic
Workflow Customizing, Schedule Background Job for Workflow Deadline Monitoring, Schedule Background Job for Work Items with Errors, Schedule Background Job for Condition
Evaluation.
Attributes
Key Value
Products
Products
2531135 SWWRUNCNT fails with error "Variant &0000000000000 does not exist"
3137613 Error "Variant SAP&SCHEDULER does not exist" raised in the job log of SAP_WORKFLOW_SYSTEM