Work item xxxxx: Object BKPF method Zxxx cannot be executed.
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
Mike Pokraka replied
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