Showing results for 
Search instead for 
Did you mean: 

best way to instantiate associated BOR object

Former Member
0 Kudos

I have a material master workflow wherein I need to work with attributes of the business object Plant (BUS0008). The workflow is started by an event of Standard Material BUS1001006.

To get the Plant attributes, I am using method GenericInstantiate of object type SYSTEM first, passing the 4-character plant code from the workflow to the task and returning object type to BUS0008 within the workflow.

Is there a better way [or alternate way] to instantiate an instance of an object type within a workflow where that object type was not the initiating object type? Oh, and without a line of ABAP.

Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos


You could bind the plant-key to the Business Object during event creation in the event-->WF binding.

Kind regards, Rob Dielemans

Former Member
0 Kudos

Hi Rob,

Thanks for the suggestion. I tried that and get the following error:

Value of expression '&BUS0008.PLANT&' cannot be used as the target of an assignment

Message no. SWF_BND_001012


Expression refers to a data object that cannot be changed, for example, a constant, a system field, an object attribute, or a method that cannot be changed. A binding cannot use this data object as a target.

System Response

The operation was canceled.


Change the binding operation in the workflow definition environment (choose another target for the assignment in the binding editor), or set the workflow parameters so that the binding operation can actually include the required value.

Answers (0)