cancel
Showing results for 
Search instead for 
Did you mean: 

Help on workflow delegation.

Former Member
0 Kudos

Can anyone tell me how to delegate the standard business object to the customized business object.

Can you also tell me about the event linkage in SWE2 transaction.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186746
Active Contributor
0 Kudos

In SWO1 goto Settings-->Delegate

SWE2 is a view for table SWFDVEVTY2 if you goto SM31 type in SWFDVEVTY2 and then button Customizing and when the popup comes up click Continue w/o specifying project. You'll get redirected to the SPRO entry of this setting.

If you click next to th execute button you can read the documentation of this activity also in the customizing of SWE2 you can press F1 on almost every input parameter to learn how to use this.

Kind regards, Rob Dielemans

Former Member
0 Kudos

Thanks Rob.

But the condition is that the BOR has already been delegated by someone else and when I am giving Settings-> delegate is it not doing nything.taking me to a table where I cannot enter my BOR as it is cross client.

How do I tackle this?

Former Member
0 Kudos

Hi,

Follow the steps for delegation :

1. Go to SWO6 ---> change.

2. Double click your BOR ---> Give your custom BOR name.

3. Save.

Thanks,

Reward If Helpful.

Former Member
0 Kudos

Hi,

You can have only one delegate of a BOR. So in case you need to work on delegated BOR, you have to use the one which has already been delegated.

Note: Pls ensue that the overall BO is error free , when you are working/adding code to any other's working BO.

Hope this helps.

Regards,

Akshay

former_member186746
Active Contributor
0 Kudos

Delegation means that instead of the sap standard BO sap looks into a custom BO when an event/method is used of that BO.

If you want that not only SAP looks into a custom BO, but also a custom BO of your own design. Then you should extend the first custom BO, because this makes more sense.

If you want different behaviour in your system based on client number, then you should achieve this in either the WF template development, or in the methods used.

Kind regards, Rob Dielemans

romanweise
Active Contributor
0 Kudos

from my experience the "delegation" function is partly if not even completely irrelevant. some time ago i implemented a subtype to extend a sap standard bor but i did not want delegation for some performance reasons. no matter what i did the subtype was addressed when the parent type event was created and also if i threw the event of the subtype workflows of the parent type were started - all without activated delegation.

i reported this to the sap and all i got was the standard "It's not a bug it is a feature" reply. It seemed noone there even really knew how this delegation option is really supposed to work and after 3 months of discussion w/o any solution I put this OSS inquiry into my "Eternal WF Bugs"-Trashbin where I keep all these "this works this way since Rel. 3.1h - so never can be a bug" or "we will fix in next base release, or perhaps in the one after it" replies.

So it might be unnecessary to look for delegation configuration, if you created your BOR as a subtype to the sap one there is a high chance that it is used without doing anything.