cancel
Showing results for 
Search instead for 
Did you mean: 

Z field in the start conditions of a workflow

Former Member
0 Kudos

Hi all,

Is it possible to add a z field in the start conditions of a workflow?

My requirement is to use a z field created in the shopping cart, in the start conditions for the workflow WS14000044.

Thanks and regards

Kishan

Accepted Solutions (0)

Answers (1)

Answers (1)

KKilhavn
Active Contributor
0 Kudos

Yes it is possible, at least if the workflow's main object is a BOR object type and not a class. You need to create a subtype of the BOR object type, make your Z-field available as an attribute in you object type and delegate from the original object type to your own object type. The new attribute will then be available for use in start conditions.

Former Member
0 Kudos

Hi,

Thanks for the prompt info.

The main object is a BOR object. but how do I create a subtype of the BOR type?

Thanks and Regards

Kishan

KKilhavn
Active Contributor
0 Kudos

Transaction code SWO1 - and reading online help will give you the quickest and best answer to the questions you have about this (or perhaps there are answers available here on SDN already).

Former Member
0 Kudos

Hi,

What will be the impact if I delegate a subtype. The SAP online help said that all underlying linkages would be changed and would be applicable cross client.

Is there a way I could undo the delegation? (no info about it in online help)

Thanks and Regards

Kishan

Former Member
0 Kudos

Yes you can undo the delegation at any point of time not to worry. It is just atable entry.

Go to swo1->Settings->Delegates

If you want to use a Custom Business object that is a delegate of a Standard Business Bo you can use it. You create a Virtual attribute in your custom Business Object. If you delegate the Custom bo with Standard BO. Whenever you refer to standard Business Object you will have this Custom attribute in your kitty. This will help in start Condition.

<b>Reward points if useful</b>