I have one synchronous background Task in SAP-Workflow (Generate Object using Key).
Standard Method : 1200205 (Generate object instance using key)
Object Category : BO
Type : SYSTEM
Binding for this Task :
Import Parameters :
&OBJECTKEY& = KNA1
&OBJECTTYPE& = Customer Number
&KNA1& = &OBJECTINSTANCEY&
1. Out of 40 workflows, approx 2 time daily the above standard method failed to instaniate the business object KNA1 .
2. Error can be seen in Tcode SWI2_DIAG "Work item 000199327980: Object SYSTEM method GENERICINSTANTIATE cannot be executed" AND " Object with runtime number ' 0' not defined" .
3. In Worklfow Logs , I can see that Object Key and Object type are passing values but no &OBJECTINSTANCEY& is not instaniated.
4. Task is executing properly after I hit "Restart Workflow" in SWIA_DIAG.
Please suggest how I can stop this intermettient issue of Workflow Error.