RSUSR002 not giving the full story (from an IT Auditor)

From an IT auditor - old hand at IT - new to SAP
I run RSUSR002 and input S_TCODE as the auth object and SE30 as the program name. 
Mu userid appears on the resulting report, as someone who can run SE30.  But, when I try SE30 I am blocked and told I'm not authorized (good).
So, where do I look, to get the truth about which transactions our users can REALLY execute?  At the moment it looks qwide open, but clearly its not.  Do I have to buy Virsa ?!

+"Is there any clever report/program out there that will tell me that users A + B can successfully run transaction XXXX - i.e. something that will dig a bit deeper and go to the auth objects for these transactions?"+
RSUSR002 is reasonably clever for this, even more so if you have synchronized the UST* tables with the USR* tables. But reasonably clever does unfortunately not make it reasonably easy nor anywhere near complete. The question is which objects/fields/values to check using rsusr002 to get the correct answer for the risk you are auditing, considering that the user might have many navigation paths available to get there, possibly also from other clients or systems. You get most of this tricky information from the authority-checks in the application coding, the SU24 check indicators, some customizing settings when used, and some system parameters.
In the case of SE30, it has nothing to do with the transaction code, considering the risk. (You are probably blocked because of an S_DEVELOP 03 check at start of SE30 - go to SA38 or some other report starter and run report RSHOWTIM or use the "performance analysis" via the menu of SE38. Same thing... sort of)
These are the obvious risks to audit:
  CALL FUNCTION 'TR_SYS_PARAMS'
       IMPORTING
            SYSTEMEDIT         = SYSTEMLOCK
            SYS_CLIINDDEP_EDIT = SYS_CLIINDDEP_LOCK
       EXCEPTIONS
            NO_SYSTEMNAME      = 1
            NO_SYSTEMTYPE      = 2
            OTHERS             = 3.
  IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE 'S' NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    EXIT.
  ENDIF.
  IF   SYSTEMLOCK <> 'N' AND
     ( SYS_CLIINDDEP_LOCK = ' ' OR SYS_CLIINDDEP_LOCK = '1' ).
*   system is not locked, component locked ?
    CALL FUNCTION 'TR_GET_DLVUNIT_CHANGEABILITY'
         EXPORTING
              IV_DLVUNIT       = 'LOCAL'
         IMPORTING
              EV_CHANGEABILITY = CHANGEABILITY
         EXCEPTIONS
              INVALID_DLVUNIT  = 1
              OTHERS           = 2.
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE 'S' NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      EXIT.
    ENDIF.
    IF CHANGEABILITY = 'N'.
      MESSAGE S400(S7).
      EXIT.
    ENDIF.
  ELSE.
* system locked
    MESSAGE S840(TR).
    EXIT.
  ENDIF.
  AUTHORITY-CHECK OBJECT 'S_DEVELOP'
                  ID     'OBJTYPE'   FIELD 'PROG'
                  ID     'DEVCLASS'         DUMMY
                  ID     'P_GROUP'          DUMMY
                  ID     'OBJNAME'          DUMMY
                  ID     'ACTVT'     FIELD '02'.
(check that the system is not modifiable in SE06, check SCU3 for table T000 that the clients are not open (and ask for documentation when they were) and use rsusr002 for S_DEVELOP actvt 02 object type PROG)
or
FORM in_authority_check.
* ec Dez. 2002 auf ACTVT 16 explizit prüfen!!
*  authority-check object 'S_DEVELOP'
*           id 'DEVCLASS' dummy
*           id 'OBJTYPE' field 'FUGR'
*           id 'OBJNAME' field rs38l-area
*           id 'P_GROUP' dummy
*           id 'ACTVT' field '03'.
  AUTHORITY-CHECK OBJECT 'S_DEVELOP'
           ID 'DEVCLASS' DUMMY
           ID 'OBJTYPE' FIELD 'FUGR'
           ID 'OBJNAME' FIELD rs38l-area
           ID 'P_GROUP' DUMMY
           ID 'ACTVT' FIELD '16'.
  IF sy-subrc NE 0.
    MESSAGE e099.
  ENDIF.
  IF trdir-name = g_testprog.
* Authority-Check, Ausführberechtigung
    CALL FUNCTION 'RS_ABAPSUBMIT_AUTH'
      EXPORTING
        program_header   = trdir
        variant          = ' '
      EXCEPTIONS
        just_via_variant = 01
        no_submit_auth   = 02.
    IF sy-subrc NE 0.
      MESSAGE e099.
      LEAVE.
    ENDIF.
  ENDIF.
(rsusr002 for s_develop actvt 16 object type FUGR -> nothing else, unless you are on a release lower than 6.40 and have not manually implemented OSS 587410, in which case check s_develop 03 FUGR only)
This is the easiest way I can think of auditing most of "SE30".
Also note that once someone gets their hands on authorizations such as these the chances of finding them via RSUSR002 or such tools will decrease rapidly.
Cheers,
Julius

Similar Messages

  • Why is word not receiving the full document from reader?

    When I convert a PDF document to a word document, some of the document is coming across correctly. How do I fix this?

    Can you share a sample of the original and converted documents (http://forums.adobe.com/thread/1408375)?
    [topic moved to ExportPDF forum]

  • App.activeDocument.name  not giving the new name entered in save as option from the script

    When I open a document and use save as option and enter a new name. The app.activeDocument.name object is still giving me the old file name, it not giving the new file name that was entered in the save as option. However this issue is comming when I open a document and use the save as option for the first time. From then on for any number of times I use the save as option it gives me the new name.

    Hi,
    In my case I am calling the script from my AI plugin(this is developed in c++) .  My plugin will be called when ever there is a event,  suppose I do ctrl+shift+s ( i,e File > Save as from Illustrator) , then my plugin will call the script.
    Script that I am using:
       var doc = app.activeDocument;
       alert (doc.name);
       var dest;
       var options= new IllustratorSaveOptions();
       dest = new File(app.activeDocument.path + '/' + doc.name);      
       doc.saveAs(dest, options);

  • I'm upgrade from PC to iMac can I just purchase upgrade revision of Lightroom 5 I currently have 4 and not pay the full version price?   Same with Elements 12?  Thanks

    I'm upgrade from PC to iMac can I just purchase upgrade revision of Lightroom 5 I currently have 4 and not pay the full version price?   Same with Elements 12?  Thanks

    lr and pse are both cross-platform apps so you can use both pc and mac versions with those programs.
    for most adobe apps though, How to Move Adobe CC or CS6 Between Computers, or PC to Mac | ProDesignTools

  • Why don't pictures from a slideshow made in iPhoto and then burned on to a DVD in iDVD not use the full screen?

    Why don't pictures from a slideshow made in iPhoto and then burned on to a DVD in iDVD not use the full screen?

    All I want to do is send my family the pictures for them to be able to see them on most dvds and use manually control.
    If you want set top DVD player playback, I suggest you create a a series of slideshows IN iDVD that each contain a MAXIMUM of 99 images. Do not create the slideshow in iPhoto or iMovie.
    Is there an easier way to do this, bypassing iDVD?
    Some DVD players will play a disc containing jpeg images

  • HT1689 Where can I find my balance from a gift card.. I did not use the full amount

    Where can I find my balance from a gift card.. I did not use the full Amount

    My account's balance shows at the top left of the store's page on my computer's iTunes, and by logging in to view my account via the Store > View Account menu option. On my devices it shows at the bottom of, for example, the Featured tab in the App Store app under my account id (or you can view your account via Settings > iTunes & App Stores and it should show on the screen that you are taken to)

  • Adobe Bridge does not accept the NEF files from my new Nikon D800. I use the latest version, there a

    Adobe Bridge does not accept the NEF files from my new Nikon D800. I use the latest version, there are no updates

    Hi,
    CS6
    Van: R_Kelly [email protected]
    Verzonden: maandag 16 september 2013 18:42
    Aan: Hans van Sloten
    Onderwerp: Adobe Bridge does not accept the NEF files from my new Nikon D800. I use the latest version, there a
    Re: Adobe Bridge does not accept the NEF files from my new Nikon D800. I use the latest version, there a
    created by R_Kelly <http://forums.adobe.com/people/R_Kelly>  in Photoshop for Beginners - View the full discussion <http://forums.adobe.com/message/5686078#5686078

  • I have iphoto11 but do not have the full screen icon at the bottom left hand corner of the screen. where is it?

    I am using  iphoto11 in OS lion but do not have the full screen icon at the bottom left hand corner of the screen. where is it?

    Shift - command - f  is the short cut to go to full screen - esc will return from Full screen to normal
    as far as to where the commands are - I am (and everyone her is) a user just like yourself - we can (sometimes) help with how to use iPhoto - we can not explain why Apple makes decisions nor can we make or affect any changes
    LN

  • Get_ddl Not giving the entire DDL

    Hi,
    SQL> select dbms_metadata.get_ddl('TABLE','CS_CSG_SYSTEMS') from dual;
    DBMS_METADATA.GET_DDL('TABLE','CS_CSG_SYSTEMS')
      CREATE TABLE "CUSTSRV"."CS_CSG_SYSTEMS"
       (    "RECORD_NO" NUMBER(15,0),
            "SY
    SQL> desc cs_csg_systems;
    Name                                      Null?    Type
    RECORD_NO                                 NOT NULL NUMBER(15)
    SYSTEM_NO                                          NUMBER(15)
    APP_TYPE                                           VARCHAR2(20)
    SUB_APP_TYPE                                       VARCHAR2(20)
    INCLUDE_FLAG                                       NUMBER(1)
    PRIN_NO                                            NUMBER(4)Why is the get_ddl function not giving the entire ddl ?
    Thanks
    Rajiv

    I think this is it ?
    SQL> set long 2000
    SQL> select dbms_metadata.get_ddl('TABLE','CS_CSG_SYSTEMS') from dual;
    DBMS_METADATA.GET_DDL('TABLE','CS_CSG_SYSTEMS')
      CREATE TABLE "CUSTSRV"."CS_CSG_SYSTEMS"
       (    "RECORD_NO" NUMBER(15,0),
            "SYSTEM_NO" NUMBER(15,0),
            "APP_TYPE" VARCHAR2(20),
            "SUB_APP_TYPE" VARCHAR2(20),
            "INCLUDE_FLAG" NUMBER(1,0),
            "PRIN_NO" NUMBER(4,0),
             CONSTRAINT "CS_CSG_SYSTEMS_PK" PRIMARY KEY ("RECORD_NO")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
      STORAGE(INITIAL 524288 NEXT 524288 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "CUST_SML_X"  ENABLE
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "CUST_SML_D"

  • Google search results page is not showing the full (green) http link

    google search results page is not showing the full (green) http link

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    You can also check for problems caused by extensions.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can do a check for corrupted and duplicate fonts and other font issues:
    *http://www.thexlab.com/faqs/multipleappsquit.html - Font Book 2.0 Help: Checking for damaged fonts
    *http://www.creativetechs.com/iq/garbled_fonts_troubleshooting_guide.html

  • On my new Imac, I had the trial version of Pages, and saved some files in it. Now I have purchased the full version from Apple via a download, but I cannot save or print the old files, please help!

    On my new Imac I saved some files on the free trial version of Pages, since downloading the full version from Apple, have been unable to save or print from old files saved when using the trial version. Any ideas? Thank you!

    My guess is the 30-day trial period has expired but you didn't remove the trial before installing the full version. The files to delete are the iWork ’09 folder from the main HD > Applications; the iWork ’09 folder in HD > Library > Application Support & the individual iWork application plist files found in HD > Users > (your account) > Library > Preferences for each user.
    Yvan Koenig has written an AppleScript that removes the files. You can find it on his iDisk in For_iWork > iWork '09 > uninstall iWork '09.zip.

  • Why does the new operating system not delete the moved files from their original location - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it

    Why does the new operating system not delete the moved files from their original locations - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it - also, when transferring large amounts of files it becomes a very large problem remembering which files were transferred and which not.

    You're going to need to be more specific, as I'm not quite sure I understand what you're talking about.
    If you're referring to copying from an external hard drive or flash drive, and you want to actually move files rather than copy them, you can hold down the option key to force it to do a "move" rather than a "copy." This is not new behavior, though... the Mac OS has worked this way as long as I can recall (and I've been using it since 1984).
    If you're having a problem with trying to move files from one place to another on a single drive causing them to be copied instead, that is likely because of some permissions issue preventing you from actually being able to move them.

  • Adobe Lightroom, Photoshop and Bridge does not recognize the raw files from my Canon Mark III 5D Camera.

    Adobe Lightroom, Photoshop and Bridge does not recognize the raw files from my new Canon Mark III 5D Camera.  How can I get my files open to view and edit?  I am using LR3, Photoshop CS3 and Bridge CS3.  Do I need to upgrade these programs or is there another way to get these programs to recognize my files?
    When I try opening the raw images in Lightroom, the thumbnails say "Preview unavailable for this file"  ... when I click "import" an error message pops up that says "The files are from a camera which is not recognized by the raw format support in Lightroom."
    When I try opening the raw images in Photoshop, an error message pops up saying "could not complete your request because photoshop does not recognize this type of file."
    When I try opening the raw images in Bridge, it just shows an icon with the file name and CR2.
    Please help!!!

    Unless I missed an announcement, today, LR6 isn't available, yet, right?  Only Adobe employees and beta testers would know what LR6 does differently at this point and they're all sworn to secrecy.
    LR5 is available as a standalone version.
    PS-CS6 is available as a serial-number-licensed version.
    PS-CC + LR5 are also available as a Photography Plan subscription for $10/month with a minimum OS versions of OSX 10.7 (and probably 10.8, soon) and Windows 7.
    Bridge is part of PS, not a separate program.
    LR5 standalone and LR+PS-CC plan are both available on this page:  http://www.adobe.com/products/catalog/software.html
    PS-CS6 can be found on this page:  Creative Suite 6 which can be found by searching www.adobe.com for Photoshop CS6 and clicking the Buy link in the on-the-fly search results.
    As with any new Adobe software, it might be wise to run it in trial mode for a few days/weeks to see if it works well with your computer, before purchasing and finding out you might need a new computer, first.

  • I have upgrade ios 6 to ios7 on my iphone 5.  I do NOT like it.  I want to come back to the previosu version.  why is it so complicated.  Why can I not find the instruction strait from apple? This is the worst possible upgrade ever.

    I have upgrade ios 6 to ios7 on my iphone 5.  I do NOT like it at all.   I want to come back to the previous version.  why is it so complicated? Why can I not find the instruction strait from apple? This is the worst possible upgrade ever.  It make me think of when ericsson got sold to Sony....drastic PC change.
    I would like to have simple instruction on how to downgrade.
    It feel like a change that I did not ask for , ok I push the upgrade buttom, but really this is the worst update aver!
    HELP!

    iPhone User Guide (For iOS 7 Software)Sep 20, 2013 - 23 MB

  • Inter company PO is not pulling the valuation price from Material Master

    Hi Experts,
    We have a scenario, Inter-company PO with pricing procedure which pulls Material Price from Material Master (Std Price), similar to intra company PO
    Even after maintaining the std price in the supplying plant , system is not pulling the Valuation price from Material master only for a particular Material
    I checked the Plant level attributes ( for ex: Plant Mat status, client level status and everything looks fine )
    Could you guys please mention what would be the issue ?
    Thanks in advance
    Illayaraja

    Hi,
    Is there a routine which pulls the value? then you need debug with ABAP help for that routine where its failing to pull
    Thanks
    Diwakar

Maybe you are looking for

  • CC applications will open in Mavericks, but actual project files crash them

    Haven't seen this one exactly yet here, though I get the feeling the answer will be the same:  solution coming soon, which is actually fine.  But FYI: I am working on the most recent Mac Pro upgraded with two Nvidia graphics cards including a modifie

  • I installed ios6 on my ipad2 yday, now its rebooting continously

    I installed ios6 on my ipad2 yesterday and today it has gone into a continous reboot cycle. Only the apple sign shows, screen goes blank and then apple sign re-appears. I tried restoring from itunes but it says cannot. need help please

  • Difference in number of records in GROUP BY and PARTITION BY

    Hi Experts If I run the following query I got 997 records by using GROUP BY. SELECT c.ins_no, b.pd_date,a.project_id, a.tech_no FROM mis.tranche_balance a, FMSRPT.fund_reporting_period b, ods.proj_info_lookup c, ods.institution d WHERE a.su_date = b.

  • Problems with src.zip

    Hi, I can't seem to find a similar problem anywhere so, here we go: I have just re-installed my WinXP Prof. on my workstation and installed j2sdk1.4.2 and thought that it was going to work, as it did before the re-install, but it doesn't. The problem

  • Message restart in SXMB_MONI

    Hi All, I have certain messages in "No receiver Found" status in SXMB_MONI, which had occured because some receiver conditions were not there in Configured receivers of Receiver Determination. Now I have created those extra conditions and want to man