cancel
Showing results for 
Search instead for 
Did you mean: 

Work item xxxxx: Object BKPF method Zxxx cannot be executed.

Former Member
0 Kudos

Hi,

We are on SAP ECC5.0

I copied Object Type BKPF as ZBKPF and Added One

method ZCREATE(BDC program to create FI document) in this object then I added ZBKPF into Delegation

type of Object bkpf. This Custom object method is working fine manually. I added this method into workflow as a background job. Now, it always errored out with

Message Work item 000000391392: Object BKPF method ZFB50LPOST cannot be executed' 'Object with runtime number ' 0' not defined displayed.

Workflow log with technical details is mentioned below.

Background work item created

Execution started automatically

Executing batch work item

EXECUTE_METHOD_OBJECT_SYNC

EXECUTE_METHOD_BOR

EXECUTE_METHOD_BOR

I have create a BKPF instance and passed it to this step. WF_BATCH also have SAP_ALL authorization.

Thaks In advance,

Karen

Accepted Solutions (1)

Accepted Solutions (1)

pokrakam
Active Contributor
0 Kudos

Hi Karen,

Since your object does not exist at the start of the step, you need to flag the method as <i>Instance Independent</i> in the method properties box.

Cheers,

Mike

Former Member
0 Kudos

Hi,

I am facing a similar situation in the workflow.

But the workflow is triggered using a start event and the instantiated object is passed to the method.

Can you please let me know of why I am getting this error and how to go about in solving this.

Executing batch work item - Work item 000031204335: Object VTTK method CREATEINVOICE cannot be executed

EXECUTE_METHOD_OBJECT_SYNC - Object with runtime number '

0' not defined

EXECUTE_METHOD_BOR - Object with runtime number '

0' not defined

Thanks & regards,

Ravikiran Kallimath

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mike,

Thanks for your instructions and Problem resolved.

Cheers,

Karen