cancel
Showing results for 
Search instead for 
Did you mean: 

Substitution Restriction in SRM 7 Using UWL

Former Member
0 Kudos

Hi

We have requirement whenever the approver is on vaccation than they can maintain the substitution but while maintaining system should

not show them all the user - Infact it should restrict

We wnats to retsrict with our own logic

Appreciate if anyone can tell us the BadI or Exit ... with which we can achieve this functionality in SRM 7 using UWL

Regards

Trinath

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Trinath,

This is specific from UWL.

The UWL uses people picker.  Unfortunately UWL (people picker) does not support multitenancy.

You have some customizing options, by users attributes:

1) If you want to use the company attribute of the users for the

searches in the people picker,

then you have to activate the company concept:

http://help.sap.com/saphelp_nw04s/helpdata/en/2b/306bb5bc98f24f8

a85d489449af456/frameset.htm

The company attribute of the user is visible (and edditable) in the
\useradmin

You can do this by setting

ume.tpd.companies to
company1;company2;company3

Also if you set

ume.company_groups.enabled=TRUE
ume.company_groups.guestusercompany.enabled=TRUE

The defined companies will be visible as UME groups in the \useradmin
and you can assign a user to a company by simply assigning him to group
stpd_company1,stpd_company2...

Please check the link explaining how to change UME properties:
http://help.sap.com/saphelp_nw04s/helpdata/en/0b/50ad3e1d1edc61e
10000000a114084/frameset.htm

2) You can set additional user attribute and name it company_attr for example.
You just have to set:
ume.admin.addattrs to
company_attr

http://help.sap.com/saphelp_nw04s/helpdata/en/91/646d498fd94142a37e90a3b
848e45e/frameset.htm

and you can map this attribute to already existing attribute of the user
in the ldap.
http://help.sap.com/saphelp_nw04s/helpdata/en/44/7d188751626fb5e10000000
a155369/frameset.htm

The company_attr will be editable in the \useradmin in the "customised
information" tab

I hope this helps you.

Cheers,

Melina

PS.: If this information helps you, please assign the concerning SDN points

ashish_shah
Contributor
0 Kudos

Hi Melina,

Thanks for your suggestion, i am working with Trinath and while implementing solution proposed by you , we are facing an issue.

We have enabled company concept in Config tool.

We have done necessary configuration in System admin for user attributes

We hav also assigned the necessary actions to the users.

When one of the user in Company A tries to search for substitues , user is unable to see first name and last name of the available substitues.

In this example user "Dethe " is able to see all available three options in subsitution , however their first names and last names are not displayed properly.

Do you know any solution for this?

Regards,

Ashish Shah

Former Member
0 Kudos

Hi Melina,

Can we map the company group to LDAP Users using attribute mapping. let us say i have ldap attribute "o" for Users which tells what organization they belong to. Can i map this attribute to UME company groups?

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

You can use FM "SWW_Substitution_Define". Here if you define n no ofusers then only those users will appear for the user who is trying to maintain substitute.

Sameer