Need to delet or assign individual roles without changing all existing role

Hi
I am looking for a way in order to delete or add single roles without touching all other roles a user has.
I found various BAPI_USER_* , however they always change the entire role assignment.
Does anybody got an idea or an associated BAPI`?
Thanks a lot,
Kind regards,
Mingolo

Hello Minima
The corresponding BAPI is BAPI_USER_ACTGROUPS_ASSIGN. In to delete only specific roles you first have to read the assigned roles of the user using BAPI BAPI_USER_GET_DETAIL.
Now here the procedure:
(1) Read the assigned roles for a given user using BAPI_USER_GET_DETAIL. The roles are returned in TABLES parameter  ACTIVITYGROUPS.
(2) Delete the role you want to unassigned from ACTIVITYGROUPS.
(3) Change the user using BAPI_USER_ACTGROUPS_ASSIGN with the modified list of roles (in ACTIVITYGROUPS).
The logic behind this is as follows:
- the BAPI BAPI_USER_ACTGROUPS_ASSIGN compared the imported list of roles with the currently assigned roles.
- If one is missing, it is unassigned.
- If one is new, it is assigned.
- All others role assignements remain.
Regards
   Uwe

Similar Messages

  • Track new roles / change in existing roles

    Hi,
    I have a requirement to track the creation of new role OR changes to existing role in the system. In either case I have to send an email to the group of people.
    I tried to find the enhancements but found nothing useful.
    Basically, I need to find how can I track the even for creation / change of a role...
    Please help me out to find the solution for this...
    Thanks,
    Gagan Chodhry

    Hi Atish,
    Thanks for the reply...
    No, I tried to find the enhancements, but could not get the one I need...
    I found couple of things more like transaction PFAC_CHG / PFAC_INS for change or create role, but not sure how  exactly to use these... if these are the correct one to be used....
    Thanks,
    Gagan Chodhry

  • I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?

    I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?
    Thanks!
    David

    Either of these should help.
    http://grandperspectiv.sourceforge.net/
    http://www.whatsizemac.com/
    Or search 'disk size' in the App Store.
    Be carefull with what you delete & have a backup BEFORE you start, you may also want to reboot to try to free any memory that may have been written to disk.

  • Delete all existing roles

    Hello,
    we 're using the GRC Provisioning Framework (with IDM 7.1 SP4 and GRC 5.3 SP10_1) and want to delete all existing roles from a user bevor we set new roles to him.
    Is there a general command to do this or have the existing roles to be known?
    Thanks,
    Carsten

    Hello Christian,
    thanks for the quick answer. I'm talking about privileges.
    In the To Identity Store, is it enough to set:
    MSKEYVALUE                   -
       %MSKEYVALUE%
    MXREF_MX_PRIVILEGE     -
    Or do I have to set all existing roles behind the (like priv:grc:xxxx)?
    Thanks,
    Carsten

  • TS1702 I need to delete an empty folder. I tried all of the possible things to delete it, but still whitout any luck. Restarted the phone, updated software, etc... Please help ! Thank you.

    I need to delete an empty folder. I tried all of the possible things to delete it, but still whitout any luck. Restarted the phone, updated software, etc... Please help ! Thank you.

    Try to drag an app into folder and then drag it out.
    Or reset you iPhone. Hold down Power and Home buttons until Apple logo appears. Release and wait to reboot.

  • How can I move an event in my calendar to my "completed" calendar without changing all the events in the series?

    How can I move an event in my calendar to my "completed" calendar without changing all the events in the series?
    As Apple has yet to upgrade iCalendar so I can check off my events as I complete them (no, I do not want to use a task list/reminder list), I want to be able to move my events to my "completed" events calendar as I complete them. The issue is that most of my events are repeating events, and it changes the entire series. How do I change only the event I clicked on using my iPhone?
    Thanks

    If you change anything in a repeating calendar entry it will give you the option of disconnecting it from the series. So may any random change, choose to not change the series.

  • HT201210 how can i retrieve texts from an earlier back up without changing all the other settings on my iphone?

    how can i retrieve texts from an earlier back up without changing all the other settings on my iphone?

    You can't. Restoring from a backup is all or none.
    You can use a utility such as this one to extract the messages from the backup on your computer but you can't re-transfer the messages to the Messages app on your iPhone.
    http://msb.macsupport-pr.com/

  • How to name individual clips without changing the name of the original file...?

    Hi,
    Theres likely to be a really simple solution to this, but i can't find it! I've done my in & out points, i've created a new clip and i'd like to give it a unique name. When i rename the clip the original file name also changes. How can i rename the new clip without changing the original file name?
    Please help,
    Thanks
    Ed

    Either make the clip a subclip or convert it to a new master clip. Both can be done in the Modify menu.

  • How to quickly delete contact in message screen without going all the way to contacts screen?

    If I get a message from Jessica and I decide to delete her as a contact in my iphone how can I do that without having to go back to my contacts list that contains 6500 entries and delete her? thanks

    yeah forget it. iphone is so stupid. on blackberry I can just go directly to her name and delete her right there whereas on iphone if u go directly to her name and click edit there will be no option to delete her contact. u need to exit that screen, go to main menu then go to contacts then find her name again (among my 6500 contacts; i actually found an easier way so now I copy paste that person's name and find it easier that way in contacts) and then click edit and then go to the bottom of that edit page and click delete. very annoying and slow. some iphone feature are just inexplainably slow, long and annoying.
    <Edited By Host>

  • HT5085 I need to delete a movie that isn't downloaded all the way on my 5s

    I have an iPhone 5s I've got a movie that I have downloaded but not all the way and I want to delete it I've swiped it left and right I've held it down still nothing please help

    Thanks for the reply but it doesn't do anything if I try and delete it as you said.  I go to the store, it shows it there but won't let me do anything with it & when I try & download or update anything now it just shows the app as blank no photo & won't update or download just says 'update' I click to update & nothing happens. it shows as a grey square on the main screen and says waiting. Well life is too short I will have passed away by the time anything actually decides to work! Getting really fed up with ' Apple'.

  • How to install the Solairs 9 without change my existing partition?

    I got 2 partitions on my hard drive: 1)Primary partition, running Win2000, occupied 40% of my hard drive.
    2)Ext partition, which divided into two drives E & F. I want to install the Solaris 9 on the E drive with out change to other drives(C,F).
    Q1: Which following selection I should choose from the Installation program: 1) Create a partition 2) Specify the active partition 3) Delete a partition 4) Exit 5)Cancel
    Q2: Is there any detailed installation info for those who just want to add Solaris to their existing parition?e.g: How to set up SWAP drive?
    Thanks,
    New to Solaris

    I cannot advocate strongly enough that you get a removable hard drive enclosure. I have these on three of my PCs and it's a god-send.
    It's a unit that sits in one of your 5-1/4" bays and attaches to your regular IDE cable. Each hard drive that you want to swap out is in its own tray. When you want to boot to a new operating system, shut down and switch trays. It adds about 10 seconds (if that) to the reboot that you would have to do anyway to get to the other operating system. With this method you have absolutely no need to mess with dual-booting since each operating system will have its own hard drive.
    They're not expensive either. The appropriate products from Lian-Li used to be about $25 for the 5-1/4" enclosure and one drive tray and about $17 for each additional drive tray. There are similar products available fromStarTech. They're of a higher quality but are more expensive.
    Trust me. Get a removable hard drive kit. You'll never want to mess with dual-booting software again. I know that I never will.

  • Integrate new MA without changing the existing environment

    Hi,
    Can any one please suggest me for the below scenario.
    Consider in the current environment. , we have deployed FIM sync server  and configured three management agent of type ADDS. There are some rule extension deployed for exchange and Lync. FIM Portal and MS Bhold is not installed and used. Total
    number of user are 15k.
    Now we have new requirement to integrate a new  AD and  new  Ldap management agent to provision and  provision  500 user.
    For these new 500 users, we also need FIM Portal and MS Bhold.
    We don't want to make any  change in the existing  configured MA. Can we implement like this.
    1. Install FIM Portal and MS bhold on the  existing server on which FIM syn server is already installed.
    2. Configured the new management  for new AD and Ldap.
    3. Configured the FIMMA to allow only the new 500 user to provision in FIMService based on some criteria  which can get from the new AD and Ldap.
    4. Do the required configuration of MPR,Syn rule etc in FIM Portal.
    5 .Do the configuration  export and import the user in Bhold  for only new 500 users to approval, groups management etc.
    OR
    Install the FIM Portal and Bhold and then reconfigure the all exiting management agent using  the FIM Portal GUI.
    Please suggest which is best way. If we need to reconfigure the all the existing MA using FIM Portal or just install the FIM Portal and Bhold and configure the  required MA for new 500 users only.
    Thanks
    Harry

    Thanks Dominik for your response,
    So it means there will not be any performance issue if we keeps existing MA in Synchronization server (without FIM Portal) and install the FIM portal and Bhold to manage and create new AD and LDAP MA for new 500 users using FIM Portal GUI.
    As well as per my understanding, only  500 cals  Licence will be required because only new 500 users will be managed by FIM Portal (FIMService) and MS Bhold. Cals license will not be required for rest old 15K user  because these
    will be managed by only by Synchronization server(FIMSynchronizationService ) not FIMSevice.
    Please correct me.
    Thanks
    Harry

  • Design to integrate new code without changing the existing code

    I have a timer class which will measure the time taken for the method to execute. I want to integrate this to my present code base. basically the timer class just starts the time at the start of the method and once the method completes it subtract the final time from the start time to give me total time spent in this method. I was wondering if there's a way by which i can integrate my timer without actually changing my methods.I have to start the timer when the method is going to execute and end the timer once it has finished executing. Any design pattern you think could help me?

    javanewbie80 wrote:
    I was wondering if there's a way by which i can integrate my timer without actually changing my methods.I have to start the timer when the method is going to execute and end the timer once it has finished executing. Any design pattern you think could help me?Those are contradictory and exclusive.
    A design pattern represents an idiom, generalized from several specific examples, of commond coding practices.
    Thus if you use it is is code.
    So the question has nothing to do with a design pattern.
    As for the other part of the question, as suggested AOP or generally code injection.
    You might note as well that there are already commercial applications and probably non-commercial as well that exist to time application run time and the method level.

  • How to configure roles at runtime without changing application code?

    Hi,
    We have implemented Custom Login Module security for our application. Our requirement is to configure the roles without changing the application code.
    Our Authentication Type is 'JAAS With Custom Login Module' and Authorization Type is 'JAAS'.
    According to 10.1.3 section of JhsDevGuide1013.pdf, we need to configure the roles in web.xml and also need to give the role in the 'Authorized roles/permissions' section of the group.
    We dont want to change the application definition once we go live just for adding roles. That is overhead for us as we may need to configure more roles according to our business requirements, but each time we dont want to change the code and re-deploy the application.
    Please let us know the way to meet our requirement.
    Thanks in advance.
    Thanks & Regards,
    Ramakrishna. P

    Hello,
    The JHeadstart Developers Guide has an excellent chapter about security to answer questions like these.
    For example, you could use the JHeadstart based custom security, with datatables, that will enable you to add roles and users at runtime.
    Regards,
    Evert-Jan de Bruin
    JHeadstart Team

  • Need to delete data from main table and all child tables ...

    hi all,
    i need to delete rows pertaining to perticular table and all the child
    tables basing on certain code.i need to write a procedure to which i will
    pass the table name and code..
    like del_info(tab_name,code)
    example:
    suppose if i call as del_info(clients,760)
    the procedure should delete all info reg. code 760
    and the table clients and also all the child records of this table
    perting to code 760.
    simply .. i need to delete from the table passed and also
    all the child tables down the heirarchy regarding certain code ...
    help ???
    Ravi Kumar M

    Hi,
    Depends how you defined referential integrity.
    You can use ON DELETE CASCADE, please read the next doc http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/clauses3a.htm#1002692
    Hope this help you,
    Nicolas.

Maybe you are looking for

  • PSE 7 Organizer shows all pictures instead of the selected ones

    When i make a selectin in the organizer it will always show all pictures instead of only the selection. This also happens when i create a smart photoalbum, it includes all photo's. It only adds a "not-selected sign" to the photo, but it will still sh

  • HT1752 Where can I obtain a new battery for my ipod U2 Special edition?

    Hello, I have the U2 ipod. I need a new battery but the Apple store cannot assist me. Any feedback from the community regarding obtaining a new battery? Thank you, Deborah 146

  • Other language

    I am trying to translate my site to russian, but the server ( not .mac) doesn't see other characters, specially if I have page names in russian. Anybody with similar problem?

  • Help export the graphic with transparent background and not braking the quality

    hi I'd like some help please if its possible. I've created a monitor graphic in Fireworks that looks like iMac and I would like to export it with transparent background. the jpeg format looks great with no damage to the graphic at all but I can't hav

  • Safari does not renew RSS

    Since the update to 10.4.8 Safari doesn't work right with the RSS-Feeds. Safari doesn't look for new feeds anymore. When I move to the sites manually, they are shown in orange for beeing new but there is no announcements from Safari (number after the