cancel
Showing results for 
Search instead for 
Did you mean: 

Object with runtime number ' 0' not defined

ajay_sharma10
Participant
0 Kudos


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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185167
Active Contributor
0 Kudos

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