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

Similar Messages

  • Removal of tcode from role

    Hi Experts,
    I need to remove tcode from role menu, my requirement is as below
    I need to go in a role, search tcode in role menu and if tcode is present in role n times then remove that tcode.
    For example tcode SU01 is present in role menu 5 times then I need to remove all these 5 occurenses.
    As of now I have developed script using SECATT to remove tcode from role but it is static one,  means I already know that tcode is present 3 times then script will search tcode three times and delete and generate profile and come out.
    I want this functionality to be dynamic, i.e. I need to enter tcode only once in data input and then script should remove all occurence of that tcode from role.
    Looking forward for expert advice and comments, please let me know if my requirement is not clear.
    Thanks,
    Ashish Mistry

    Hello,
    1. Check the data base by writing ABAP Query.
    2. Get the length of the received data eg. number of record is present in the data base for your Query.
    3. Now you know exact number of T-Code so you can delete them.
    Regards,
    Bhavesh

  • Delete query names from roles and favorites

    I deleted some of the queries in production using RSZDELETE but didn't delete those objects from roles and favorites. As the delete option is disabled in query dsigner and bex analyzer, I m looking for other ways to delete the query names from roles and favorites folders

    PFCG is surely one of the ways to delete queries assigned to a role. But i doubt you might have access to tat tcode in production.
    If you are looking towards deleting the queries from roles and favorites using Bex analyzer, you need specific authorizations. If you have those authorizations you can surely delete the queries from roles and favorites using Bex analyzer.
    Hope this helps.
    Regards
    Gaurav

  • BDC to PFCG (Delete Authority Objects from Roles.)

    When we try to change an authority object it gives an error message saying that 'This authority object is used in roles XXX'.
    To remove Authority Ojects from roles, transaction PFCG is used. But the problem is that BDC is almost impossible to PFCG.
    Is there any way you can suggest us to change an authority object when it is assigned to a role or how we can BDC delete authority object from a role or a function/badi we can call to achieve this.
    This is a very high level question.

    Hi
    U should consider PFCG trx is enjoy trx so it's not suitable for BDC, what doesn't mean you can't do a BDC program for that trx but it won't be easy.
    Anyway you can know the users assigned to certain profile reading table AGR_USERS. I believe PFCG shows them sorted alphabetical, so you can know the position where an user should be, after u should use PAGE UP and PAGE DOWN command to scroll the table control.
    Max

  • 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.

  • Deleting unused transactions from roles

    I am planning for unused transaction cleanup activity for SAP roles as mentioned below.
    There are lot of roles which are copied from SAP menu due to which they consist of around 1000 transactions. Now I know there will be around 50 transactions which might be used and rest of them not used at all.  I have made the strategy to find all the transactions which are not used during the last 3 months(using ST03N) and than consult the list with the role owners and delete the unused transactions.
    I would like to know whether this is the correct strategy to follow, will the ST03N data-> transactional profile provides the relevant data to sort out the transactions not used in last 3 months.  Please suggest or any alternative strategy can be followed. I know about sm19 audit log, but the problem is that it cannot be activated for all the users due to file space and performance issues.
    Regards,
    Sanjay

    There are lot of roles which are copied from SAP menu due to which they consist of around 1000 transactions.
    I am tempted to move this to the Test&Playground forum, because that is what building authorization roles from SAP Menü navigation nodes is.
    If course if you do not care and it is better than manual profiles then it is not all bad, so I will leave it here in the security forum fir now.
    From my side, if you have no clue... then go for the SAP standard roles and copy them into your own namepsace and work from there to start with. Check the objects included against audit check lists as step two. Take a closer look when you have a chance as step three (there are many manual auths in there...). You will be better off this ways than inventing roles of your own without any tcode or blue-print infos.
    I would however still not call it "best practice" and it will backfire over time, but it can be done in a few days (so that you can get your bones out of the project and onto the next one without learning about the pain-points).
    Eventually you become a professional bull-*******...
    Cheers,
    Julius

  • Delete a tcode from transport request

    I have accidently assigned a transaction, which belongs to
    tax report to the transport of sapscript. How do I remove the transaction.
    I have tried to delete from the menu, but the System says, I am not authorized.
    Is there any other way to remove the transaction from the transport

    Hello,
    Go to Tcode SE09 and click display.
    U will see ur TR number .
    OPen the + sign. YOu will see the object that is the tcode which is addeed wrongly,
    Place the cursor on it and click delete button.
    Vasanth

  • 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

  • How do I mass delete email from Trash folder?

    Is there an easy way to mass delete the emails from the trash folder?

    In your settings>mail>account>advanced, there is a way you can set it to self delete after 1 day. This is the earliest setting to self delete the mails. If you need to delete all of them right away. Just open one of the mails and press the trash can icon at bottom. It automatically opens the next mail and you can just sit there thumbing the trash can until all are gone. Works for me, both ways.

  • Unable to remove tcode from PFCG

    I deleted the tcode from Menu tab, saved the change. Went to Authorization tab>Change Authorization Data> S_TCODE. The tcode still listed under it.
    I tried again by adding tcode in the Menu and generate the role thru PFCG. I went back again and deleted the tcode from menu, went to Authorization > tabAuthorization tab>Change Authorization Data--> S_TCODE. The tcode still listed under it.
    Can anyone please help me to resolve this ?
    Thank you
    Madhu

    Hi Madhu,
    When you say the tcode is under S_TCODE in Authorization Data do you see 2 instances of S_TCODE?
    As it is possible that someone has previously 'Manually' added the object S_TCODE and manually written the transaction into that object instance, therefore when you delete from the menu it only deletes the S_TCODE entry it knows about, not any manual entries.
    Try removing the tcode from the menu, open change authorization data and try delete the tcode from S_TCODE.
    Generate and all should be well.
    Regards
    Ashley

  • How do i delete all messages from my email?

    I had a server problem over the weekend and all of my email messages that i got from day #1 are reloading as new, unread mail. How can i delete them all(thousands). I'm using outlook and have not been able to sync my Inbox. Contacts and all else is fine.???

    Check your account settings with Outlook for removing or deleting messages from the server when downloaded by Outlook.
    The iPhone's email client includes the same settings, as do all email clients for a POP account.
    I would handle this with Outlook. Delete and recreate the account with Outlook, and before checking the account for new message with Outlook, select remove or deleted messages from the server when downloaded for the account preferences with Outlook.
    All messages available on the server will be downloaded again by Outlook, and removed from the server when doing so. You can mass delete all messages from Outlook.
    When deleting and recreating the account with the iPhone's Mail client, none of these messages will be downloaded by the iPhone's Mail client after being removed from the server when downloaded by Outlook.
    Or since you likely have webmail access for this account using a browser, you can mass delete all messages available on the server via webmail access. After deleting the messages from the server, delete and recreate the account with the iPhone's Mail client.
    An IMAP account is much easier in this regard, which is designed to be accessed with multiple email clients on different computers or devices.
    A POP account is designed to be accessed with a single email client on one computer or device.

  • Mass Delete SMS Messages in iOS4

    I am a sysadmin and I get TONS of SMS messages and I need to purge them on a regular basis to keep sane.
    In the past, I had been using PhoneView to mass delete SMS messages from my iPhone, but Apple has apparently changed how the SMS messages are managed and PhoneView has permanently discontinued this functionality.
    Is anyone aware of any products or methods for mass deleting SMS messages in iOS4?

    Same problem here. I have over 1000 msgs that need deleting. Been waiting years for this "obvious" feature. I can't believe they didn't fix this in iOS4. So, love to hear if there's an app for that.

  • How do I delete unwanted folder from my email?

    I am using yahoo email and was wondering is there a way to delete unwanted folders from my email? I have tried deleting them but I get a blank box and can't proceed until I name the folder that I do not want. Any ideas will be appreciated. Thank you.

    Check your account settings with Outlook for removing or deleting messages from the server when downloaded by Outlook.
    The iPhone's email client includes the same settings, as do all email clients for a POP account.
    I would handle this with Outlook. Delete and recreate the account with Outlook, and before checking the account for new message with Outlook, select remove or deleted messages from the server when downloaded for the account preferences with Outlook.
    All messages available on the server will be downloaded again by Outlook, and removed from the server when doing so. You can mass delete all messages from Outlook.
    When deleting and recreating the account with the iPhone's Mail client, none of these messages will be downloaded by the iPhone's Mail client after being removed from the server when downloaded by Outlook.
    Or since you likely have webmail access for this account using a browser, you can mass delete all messages available on the server via webmail access. After deleting the messages from the server, delete and recreate the account with the iPhone's Mail client.
    An IMAP account is much easier in this regard, which is designed to be accessed with multiple email clients on different computers or devices.
    A POP account is designed to be accessed with a single email client on one computer or device.

  • 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

  • Mass deletion of Forecast & Backlog Confirmatin from APO

    Hello All,
                       Is there any transaction to delete the backlog Forecast & Confirmation from APO. Can MC75 transaciton in R/3 delete the Forecast from APO in mass. In current senario I am doing manual deletion of backlog Confirmation  every month. Can any transaciton help me in same ??
    Thanks in advance

    Hi Mohit,
    You can use TCode- /sapapo//rlcdel, which is the same as the report in SE38- /sapapo/rlcdelete. chose 'select object by categories'. Put the order category as F*, put the date range, planning version, product and location and execute. This will delete the forecasts for the particular product/loc.
    -Manotosh

Maybe you are looking for

  • How do I stop receiving two alerts for a text??

    When I receive a text if I do not view or clear the message within 60 seconds I receive another ding or alert for the same text 60 seconds later. How do I edit my messages so I only receive 1 alert per text?? Thanks

  • Validation on a text field

    i want to put a validation on a text field such that only numeric values can be entered in that text field. how should i go about it??

  • Problem delivering XLS File

    Hi In my application, i have a module that has to deliver a XLS file, that was previously uploaded. This is the code i am using for it: BufferedInputStream bis = null; BufferedOutputStream bos = null; try { String filePath = "thePhisicalPathToTheXLSF

  • Running out of memory with Tomcat !!!!!

    Hello gurus and good folk: How can I ensure that the a JSP page that sets a ResultSet doesn't run out of memory? I have set the X flag to j2Se to be 1024mb and still runs out of memory! The size of the data being queried is only 30 MB. One would thin

  • Unable to download music from itunes onto ipod

    I recently downloaded some music from itunes and naturally went to transfer the music to my ipod. So i dragged the selected songs onto my ipod icon, it started to copy then it freezes and causes itunes to crash, inturn making me have to reset my comp