ECATT to mass delete singles roles from a composite

Hi,
I am creating an eCATT to delete singles roles from multiples Composites roles. The eCATT takes the same position of the single role for each composite.  And of course the single role may differ per role.
Could someone help?
Thank you in advance,
Yolanda

HI Garcia,
I didnot quite get your example as I am not familiar with the roles tables or transactions.
But, if I understood ur requirement, you want to delete all those single roles (some specific role) from a list of roles.
I am not sure how the transaction looks here, but a standard way of doing it is to record one execution of deleting the role using TCD or SAPGUI using the position button when available, entering the role name, selecting the delete button on the screen and then save.
Now, when you check the database table for the number of occurances that this type of role is present, collect the count of the table into a local parameter and execute the earlier script of deleting multiple times using DO command.
Select count from <tabname> where <role field> is <value> into <Local parameter>.
and use the earlier script with in
DO (<local parameter>).
        SCRIPT
ENDDO.
This ideally works. You can come back if u need any additional inputs.
Best regards,
Harsha

Similar Messages

  • Mass deletion of roles from users

    I want to delete all roles from locked users. Is there a specific transaction for this instead of SU10? In SU10 one has to enter the roles to remove.

    We developed our own application which locks users after a while, then removes their role assignments after a while, and then lists roles which no longer have any assignments or no one is using anything which the role authorizes.
    This way you can optimize / automate periodic controls.
    There is no standard monitoring cockpit for this, but you can use declaritive system params to destroy password based authentication.
    The real trick with periodic controls is to target the sample before you unassign and destroy roles, but the ability to do that depends on how you buikd the roles.
    Disclaimer: If you use composite roles then you have no chance. You are doomed.. ;-)
    Cheers,
    Julius

  • How to add/delete single role to/from CUA

    Hi All,
    I want to add/delete single role from CUA system. I found one FM to change roles i.e BAPI_USER_LOCACTGROUPS_ASSIGN , In function module documentation said that it will overwrites all existing roles with the roles in the table parameter.I dont want to do that. I need a FM to add/delete role to CUA system. Please help me with your suggestions.
    Thanks,
    Suman

    I am not aware of another BAPI based way to do it. You will need to get the details of the Roles AND manual profiles assigned, and then re-assign the new set in the call.
    Cheers,
    Julius

  • Delete single row from DBTAB

    Hi Experts,
    I want to delete a single row from DBTAB ( KLAH )
    WHERE KLAHKLART = '2'  and  KLAHCLINT = '241'.
    Please advice
    Karthik

    Hi ,
    Try this code  To delete single record from DB table- -
    DATA : t_klah LIKE TABLE OF klah,
           fs_klah LIKE klah.
    SELECT * FROM klah INTO TABLE t_klah
                   WHERE klart = '2' AND
                         clint = '241'.
    LOOP AT t_klah INTO fs_klah.
      DELETE klah FROM fs_klah .
      EXIT.
    ENDLOOP.
    Regards
    Pinaki

  • Add a single role to different composite roles in one step

    Hello everybody,
    I am working on SAP authorizations, and we often have the situation that a new Tcode is developed and a new role for this Tcode needs to be created.
    Than this new role needs to be added to many different composite roles (sometimes more than 100). At the moment I enter the single role to the composite role and regenerate the menu and this one by one. After that I add them with PFCG_MASS_TRANSPORT to my transport request.
    I don't want to believe that there is no easier way. Any ideas?
    Thank you
    Flo

    Hi Soma,
    great to find a place to be welcome..Thanks
    What you wrote definitely makes sense, but we agreed that every user only gets one composite role assigned and this composite role contains all single roles needed for his job. We do not assign single roles to users.
    The requirement is that every finance guy should get access to it (by the way, it is a report) unfortunately we have many different sites and may different composite roles for the different positions in the finance area.
    And I did not identify a role which is part of every composite role in the finance area, so I would either have to add it to the most common role present in these composite roles and additionally create a new role which gets assigned to the composite roles where I add the T-Code to is not present.
    -> In this example I would add one T-Code to two roles. Which our security manager disallowed me...
    or make this role available in all finance composite roles, which will give these employees access to other T-Codes which are part of the role but which they should not receive.
    -> Which again... our security manager disallowed me...
    So the only solution I imagined was to create a new role which contains this T-Code and to add this role one by one to every composite role.
    And at the end, your concept is also taken into account because the design of this role is open and if we get a new reporting T-Codes which again need to be added to all Finance guys, I definitely add it to this role
    Comments?
    Cheers
    Florian

  • How to delete a role from other role.....

    Hi All,
    I have a query like....
    I have created one new role ATH:MDC:INV3 and added two existing roles to that new role on DEV system ie Added ATH:MDC:INV2 + ATH:PUR:PMG0
    So,now i need to remove only one role ie ATH:PUR:PMG0 from ATH:MDC:INV3.
    All the 3 roles are single roles.
    Is there any way to remove/delete that role or do we need to do manually by deleting one by one authorisation,which is time taking process....
    Please give me if there could be any better way to approach....
    Thanks & Regards,
    Swapna.D
    Edited by: swapna devi on Feb 1, 2008 3:53 AM

    Doug,
    You gave me an idea. What if you create a new folder on the desktop. Select the roll above #20, which you said will also select #20, and move that roll to the desktop folder? Will roll #20 move with the one above it? If so, then you could go back to iPhoto, drag them both to the trash, delete trash (will it delete with the roll above it?), Import to Library the pictures where you put them on the desktop.
    Caution, you would probably lose some of the info from the roll you delete and re-import, like their dates, etc. So I wonder... can you select, say, half the photos in that roll and Create New Roll? Will the remaining roll still be linked to #20? If so, can you do it again and again until the linked roll only contains 1 picture? Then move it to desktop, trash in iPhoto, and re-import?
    What happens if you play with it like that?

  • Deleting single row from Special Price for Business Partners

    Hi Experts,
    How would I go about about deleting a single row from Special Prices for Business Partners across all BPs when for most of my BPs this is the only special price they have.  I have tried using Copy Discounts function but once you are down to 0 rows the record has effectively gone from the table so there is nothing to copy. 
    Hopefully I won't have to go thorugh 5000 records and delete each one idividually.
    Thanks
    Jon

    Hi Jon,
    You may try a tool called B1TCH:
    /people/community.user/blog/2007/08/19/get-your-kicks-with-di-commander
    Thanks,
    Gordon

  • Mass deletion of email from iPhone is possible with Yahoo

    I have been able to mass delete messages from my iPhone using Yahoo. I log on to the server and highlight messages in my Inbox that I want to delete and send them to the Trash folder. I then empty the Trash folder. I then log off the server. I then go to my Inbox on my iPhone, hit refresh, and once the connection is made, the email is deleted! This method of deletion only affects the messages stored in your Inbox. If you have any messages in your Trash folder on your iPhone it might be easier or quicker to move the messages back to your Inbox before deleting them. This does not work yet with Comcast.
    Message was edited by: eaflorida2

    This is the default behavior with an IMAP account. The same does not work with or applies to a POP account.
    The reason you are able to do this with the iPhone's Mail client is because you are accessing your Yahoo account as an IMAP account with Mail on your iPhone.
    Firmware update 2.0 nor any future iPhone updates will be able to provide this for a POP account - for any POP account. There is a different protocol involved with each account type which Apple, the iPhone or iPhone firmware updates have any control over nor can solve. There is nothing to solve here.

  • Creating Single Role from Many Roles

    Hi,
    Can we created a single role(not composite) from many roles?? i.e. all the authorisations of n roles being copied into a single new role??

    You can create a composite role in PFCG and just include the other roles within it. But there is no functionality to merge roles into one another.
    If you need more detail, the I suggest you ask your question in the Security Forum.
    Hope that helps.
    J. Haynes
    Denver CO US

  • Delete Single Email from sender to All Users in Exchange 2010

    Dear All,
    I have received one virus from 163.com. i want to delete all mails coming from 163.com to all users mailbox. the subject and attachment words are common so we can not delete it by attachment name or subject name.
    pls help me to delete by domain.
    Sunil
    SUNIL PATEL SYSTEM ADMINISTRATOR

    Before I do a search and remove like this, I like to run a message track first, to see how widespread the issue is. If it's only a few users who received the message, I would just run search-mailbox against their identity and remove the email. Here's an
    example of the message track I would run:
    Get-TransportServer | Invoke-Command {Get-MessageTrackingLog -Sender "[email protected]" -MessageSubject "Important information about your account" -Start "09/08/2014 00:01:00 AM" -End "09/11/2014 10:00:00 AM" | Select
    Sender,{$_.Recipients},{$_.RecipientStatus},MessageSubject,TimeStamp, EventId, Source, SourceContext,MessageId,InternalMessageId,ClientIP,ClientHostName,ServerIP,ServerHostName,ConnectorId,TotalBytes,RecipientCount,RelatedRecipientAddress,Reference,ReturnPath,MessageInfo
    | Export-Csv E:\temp\MessageTrackingLog-ShadyBiz.csv -NoTypeInformation}
    Then, if it's a few users, I get their identity info from the spreadsheet and run this on each:
    Search-Mailbox -Identity michaeld -SearchQuery subject:"Important information about your account", Sent:'09/08/2014..09/11/2014', from:'[email protected]' -TargetMailbox "ex2010security"
    -TargetFolder "ShadyBiz" -Loglevel Full -DeleteContent -Force -Confirm:$false
    This would put the found messages into a folder called ShadyBiz in a mailbox I designate, then delete the content from the user's mailbox (you could then use the info in the folder for reporting purposes
    and delete it once you are done).
    If you find you have to run this against all the mailboxes in your company, you might want to try this approach:
    $mbs=Get-Mailbox –ResultSize Unlimited | Where {($_.PrimarySMTPAddress –like ‘*yourcompany.com*’) –and ($_.RecipientTypeDetails –eq ‘UserMailbox’)}
    ForEach ($mb in $mbs) {Search-Mailbox -Identity $mb.identity -SearchQuery subject:"Important information about your account", Sent:'09/08/2014..09/11/2014', from:'[email protected]' -TargetMailbox
    "ex2010security" -TargetFolder "ShadyBiz" -Loglevel Full -DeleteContent -Force -Confirm:$false}

  • Why I can't export a single frame from my composition?

    I try to export a single frame from the cavas but motion just did nothing when I click on export. Is there something wrong with my motion setup? I have trashed the motion's plist couple times already but still having the same issue. I can't even save the project. When click on save, motion did nothing, just like export. HELP!

    I see that you are on an intel mac. Are you running the universal versions (Final Cut Studio 5.1 w/ Motion 2.1)?
    See this article for troubleshooting steps: http://docs.info.apple.com/article.html?artnum=302596.
    When I am having major issues like this, I just start over from scratch. Do a complete erase and install with the OS discs, reinstall all applications and update everything with software update. I keep a separate partition just for film and video work that I can blow away any time (I don't store any important files on it).

  • Mass deletion of TCode from roles

    Hi
    I would like to remove a certain Tcode from a list of roles. I would not like to do this manually (PFCG'ing every role). Is there another way by which this requirement can be taken care of?
    Can a ABAP program be created for this (thru table AGR_TCODES)
    best regards
    Ravi

    Hi
    From what I understand Tcode removal is a manual process (at the most what one can do is to search through the binoculars in the Menu tab to see if the Tcode is present and then manually scroll down to identify the Tcode and then delete the same)
    How can a CATT script search for a Tcode to be removed?
    best regards
    Ravi

  • How do I delete single tracks from shuffle I tried del key it didn't work

    I have the latest iTunes software and I can't mange the shuffle an ipod is easier how can I delete a single track

    Hi Antonia_13,
    Welcome to the Support Communities!
    Page 15 of the Shuffle User Manual explains how to manually remove a song:
    manuals.info.apple.com/MANUALS/1000/MA1550/en_US/iPod_shuffle_4thgen_User_Guide .pdf
    Remove a song or other item from iPod shuffle:
    1 In iTunes, select iPod shuffle in the list of devices.
    2 Select Music, Audiobooks, or Podcasts under iPod shuffle.
    3 Select a song or other item, then press the Delete or Backspace key on your keyboard.
    If you manually remove a song or other item from iPod shuffle, it isn’t deleted from your iTunes library.
    Cheers,
    - Judy

  • Delete single message from SXMB_MONI

    Hi There,
    I want to delete a single errored message from SXMB_MONI, please help
    Regards,
    Nishant

    Hi Nishant,
                         Unfortunately there is no option to do so in Integration Engine (SXMB_MONI)..
    only with the archiving job scheduled based on retention period will do so
    Rajesh

  • Mass Delete of messages from my inbox

    Hello -
    I was wondering if anyone can show me how to accomplish deleting the 30K old messages from my att.net account.
    My outlook is now hung up trying to download them.
    I did uncheck the box in the outlook that "Leaves the message on the server" but it still wants to download the 30K old messages.
    When I log onto webmail through yahoo can I wipe those out from there?
    I am very frustrated. 
    Is there a helpdesk that can be contacted to assist me?
    HELP !
    Thanks,
    JIM [edited for privacy-please do not post personal or unique information such as but not limited to full names, employee ID numbers, email addresses, phone numbers, account numbers, etc.]

    http://kb.mozillazine.org/Disappearing_mail
    I don't understand "Junk on 'account name'". Can you provide a screenshot?
    http://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem

Maybe you are looking for

  • Remove Web Application Proxy from ADFS 3.0

    We have two Web Application Proxies deployed with ADFS 3.0, however we'd like to remove one. We uninstalled the role from the server, however on the other Web Application Proxy it still shows the uninstalled server under Clustered Servers on the Remo

  • Windows 8.1 on U300S: No bluetooth and webcam

    I've just updated my U300S to Windows 8.1. Unfortunately, both the bluetooth adapter and webcam fail to show up in the device manager. Trying to install the older Windows 8 drivers doesn't help either.  Is Lenovo going to provide dedicated 8.1 driver

  • Media core - what is it all about?

    Anyone explain the difference between 'Common/Mediacore' and 'Premiere/Plugins' folders or the reason behind 'Mediacore'? Why are plugins stored in either of these? Appears to me that a plugin stored in Mediacore is available to AEFX and Premiere. If

  • How do I save a frame of video from Final Cut X to my computer?

    I am trying to save a single frame from my storyline to my computer. I used to know how to do this until they updated Final Cut X and now I can't find the option in the menues anymore. Can anybody please help me?? I am working on a project and I real

  • Content moving in ie (not safari, FF)

    I am designing a site and when previewing in FF & safari the text areas are similar in look & ok but when I preview in ie the page text flows off the page & the layout looks much larger. ex:link www.carbon9.com/home.html