cancel
Showing results for 
Search instead for 
Did you mean: 

How to Assigning User Group to Task?

p190355
Active Contributor
0 Kudos

Hello,

When i run the TCode : OAWD, the task : 30001128 (ImageAssignE) is processed.

And triggered to a User, which i need to change to a User Group.

How can this be done?

Thanks and Regards,

Remi

Accepted Solutions (0)

Answers (2)

Answers (2)

p190355
Active Contributor
0 Kudos

If though it does not support User group, i assigned a user group with UG usergroupname

==== Closing this Thread with solution =====

In the rule, 30000019, which picks the users,

Made an implicit enhhancement, with code replace the User group with users and return to the rule :


*-- Finding users under user group -----------------------------------
  data: wa_actor like line of actor_tab.
  data it_users type table of usgrp_user with header line.

  loop at actor_tab into wa_actor where otype = 'UG'.
    select * from usgrp_user
             into corresponding fields of table it_users
             where usergroup = wa_actor-objid.
  endloop."actor_tab
  loop at it_users.
    actor_tab-otype = 'US'.
    actor_tab-objid = it_users-bname.
    append actor_tab.
  endloop.
  delete actor_tab where otype = 'UG'.

Cheers,

Remi

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Go to transaction PFTC and open the task.

Menu Additonal Data -> Agent Assignment -> Maintain

Agent Assignment -> Areate

Regards,

Masa

p190355
Active Contributor
0 Kudos

Hello,

I have options :

C Job

O Organization

P Person

S Position

US User

A Work Center

But there is no option to add a user group.

Regards,

Remi

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

There is no conept for 'User Group' in Organization Object. Maybe you can manage it with Role.

Regards,

Masa