Skip to Content
avatar image
Former Member

Restrict Multiple Business Role Login

Hello Experts,

Please help me figure out how to achieve below.

We have users with IC_AGENT and SERVICE_PRO roles. We want to implement restriction around IC_AGENT role access where user can only login once in IC_AGENT role and if he/she tries to open another session system gives an error message or does not provide the role in role selection screen.

At the same time we want to provide access to open as many sessions/windows for SERVICE_PRO role. So at any time user can have only one IC_AGENT login but 1 or more then 1 SERVICE_PRO logins (in seperate windows)



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Mar 12, 2018 at 09:05 AM

    Hi Vikas,

    Parameter icm/HTTP/esid_max_ctx can be used to increase or restrict the number of browser tabs using the WebClient UI.

    The parameter settings, if unable to access it via transaction RZ11 can be seen by executing report RSPARAM in transaction SE38.

    You can then execute transaction RZ10 and add icm/HTTP/esid_max_ctx and make the changes that suit your business needs

    However it is not possible to set this parameter according to Business Role selected by the user.

    Please note:

    It is also not possible to restrict browser windows using the WebClient UI or restricting/blocking multiple logon screens between different browsers for WebClient UI.

    Best Regards,

    Varun Agarwal

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 20, 2018 at 03:22 AM

    Hello Vikas,

    -- For the requirement: IC_AGENT role can be opened only once; SERVICE_PRO role can be opened with no restriction:

    I'm afraid your requirement needs custom codes, maybe with some little tricks?

    When a webui is opened, system will check what business roles are assigned. You customer codes need to check whether for this user, IC_AGENT has already been opened. If yes, IC_AGENT won't be returned.

    I don't find any BADI to provided in this logics, please consider a modification in standard program? Please set breakpoint in method

    CL_CRM_UI_PROFILE_DETERM -> LOAD_PROFILES and debug. Hope you can find a proper place.

    --For the requirement : SERVICE_PRO role should be opened always in new window:

    In the business role list page, click F12, we can find its HTML codes, like this:

    They are rendered in SE80 BSP Application CRM_UI_START->selectBusinessRole.htm. You can modify codes, to make the business role hyperlink to open in new window.


    Another way is that, you create your own frame page(as a .htm file), to display the IC_AGENT and SERVICE_PRO roles. In that .htm file, you write javascript codes to control the business role opening.

    Hope above information helps any way.

    Best Regards, Corrine

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 19, 2018 at 09:29 PM

    Hi Varun,

    Thanks for above information but looks like the parameter is not differentiating between multiple Tabs in an IE browser window or multiple IE browser windows (we are only using MS IE 11). Currently we have this parameter set to 9. So it allows me to open up to 9 sessions.

    My requirement is to restrict only 1 Tab in an IE browser window but allow multiple browser windows to open.



    Add comment
    10|10000 characters needed characters exceeded