Skip to Content
author's profile photo Former Member
Former Member

Substitution Restriction in SRM 7 Using UWL

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 15, 2012 at 04:40 PM

    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 😉

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2012 at 11:23 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.