FM to assign role to the user based on HRPOSITION

Hi All,
I have a query. I am working on security based product where in our current functionality role is assigned to user based on position.
EX:
Current Scenario:
role1, role2, role3, role4 are assign to position P1.
and that position P1 is assign to USER so USER is able to have those roles.
Now, Required functionality is:
Every position has one HRPOSITION maintained in our product. so now all roles should assign to user based on HRPOSITION.
My colleague is saying, To achieve this, we have a BAPI. I got some word as hint for that BAPI which is : HR*INITIAL*DATA*. It can be in any combination.
I tried to find in se37, even did goggling but couldn't succeed.
This is what I got as requirement. May be, I am not understanding the requirement or understanding but not able to get the desire output.
Please help. Thanks in advance

Hi Somu,
Have a look at the below FM which is  used to submit position based request.
GRAC_IDM_ORG_ASSG_REQ_SERVICES (Organisation assignment request service)
Thanks
KH

Similar Messages

  • Assigning role to the users

    HI All,
      I want to assign 1 role to the 400 users in my portal.Is it possible to assign automatically to do this.
    Can any one give me clue on this .
    Regrads,
    Suresh.

    You can use a script like the one below if you have all the usernames with you.
    [role]
    rid=pcd:portal_content/administrator/content_admin/content_admin_role
    rdesc=Content Admin
    user=user1;user2;user3
    Or you can assign all the users to a group using a script file like this
    [group]
    gid=Administrators
    user=user1;user2
    and then assign the role to the group.
    Thanks,
    GLM

  • Assiging Roles to the User

    Hai All,
    I am new to EP I have some predefined users and when I am trying to login using those users I am getting  message <b>"No portal roles are assigned for this user.If this problem persists, contact your system administrator"</b>.When I am trying to assigne roles to the user I am getting the message <b>"Internet Explorer cannot open the Internet site http://xi1:50000/irj/portal. Operation aborted"</b>.
    I my self is handling the server too, so Please Help me out..
    Suma

    Have you patched you server as this was a problem on SP9.
    You need to patch your server first.
    Paul

  • Error while assigning the role to the user

    Hi,
    error : CJS-30196. SAPBC JSF Communication role is not assigned to the user SAPJSF.
    i am getting the fallowing error in installation with NW04S. while trying to assign the above role to the user.any body help me with the solution.
    Thanks & Regards
        kiran.B

    Duplicate Post

  • Error while assigning the fallowing role to the user

    Hi,
    ERROR 2007-01-18 14:13:25
    CJS-30196  Role SAP_BC_JSF_COMMUNICATION_RO is not assigned to user SAPJSF
    i am getting the fallowing error while trying to assigning the fallowing role to the user any body through some light in to it.
    Thanks
    kiran.B

    Hi,
    Standard roles are not assigned to users directly.Make sure that copy the role from standard roles then change naming convention like your company specification.
    Ex: standard role : SAP_BC_JSF_COMMUNICATION_RO
    Step:1: go to t-code: PFCG and give the role name in role tab SAP_BC_JSF_COMMUNICATION_RO
    Step:2: press copy button and change the naming convention.
    Step:3: Assign to the user.
    I hope it will help you.
    kiran kumar.v

  • Table to find the assigned Roles with my User ID

    Hello Experts,
    1.Is there any specific table to find out the assigned roles to my User ID?
    If there is no table, let me know is there any transaction to find out the assigned roles to my User ID?
    2. When I assigned Marketing Pro role to my user id in Organization Unit, I am not able to see in webui screen.
    when I click on webui transaction, it is displaying some selection screen, there it is not displaying the role I have assigned?
    Could you help me to sort out these two queries?
    Thanks and Regards
    Madhu

    Hi Madhu,
    1.Is there any specific table to find out the assigned roles to my User ID?
    If there is no table, let me know is there any transaction to find out the assigned roles to my User ID?
    Sol'n : You have so many Class Methods for finding your requirement else FM aslo.
    Go to SE84 there u will find search ClassMethods. There u type getuserRole or userRole* and press F8. Pick the one which you feel it may give you the result
    ie you have to execute the class...if it showing instance on the tool bar click on that then press execute the method which you feel relevant to you, and give input parameters.
    Sol'n for 1 point is: CL_CRM_UI_ROLE_ASSIGN->GET_BUSINESSROLES_FOR_USER.
    2. When I assigned Marketing Pro role to my user id in Organization Unit, I am not able to see in webui screen.
    Sol'n: Go and check in T-code : BP. Dispay Ur BP and check for Employee Meantaied -- Identification Tab..Did u maintained ur Userid over there or not
    when I click on webui transaction, it is displaying some selection screen, there it is not displaying the role I have assigned?
    Sol'n: Need clarification on this point.
    Regards,
    Lokesh
    Edited by: Lokesh on Mar 8, 2010 7:37 AM

  • From which table we can get the Role of the User in SRM

    Hi  All,
        I need to prepare a report which displays the user and his role in srm. So from which table i can get  the role of the user if i have the Userid.
    Thanks
    Channappa Sajjanar

    Hi
    t- code
    SUIM->rOLES->BY USER ASSIGNMENT
    SELECT WITHASSIGNMENT OF USER = username
    AS A OUTPUT YOU MAY GET ROLE ASSIGNED TO THAT USER.
    if you want which FM - you debug while executing this report.
    regards
    Muthu

  • Assigning roles to different users in GP

    Hello,
    We have developed a small application using CAF.The UI part is done using  <b>Webdynpro module which is a part of CAF project</b>. Now we have to apply Guided procedures to this application .
    I have followed steps in this link to create a process (My First Process), and got result.
    <b>http://help.sap.com/saphelp_nw04s/helpdata/en/4a/d78041a17e060de10000000a1550b0/content.htm</b>.
    Now I have to do the same for our application.For eg: In "<b>My First Process</b>" , the role of Applicant is assigned to one user, and the role of HR Manager is assigned to another user.
    In our application, many people has done modules.I want to create different roles (like applicant ,HR Manager in My Process) and assign each role to the user who has developed that module.
    Actually we are not using NWDI . But we integrated all modules into one application manually.Is it possible to achieve the above mentioned goals ?
    Please any one give me a suggestion or link.
    With Thanks,
    Vivek
    With Thanks,
    Vivek

    Hi Ashutosh,
    <b>Thanks for response and providing link.</b>
    I have followed the documents provided by you.
    Now I have to do the same for our application as in  "My First Process" , the role of Applicant is assigned to one user, and the role of HR Manager is assigned to another user.
    Do I require to follow the steps,
    step1 :In GP design time and choose Create Callable Object Type – <b>Process Control, and select Visual Approval</b>.
    step2 :For the purposes of the process that you create, define the same input parameters as the output parameters that you have defined for the data input form.
    <b>In our application already created views(webdynpro views) are there.Still we need to create data input form and define input and output parameters ?.</b>
    In our application, many people has done modules.I want to create different roles (like applicant ,HR Manager in My Process) and assign each role to the user who has developed that module.
    Please any one give me a suggestion or link.
    With Thanks,
    Vivek

  • You can get Roles but can you get the Role of the user

    Can you display or hide items dependant on the roles of the logged in user is assigned too.
    I know you can do this for the menu using menu.json
    "visible": true,
            "applyIf": {
                "userHasRoles": ["Administrators"]
    But what about for other elements inside the app. Is there a way to get the roles of the user logged in.
    Is this missing as a feature or am I missing some pieces.

    I just want to hide or remove a page element ie if(adminUserRole != 'Admin') {$('#element').remove}. Just some way to see the roles of the admin user that is logged. But yes early days.
    On a side note BC are looking to launch the project and advertise the store on the 17th is this not a bit ahead of themselves if there is a potential that apps functionality may be reduced because of new policies, restrictions etc even if only temporarily. Once apps hit the masses this may cause some tension when people loose functions they once had.
    Edit :Ok BC have already changed the date of the launch. I jumped the gun in saying this as they have it all under control.

  • How to capture the role of the user logged in  CRM

    Hi
    How to capture the role of the user logged in  CRM so as to restrict the Account group selection ; While creating a sales Order .
    Can we deternine the profile in the related view .If so how , and what tables can we use to do so.

    hi,
    I think you should check CRM table AGR_USERS.
    Regards
    Michael

  • CLASSIFIACTION_DESTINATION - What roles must the user have?

    Hi all,
    I have created the CLASSIFICATION_DESTINATION in PI 7.1.
    Now I want to publish a service from ERP.
    I get always the same error:
    Error during cache update for classification system meta data/values
    Invalid Response code (401). Server                                    
    <http://<server>:<port>/Classifi cationService/CS?style=document>
    returned message <Unauthorized>.                                       
    The user has the roles:
    SERVICES_REGISTRY_READ_WRITE
    SERVICES_REGISTRY_READ_ONLY
    UDDI_Admin
    What other roles need the user?
    Any ideas?
    regards

    Hi, Bauer!
    We have the same problem, while publishing service through programm "PRG_ER_SERVICES_PUBLICATION". All configs for Logical Port, destinations e.t.c. were made properlyб and worked correctly. But after EhP4 was installed, this error occured first time.
    What is version of your system?

  • Receiving an error when trying to remove P00 Security role from the user

    Hi All,
    I am receiving an error when trying to remove P00 Security role from the user.
    After logging on to GRC CUP, clicking on u201CCreate requestu201D, and filling out required information,
    I click on Select Roles/Groups
    On the next screen,
    I click on Existing Roles/Groups
    ERROR MESSAGE appears X Action failed and no roles appear in the box to select for removal.
    Regards,
    Vineet

    Hi Vineet,
    My be your selection is incorrect
    Try this
    in Applicaiton Area -- Select ALL
    Functional Area  -
    Select ALL
    Company           -
    Select ALL
    Role/Profile/Group Names --- Give p00* and execute the report
    if you give only p00 it wont give any result
    Hope this helps
    Thank you,
    Kishore

  • Getting the role of the user running the report?

    Hello,
    I'm doing a report with Answers and need to recover the role of the user running the report. Is it possible?
    Thanks

    You can use any of the below Session Variables, click the Fx and enter the below
    VALUEOF(NQ_SESSION.displayname) - Displays the Full Name of the User that is logged in and running the report for that session
    VALUEOF(NQ_SESSION.user_alias) - Display's Alias Name of the User that is logged in and running the report for that session
    For the role, I don't think there is a Session Variable.
    Cheers!
    Royston
    Edited by: Royston Goveia on May 24, 2012 12:50 AM

  • Role of the user

    Hi everyone:
    it is possible to obtain the role of the user?
    Thanks.
    Regards.
    Eduardo Campos

    Hi Eduardo,
    from your other answer I think it is enough to check if the user has got a role (or not). This can be done very easily if you have got the IUser object; for this see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/web dynpro security.pdf page 11/12
    Now you can use the isMemberOfRole method, that's all. See https://media.sdn.sap.com/javadocs/NW04/SP9/ume/index.html for details.
    Hope it helps
    Detlev

  • Assigning Roles for a user programatically in E-Business Suite

    Hi All,
    How can I assign roles to a user programatically (may be using PL/SQL) in E-Business Suite.
    Thanks,
    Iceman513

    Please see these docs.
    How to Assign and Revoke Role/Responsibility to a User using a Standard API? [ID 373369.1]
    Api To Assign Responsibility To A Role In Bulk. [ID 458072.1]
    How Does One Using API add Users to a Role? [ID 794538.1]
    Thanks,
    Hussein

Maybe you are looking for

  • Any ideas on this plan for a process chain?

    Hi, I have 6 ODSes. I load these on a daily basis with 6 different flat files. ODS1, ODS2 and ODS3 needs to be loaded first before ODS4, ODS5, ODS6. Once all six ODSes are loaded, they are then aggregated based on some two key fields to and loaded in

  • BLOCK E-MAIL

    Is there a way to block e-mail? There must be some way to write a rule to block e-mail, but I do not know how. I keep telling mail to send this sender to junk, but it continues to place them in my in box. I am certain there must be a way to block mai

  • Dreamweaver CS 6 crashes when opening new file

    Hi CS 6 crashes when I open a file. I already cleared the cache, but it sill does not work. It recreates the Configure folder but not the WinFileCache..dat file. Please advise, Thanks, Esther

  • Saying there isn't enough room to download, but there is

    I have a 2nd gen itouch. When I tried to download an app that was around 200 megs, it wouldn't let me. Even though I have close to 500 available. Please try to explain why this is happening. Thank you.

  • Why isn't firefox6.0version upgrade not being activated?

    I have downloaded 6.0 version several times and I stillonly have the 4.0Icon on my pc. I want the 6.0 version of firefox. Also I really like the cooliris add-on. It is the only reason to have firefox. Cooliris is not the home page. I use to have it o