on 09-22-2014 8:47 PM
Hi ,
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
Method :GENERICINSTANTIATE
Binding for this Task :
Import Parameters :
&OBJECTKEY& = KNA1
&OBJECTTYPE& = Customer Number
Export Parameter
&KNA1& = &OBJECTINSTANCEY&
Problem statement:
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.
Regards
Ajay Sharma
Hello,
Are you sure that the customer number is available at the time the GenericInstantiate is run?
If it is, are you also sure that a customer with that number exists in the SAP tables at that time?
In any case, you could make that error a temporary error so that the workflow tries again automatically.
regards
Rick Bakker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.