Setting the Roles in SAP

Hi,
I am integrating SAP with IDM. I have developed a code to create the user in SAP and at the same time trying to set the roles and timezone to the user. There is no problem in creating the user object. But, Roles and timezones are not set in the user object.
I need your help in setting up the values in SAP...
Thanks
Ilayarajan

Nikhil,
As you suggested, I have created an object to set the roles in SAP.
<Object name='SAP'>
<Attribute name='activityGroups' value='ROLE1'/>
<Attribute name='fromDate' value='07/15/2007'/>
<Attribute name='toDate' value='12/31/9999'/>
</Object>
* 'activityGroups' is the resource mapping variable. I am using this code snippet in my provisioning WF. But, the vaue is not setting in the SAP.
Could you Pls, tell me what changes I have to make to set the Roles in SAP.
Thanks
Ilayarajan P

Similar Messages

  • Set the role in runtime through JDBC

    Hi Everybody,
    I 've set the role for a user with the privilege of running the Stored procedure in runtime just in that session and it's giving me the error PLS-102 saying that it cannot identify that procedure, but when I grant that role through the SQLPLUS my program (JSP) works fine. Does enybody knoe how can i fix this problem?

    Is the role set as a default role?
    Are you explicitly enabling the role by executing a SET ROLE command?

  • Setting the role name dynamically

    Hi,
    I have defined 4 roles in the application. In the workflow navigation, i have created a notification. How can i set the role name property of the Notification message dynamically so that as soon as the control comes to that notification, all the users in that role gets the notification message?
    Thank you.

    Hello,
    Define a attribute which holds the value of one of the four defined roles.Then create some activity (with some defined function) which will select the role and assign to the attribute.
    In the notification give the performer value as attribute name.
    This will solve your purpose.
    Kind Regards,
    Kumar.

  • Set the path of SAP HELP

    Friends,
            My Basis Admin want to set the path of SAP HELP which is not working currently, so will you pls. tell us the way through which my Basis friend can set the path for it.
            Thanks
    Hitz

    Hi Hitesh,
    Refer to the link
    <a href="http://www.sap-basis-abap.com/sapbs028.htm">http://www.sap-basis-abap.com/sapbs028.htm</a>
    Hope it helps...
    Lokesh
    pls. reward appropriate points by clicking the stars on the left side

  • How to set the position in SAP Script

    Hi Professionals,
    Can anyone tell me that How can I set the position of an bitmap Image (after inserting) in SAP Script ?
    by default position is in Left, I need to align it in center or somewhere else.
    Anybody knows, kindly reply!
    Thanks
    Devinder

    Hi,
    But Can we assign a window under another window. Because I want to insert a bmp picture on particular position.
    example:- there is a digital signature and wanted to insert upon a name.
    So, there is a text (which is customer name) and digital signature (in bmp picture format) upon it.
    Thanks
    Devinder

  • What is the Role of SAP PI in SAP SRM?

    Hello Gurus
    I'm from SAP-XI background.
    In my project I need to create a scenario from SRM ---> PI/XI ---> MDM.
    I'm having the below queries regarding this scenario.
    1) Do I need to download the "XI CONTENT for SRM SERVER and import it into PI server.
    2) If so what is the exact location in the service market place from which I can download
    3) What are the steps that need to be done between SRM and PI and also in SLD so that data will be sent from SRM to PI.
    Can anyone answer my queries.
    Thanks and Regards,
    Pruthvi

    Hi Pruthvi,
    Mentioned below are the list of output medium for SAP SRM.
    1. Email.
    2. Fax.
    3. Print.
    4. XML.
    Whenever SRM want to send data to another system in XML format and if you are not using SOA then PI is very much required to transfer the XML data to the target system. When you integrate  SRM with ECC 6 EHP 4 or higher version then many documents are transmitted in XML format only and XML document is sent out of SRM using ABAP Proxy.
    Since the XML data is sent out via ABAP proxy you have to import the integration objects for SAP SRM into SAP NetWeaver PI. you can find the same in the below location.
    https://websmp103.sap-ag.de/~form/handler?_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=N&FUNCTIONBAR=Y&EVENT=TREE&TM…
    Steps involved :
    1. Deploy the integration objects of SAP SRM into SAP NetWeaver PI.
    2. Update the SLD with new business system data.
    3. Check Active Process Integration in the transaction SPRO in SRM .
    4. Go through the below steps :
         1) One RFC of type H to point to PI with all the details.
         2) Define the role of the business system in the server that you want to see(Sxmb_Adm)
         3)Connection between Business System and System Landscape Directory.
         3a)RFC destination LCRSAPRFC of type T for SLD connection.
         3b)RFC destination SAPSLDAPI of type T for SLD connection.
         4)Maintain the SAP J2EE Connection parameters for LCRSAPRFC and SAPSLDAPI in SAP J2EE      Engine
         5)Maintain SLD access details in Transaction SLDAPICUST.
         Please refer the section 1.3.1, 1.3.2, 1.3.3 and 1.3.4 in the document(as linked provided below)
    SLDAPICUST should point to the SLD host server. If you have a central SLD installed on the Dev server, then it is ok that it is using the host and port of the Dev server.
    PIAPPLUSER is the normal user that is used in trx SLDAPICUST (the user must have the role SAP_XI_APPL_SERV_USER).
    'Lastly, will the gateway Server of SAPSLDAPI and LCRSAPRFC will be the same for both DEV and QAs systems in XI?'
    5. Make the necessary confirmation in Integration directory for the relevant interfaces.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70066f78-7794-2c10-2e8c-cb967cef407b?quicklink=index&…
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0ac1a33-debf-2c10-45bf-fb19f6e15649?QuickLink=index&…
    Checking XI Settings - mySAP SRM: Basic Settings - SAP Library
    Regards,
    Suresh

  • How to set the Logging in SAP Web AS through Netweaver 7.1 ?

    Hi,
    Can you please help us with the steps to set the Log Level and Log files using SAP Netweaver 7.1
    Thanks

    WHat kind of logs are you trying to set? If these are work process logs you can set on SM50, for example.
    Regards,
    Tiago

  • Set the role to allow to do anything in a specific schema

    Hi all,
    I'm not sure which role or right a I must set to my users.
    I want that all users can do anything in the a specific schema. Users can create, alter, drop, insert, delete, ... a table, index, sequence, etc.
    My users are of developpers. But, I want to be sure that a developper won't alter another schema excepted his schemas.
    I'm not sure the good role to choose to allow theses rights.
    Anyone could help me please?
    Jimmy

    I would think that the resource and connect roles would be the best for your needs:
    select * from dba_sys_privs
    where grantee = 'RESOURCE';
    GRANTEE PRIVILEGE ADM
    RESOURCE CREATE TYPE NO
    RESOURCE CREATE TABLE NO
    RESOURCE CREATE CLUSTER NO
    RESOURCE CREATE TRIGGER NO
    RESOURCE CREATE OPERATOR NO
    RESOURCE CREATE SEQUENCE NO
    RESOURCE CREATE INDEXTYPE NO
    RESOURCE CREATE PROCEDURE NO
    Note that the role does not include the "create view" privilege, so you will need to grant this as well.
    You will also need to give them privileges on tablespaces.
    On 9.2 and before, the connect role would have most of these privileges, but since 10.1 (or 10.2) that role has only "create session" privilege.

  • Setting the role using Oracle.DataAccess.Client.

    I have a user role and password attaching to oracle 10 that I need to set. Could not find where to set it.

    Hi,
    You'd set it the same way you do for a sqlplus session, for example. Use the SET ROLE command, which you can execute via an OracleCommand object and ExecuteNonQuery().
    Hope it helps,
    Greg

  • Set default role for Account in SAP CRM 7.0

    We are using SAP CRM 7.0
    When an end user creates a new account there is a section called
    "Role" sub assignment block with entries like "Competitor", "Account", Contact Person, etc.
    I want by default when you create an account that the role Account is specified in there.
    I want it done automatically and do not want to rely on the end user to seelct this.
    I was able to do this with contacts by using an SAP note to set this for cotnact person.
    But does anyone know how to do it for an Account ?
    All I want to do is that when an account is created the system automatically sets the role as "Account".
    Thanks,
    Jon

    Hi Jon,
    For any code changes in bsp components we need it's z-instance and that we get after enhancing the respective entity for eg views, context nodes etc..
    In case you are not familiar with the enhancement, please refer to some thread which explain about the component enhancement concept.
    Coming to this requirement..
    You need to enhance bp_roles component, then enhance rolelist view and roles context node.. redefine the GET_V_PARTNERROLE method.. copy the parent class code and do the necessary changes to manipulate the entries in gt_ddlb_add
    Check the statement at line no 107..
    gr_ddlb_roles->set_selection_table( it_selection_table = gt_ddlb_add ).
    Just before above statment call, manipulate gt_ddlb_add to keep the required role value at index 1..
    Another thing in my test system i can't see any role as "Account" under SPRO customizing "Business Partner Roles" instead "Business Partner (Gen.)" is available, don't know if you are able to see Account Role in the Roles DDLB..
    i would suggest debug the get_v_partnerrole method once at line no 107 see the entries in gt table you will get an idea what you need to change.
    Hope this helps..
    Cheers,
    Sumit Mittal

  • Extract the userID that set a role for a specific user

    Hi all @SAP Forums,
    I'm going to write a simple report to extract some information about users and role assignments in the system I'm working on.
    The requirements is quite simple; for every user in the USR02 table, I have to extract some info about the roles the user has.
    In order to do so, it's quite straightforward to find roles for a particular user looking into the AGR_USERS table, but ... I'd like to know if there's a way to find the user who set the role assignment for that specific user; the problem is that I cannot find that information in any AGR* tables, so I start to think it's not a stored information I can retrieve in any way.
    Any hints/suggests you can give me? Thanks in advance.

    Hello muthu,
    useful link to refer to when I'll need to extract a full username (first and surname) for a userId. But the question, forgive me if I've been not-so clear, was different.
    A (key) user, say A123456, sets a role for another user (A00000) in SRM... let's suppose now A00000 becomes a buyer. I'd like to know if there's a way, starting from the user A00000, to understand WHO had given him his role (in this case, A123456) and WHEN... I can see the CHANGE_DAT field in AGR_USERS about the "when"... where can I (if I can, obviously) find WHO set the role for A00000 ?
    Thanks again, sorry if I've been not that clear in explaining

  • How can i set a role that can't see the infoarea?

    HI:
    i want creat a role ,when use the role open the query , he can only see the report under the favorite and role,can't see the infoarea , how can setting the role's right?

    Hi!
    Perhaps you should try creating a user that carries exactly the same authorizations for your intended user/s.  Once created, you can then see if the infoarea can then be visible still.
    Regards,
    P.

  • Role in bpm when the role is dynamic (manager of the user)

    Hi,
    Regarding the bpm I face a case as below:
    I have a bpm which in one of its step a human task would be generated for the Manager of the user that initiate this process.
    Assume that I kept the username of the initiator on one of my variable how can I set the user's manager role?
    as in the bpm I just can set the role and in the mapping of bpm role to LDAP role I can not use the xpath or dynamic thin I can just can select the LDAP user or group.
    Thanks

    Try this:
    Go to the "XXX.task" file of your user screen, you can find it in the structure tree on the left panel inside the "SOA Content" directory of your main project.
    You will see a serie of tabs in the left side of the new window. Go to "Assignment".
    There you will see a default.DefaultPerformer inside a box. Click on it and the on the pencil icon to edit it.
    In the new window you can add the participants using the "by name" or the "by expression" option. If you have the username stored in a variable, you can use it here to dynamically assign the task.
    Hope this helps.
    Let me know if this doesnt work.

  • Role of SAP vendors in Cloud Computing

    Hi all,
    I have come across several articles mentioning how SAP is adapting itself to enable its integration with Cloud Comouting.
    I would just like to know that in case SAP moves to cloud computing, what will be the role of the the existing SAP vendors?
    Will there still be scope for customer specific implementations?
    Pls answer my querries.
    Thanks in advance.
    Regards,
    Sattam

    Hi Tushar,
    The role of SAP BW Consultant in a Implementation varies from project to project and also on the requirements specifications.
    Check the below thread for your understanding.
    BI consultant role
    Search the forums first and you will find lots of threads relating to the same.
    Hope it helps.
    Regards,
    Raghu

  • Implications of uploading roles from SAP 4.7 to SAP ECC 6.0 EHP 5?

    HI Gurus,
    Please tell what would be the cons for uploading the roles from SAP 4.7 to ECC6.0 EHP5.
    Would there be issues in doing the same?
    Regards,
    Sonu

    Hi Sonu,
    There me be changes in authorization object assignment for the roles. Some objects may be deleted and new objects may be addedd to the transactions.
    Instead of uploading you can better get the list of transactions for every role and create them newly in ECC 6 EHP 5 system and maintain them according to the old roles.
    Thanks,
    Kranthi

Maybe you are looking for