Auditing a transaction used by user

hello, i have a question concerned to how i can know what transactions were used or executed by a user in a date, or for example the previous month, this is in a was or a R/3 environment.
thanks Robinson

Check trxn ST03 or ST03N (depending on release).  This is standard SAP functionality.  It is the performance monitor but can tell you what trxns were executed for a time period and by whom.  Of course it does not state what was done with the trxn simply what trxns and programs were run.
If additional information regarding trxns and users is required.  Trxns SM19 and SM20 can be used of course if it is actived.
See OSS note # 139418 - Logging user actions, as a start.  The reference to trxn STAT is similiar to ST03 however STAT only contains the current records.  This has to do with prgm RSCOLL00 running periodically and taking the records in STAT and applying them to the database where they show up in ST03, which is off the subject a bit.

Similar Messages

  • As01 transaction using substitution user exit populate classificaion

    Hi all,
    I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
    I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
    For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
    The present rule U210 is not working for classification key.
    Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
    regards
    Rajani Yeluri

    In the user exit documentation,  it doesn't say anything about this exit being used for validation, therefore,  it probably shouldn't be used as a validation routine, especially if its not being trigger at every PAI. 
    <i>FU EXIT_SAPLAISA_001
    Short text
    Assign Inventory Number
    Functionality
    Using this user exit, it is possible to assign an inventory number when you create a new asset master record.
    Notes
    In the user exit, it is absolutely forbidden to use a statement that leads to an update or removal of database changes. Examples of such statements are:
    'Commit Work' , 'Rollback Work' or call of function module 'DB_COMMIT'.
    Parameter
    I_ANLA
    E_INVNR
    Exceptions
    Function group
    XAIS</i>
    Regards,
    Rich Heilman

  • CALL transaction using generic user.

    Hi experts,
    I have a   CALL TRANSACTION, which code is: 'ME54' USING BDC_TAB MODE 'E' UPDATE 'S'.
    I have previosly defines the BDC_TAB. Is is a backgroud process executes with an event. The sy-uname there is the same as the user that has lauched the event. I want this to be executed with a generic user, example GENUSER instead of the one that really launches the event.
    ¿Is this possible?
    Thank-you very much,
    Artur.

    Hi,
    The only way I can think of at the moment is to extract your CALL TRANSACTION into a separate self-contained program (which it may already be looking at your post).  Then use FM JOB_OPEN, JOB_SUBMIT (changing the parameter AUTHCKNAM to you generic user) and JOB_CLOSE (with STRTIMMED = abap_true).
    This obviously gives rise to other problems such as knowing when the job finished etc but this depends on your overall design and if this is important or not.
    Looking at your overall process this does not sound like a problem.  Simply change the background job step for the event - have it call a new program to perform the JOB* FM steps instead which calls your original program that was registered against the event.
    Thanks,
    Pete

  • As01 transaction using substitution user exit populate classificaion key

    Hi all,
    I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI  from the values maintained in Ztable.
    I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).   
    For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
    The present rule U210 is not working for classification key.  
    Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
    regards
    Rajani Yeluri

    Hi,
    Did you find a solution. I'm just looking for the same thing.
    best regards..

  • Transaction used by user

    There is any way to know which transaction user used
    in the last month or more ?

    Hello Kobi,
    Have a look at the site. Might give u something....<a href="http://www.guidancetech.com/people/holland/sap/abap/">http://www.guidancetech.com/people/holland/sap/abap/</a>

  • How to find the Tcodes used by user

    Hi
    Can anybody help me to find out the way to check which t.codes  or programmes one user had run till his last logon.
    Regards
    Manvir

    Hi,
    You can also find in st03n.
    1. Open st03n --> expert mode
    2. Double click on the period(today,week/month) to find the tcodes used by the user in that period.
    3. Now expert dialog mode will be displayed in the left corner. Please select transaction profile
    4. Double click on the same, you will find the all the results in right side dialog. click on find and enter user name.
    5. Now again double click on the user. You can see all the transactions used by user.
    Regards,
    Gowrinadh

  • How to find out the Transactions used per month & the USER who used that

    Hi,
    1)How to find out the Transactions used per month & the USER who used that?
    2)and can i get the above same for minimum 20 month?
    System : SAP- Enterprise Core Component.

    You can use my program...
    *& Report  Z_ABAP_TCODE_MONITOR
    *****&  Program Type          : Report                                 *
    *****&  Title                 : Z_ABAP_TCODE_MONITOR                   *
    *****&  Transaction code      : ZTCODE_USAGE                           *
    *****&  Developer name        : Shailendra Kolakaluri                  *
    *****&  Deveopment start date : 26 th Dec 2011                         *
    *****&  Development Package   : ZDEV                                   *
    *****&  Transport No          : DEVK906086                                       *
    *****&  Program Description   : This program is to display
    *List all tcodes executed during previous day.
    *& Show the number of users executing tcodes
    *& Modification history
    REPORT  Z_ABAP_TCODE_MONITOR.
    *& List all tcodes executed during previous day.
    *& Show the number of users executing tcodes
    TYPE-POOLS : slis.
    DATA: ind TYPE i,
          fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          layout TYPE slis_layout_alv,
          variant TYPE disvariant,
          events  TYPE slis_t_event WITH HEADER LINE,
          heading TYPE slis_t_listheader WITH HEADER LINE.
    *REPORT  z_report_usage.
    TYPES: BEGIN OF zusertcode,
      date   TYPE swncdatum,
      user   TYPE swncuname,
      mandt     TYPE swncmandt,
      tcode     TYPE swnctcode,
      report TYPE swncreportname,
      count     TYPE swncshcnt,
    END OF zusertcode.
    *data   : date type n.
    DATA: t_usertcode  TYPE swnc_t_aggusertcode,
          wa_usertcode TYPE swncaggusertcode,
          wa           TYPE zusertcode,
          t_ut         TYPE STANDARD TABLE OF zusertcode,
          wa_result    TYPE zusertcode,
          t_result     TYPE STANDARD TABLE OF zusertcode.
    PARAMETER: month TYPE dats DEFAULT sy-datum.
    *PARAMETER: date TYPE dats.
    *select-options : username for wa_usertcode-account.
    START-OF-SELECTION.
    PERFORM get_data.
    PERFORM get_fieldcatalog.
      PERFORM set_layout.
    PERFORM get_event.
    PERFORM get_comment.
      PERFORM display_data.
    FORM get_data .
    *date = sy-datum - 2 .
    After start-of-selection add this line (parameter Month required 01 as day).
      concatenate month+0(6) '01' into month.
      CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
        EXPORTING
          component     = 'TOTAL'
          ASSIGNDSYS    = 'DEV'
          periodtype    = 'M'
          periodstrt    = month
        TABLES
          usertcode     = t_usertcode
        EXCEPTIONS
          no_data_found = 1
          OTHERS        = 2.
      wa-date  = month.
    *wa-date  = date.
      wa-mandt = sy-mandt.
    wa_usertcode-account = username.
      LOOP AT t_usertcode INTO wa_usertcode.
        wa-user = wa_usertcode-account.
        IF wa_usertcode-entry_id+72 = 'T'.
          wa-tcode  = wa_usertcode-entry_id.
          wa-report = space.
        ELSE.
          wa-tcode  = space.
          wa-report = wa_usertcode-entry_id.
        ENDIF.
        COLLECT wa INTO t_ut.
      ENDLOOP.
      SORT t_ut BY report ASCENDING.
      CLEAR: wa, wa_result.
    endform.
    FORM get_fieldcatalog .
    fcat-tabname     = 't_ut'.
    fcat-fieldname   = 'DATE'.
    fcat-seltext_l   = 'Date'.
    fcat-key         = 'X'.
    APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'MANDT'.
      fcat-seltext_l   = 'Client'.
      fcat-key         = 'X'.
      APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'USER'.
      fcat-seltext_l   = 'User Name'.
      fcat-key         = 'X'.
      APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'TCODE'.
      fcat-seltext_l   = 'Transaction Code'.
      fcat-key         = 'X'.
      APPEND fcat.
    ENDFORM.
    *&      Form  SET_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM set_layout .
      layout-colwidth_optimize = 'X'.
    ENDFORM.                    " SET_LAYOUT
    *&      Form  GET_EVENT
          text
    -->  p1        text
    <--  p2        text
    *FORM get_event .
    events-name = slis_ev_top_of_page.
    events-form = 'TOP_OF_PAGE'.
    APPEND events.
    *ENDFORM.                    " GET_EVENT
    **&      Form  GET_COMMENT
          text
    -->  p1        text
    <--  p2        text
    *FORM get_comment .
    DATA: text(30).
    text = 'Billing Report'.
    heading-typ = 'H'.
    heading-info = text.
    APPEND heading.
    *ENDFORM.                    " GET_COMMENT
    **&      Form  top_of_page
          text
    -->  p1        text
    <--  p2        text
    *FORM top_of_page .
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
       EXPORTING
         it_list_commentary       = heading[]
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
    *ENDFORM.                    " top_of_page
    *&      Form  DISPLAY_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM display_data .
      sort t_ut[].
    DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = sy-cprog
          is_layout          = layout
          it_fieldcat        = fcat[]
          i_save             = 'A'
          is_variant         = variant
          it_events          = events[]
        TABLES
          t_outtab           = t_ut
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " DISPLAY_DATA

  • Way to identify transactions accessed by user using portal

    Hi,
    We are trying to obtain statistics of the transactions used by a user and frequency of use by the same user using the portal. We would like to obtain the user id and the transactions accessed.
    Is there a table or a log created by the EP to capture the same or is there any option in the settings which can capture the info going forward.
    We use EP to access BSP applications and ITS transactions.
    Any information on the logging capabilites of EP is appreciated.

    Hi,
    Check the link below on creating a portal activity report iView.
    http://help.sap.com/saphelp_nw04s/helpdata/en/fb/144120ea5b4e9c9385d493a578d6c9/frameset.htm
    Portal activities are obtained from the following set of tables(I guess)
    WCR_AGGINFO
    WCR_USERNODSTAT
    WCR_USERSTAT
    WCR_WEBCNODESTAT
    WCR_WEBCONTENTSTAT
    So you can write a custom code that could retrieve the values from the tables.
    The activity report can be found under the system configuration under system administration in portal
    System Administration -> System Configuration-> Service Configuration Editor
    Under Applications->com.sap.portal.activityreport.core-> Services->ActivityReport
    Hope this helps.
    Regards,
    Vijai Mohan

  • How to find the transactions used by a user

    Hi experts,
    How can I find which transactions used by a user. In which SAP table could I look after?

    Hi ,
    You can use transaction code ST03N.
    1. Go to tx code - ST03N
    2. Under "Workload" you can select your "Instance or Total" so that it expands and shows you Days, Week, Month.
    3. If you want to look at the transactions executed for a particular day, lets say, then double click on any day.
    4. At the bottom left you get "Analysis Views"
    5. Select & expand "User and Settlement Statistics"
    6. Double click on "User Profile"
    7. On the right side of the window you get a list of all the users
    8. Double click on a particular user you want to view the details of.
    9. The new screen will display the "Transactions/Reports Utilized by User XXX"
    If you wanna track which users executed a particular transacation then follow this:
    10. In "Analysis Views" expand "Transaction Profile"
    11. Double click on "Standard"
    You can view the list of Transactions and Reports.
    12. Double click on the Tx Code or Report you wanna check and it will show the Use of it.
    This will help you.
    Reward if helpful.
    Thankyou,
    Regards.

  • Coming back to the Transaction from a User Exit

    Hi,
    I perform some checks in a User-Exit before saving a transaction & throw an error message if something is not proper. But, the transaction terminates after that. I need to give the user an option to make changes in the transaction. eg, if user exit checks if a certain field should not be empty, the user should have an option to enter the field after the user exit throws the message. How can i go back to the same screen from the exit to achieve the same.
    Thanks in advance.
    Bikash
    This was for a general scenario wherein after an error message triggered by an Exit is displayed, the transaction just terminates.
    Message was edited by: Bikash  Agarwal

    Hi,
    If you give error message, it will leave the current transaction.
    Instead try using some POPUP function module, which will have options 'OK' and 'CANCEL'.
    If user presses 'OK', then allow user to do modifications and if he presses 'CANCEL', then write LEAVE PROGRAM to come out of transaction.
    Hope it helps.
    Regards,
    Shashank

  • Using Oracle Users in Realms and DataSource.getConnection

    Is it possible to authenticate using an Oracle User via JAASRealm and also retrieve connections specific to that user from a DataSource?
    I currently have an application which doesn't use either, but rather sets up a OracleDataSource. So basically I just want to allow the container to administer both the authentication and data source setup, while still allowing the getConnection(user,password):
    CODE
    ocpds = new OracleConnectionPoolDataSource();
    ocpds.setURL(connectionString);
    ocpds.setConnectionProperties(props);
    ods = new OracleDataSource();
    ods.setURL(connectionString);
    ods.setConnectionCachingEnabled(true);
    ods.setConnectionProperties(props);
    // Pool and Cache
    Properties poolProps = new Properties();
    poolProps.setProperty("AbandonedConnectionTimeout", "60");
    poolProps.setProperty("InactivityTimeout", "5");
    poolProps.setProperty("TimeToLiveTimeout", "60");
    poolProps.setProperty("ConnectionWaitTimeout", "60");
    ods.setConnectionCacheProperties(poolProps);
    ods.setConnectionProperties(props);
    Util.logln("Connection Cache Properties");
    cache = OracleConnectionCacheManager.getConnectionCacheManagerInstance();
    cache.createCache(cacheName, ods, poolProps);
    cache.setConnectionPoolDataSource(cacheName, ocpds);
    ........later in the BatCave (JSP or a servlet).....
    conn = (OracleConnection) ods.getConnection(username, password);
    ENDCODE
    This section from OAS Containers for J2EE Services Guide worries me:
    (from: http://download-east.oracle.com/docs/cd/B14099_19/web.1012/b14012/datasrc.htm#sthref572 )
    Using Different User Names for Two Connections to a Single Data Source
    When you retrieve a connection from a DataSource object with a user name and password, this user name and password are used on all subsequent connection retrievals within the same transaction. This is true for all data source types.
    For example, suppose an application retrieves a connection from the jdbc/OracleCMTDS1 data source with the scott user name. When the application retrieves a second connection from the same data source with a different user name, such as adams, the second user name (adams) is ignored. Instead, the original user name (scott) is used.
    Thanks for reading all of this, and I appreciate any help!

    Update:
    I'm still not quite sure what to do. Where I am now:
    1. I don't know how to authenticate against Oracle database users (non-ldap) via JNDI/JAAS/whatever
    2. Proxy authentication (ALTER USER...CONNECT THROUGH...) seems to be promising for using connection pools, and in addition, once realm authentication happens, I can just pass the username and piggyback on the middletier connection without knowing the password used in authentication
    3. I'm not sure if proxy addresses the issue that OAS Containers for J2EE Services Guide talks about in the original post
    4. I'd prefer not to use OID
    Again, if you have any little information, I'd really like to hear it.

  • Is "SET TRANSACTION USE ROLLBACK SEGMENT" only a hint

    I have two users, one makes some inserts in a table.
    The other makes a select which visits many rows.
    I have a big rollback-segment.
    To ensure, both users use this rollback-segment I created a logon-trigger:
    CREATE OR REPLACE TRIGGER a_logon AFTER LOGON
    ON DATABASE
    WHEN ( USER IN ( 'SCOTT', 'BOB' ) )
    BEGIN
    SET TRANSACTION USE ROLLBACK SEGMENT rbs_big;
    END;
    But I still get "snapshot to old" messages from the select, which contains the name off an other rollback-segment in the message.
    The trigger really fires, i tested it by adding an insert-statement to a log-table.
    What`s wrong ?

    The set transaction use rollback segment lasts only until you commit or rollback first time and all other transactions in that session will not be forced to that rbs anymore. Other possible solution could be that other users are accessing same tables / updating them so those sessions can't keep the read consistent image available anymore for your sessions.

  • Use of (User Dep check Box) in Infogroup.

    Hi,
    While defining infogroup
    1st option (We Define info group/ Text / user Dep & REf)
    Can you tell me what is the use of (User Dep check box) & who does it makes a difference if i select & deselect that option.
    What impact it has.
    Appreciate your quick response
    Regards
    Rajesh

    Hi Nsr.Rajesh.,
    If parameter UGR (country specific) has been set in user profile, the infogroups can be made dependent on that. If UGR has not been set up, system uses reference user group.
    When you configure any infogroup, the first column is for user group. You would put value 10 if your profile has been set to UGR 10 and you want the infogroup to be dependent on that. If you do not have profile set to any UGR, system would make use of reference user group, like 00, which would then be used while configuring infogroup.
    To maintain user parameters, follow SPRO>Personnel Management>Personnel Administration>Basic Settings>Maintain user parameters. You can then check the values through transaction SU3.
    Donnie

  • URL format to call transaction using WinGUI

    Hello,
    We would like to display SAP transactions in the portal, however they are from the SAP APO sytem and require the the WinGUI setting as they contain graphics that the ITS cannot interpret. WinGUI does not use the ITS. An iView or External Service can be created to display the required transactions using the SAPApplication.Transaction but as the screens are made up of several windows we would like them to open up full screen. The standard iView can open in a new screen but the window opens in a different place depending on the user's internet settings. To solve this a java iView could be written to dictate the starting point and size of the window but I am having trouble with the URL of the transaction. Using WebGUI the following format can be used to call a transaction:
    <System.Access.ITS.Protocol>://<System.Access.ITS.HostName><System.Access.ITS.Path>/webgui/!?transaction=<SAP_Dynp_AutoStart%><SAP_TCode>%20<SAP_Dynp_Params%>&client=<System.Client>&language=<Request.Language>&accessibility=<User.Accessibility>
    Does anyone know the format of the URL to call a transaction using wingui (it doesn't work to substitute wingui for webgui in the format above)?
    Thanks for your help,
    Katie

    HI,
    You need to write the codition like below,
    If Message = 'Successful'
    If Button = 'SUBMIT'
       Call Transaction 'ZABC'.
    Endif.
    Endif.
    Regards
    Sudheer

  • Assigning transactions to a user

    Hi All,
    I want to assign 5 transactions to a user where, for 2 transactions the user should have a display option only and for the rest of the transaction he should have the full authorization.
    I know the basics of creating user (su01) and roles (pfcg ), which contain auth. objects followed by profile generation. But in this scenario how can I proceed.        Need your help.
    Regards
    Rajesh

    Of course it does depend on which transactions these 5 transactions are.
    Some tcodes are display only regardless of the access for a specific object checked by the 5 transactions.
    However I agree with the others: the transaction code is not that important (other than it's context for pulling in the authorizations required to actually use the 1 of 5 transactions into the role via SU24 or "case sensitive" for a program based on the transaction context (system field sy-tcode)). Many usefull transactions in SAP care about the authorization object' activity type field values and other application object fields, and most will let you switch to change mode from the display transaction if you have change access - regardless of the transaction (S_TCODE) but sometimes checking other TCD related field ID's.
    Reporting tcodes are often different though: these have the same core checks but other options and objects.
    Both transaction and reporting tcodes often have customizing dependencies as well, so you do not gave to use authorization objects always.
    Rather complicated actually... as are the menus of the transactions from a security perspective....
    Which 5 transaction codes were you specifically asking about?
    Cheers,
    Julius

Maybe you are looking for