Function module to track User timing on a particular transaction

hello,
Could anyone help me with the Function module or table which stores the timings of when "user accesses particular transaction"
My requirement is to create a User Activity Report displaying the user using the transaction with the timing
i have check fm " SAPWL_WORKLOAD_GET_STATISTIC"
user id / transaction / server / date / time
Thanks
Renu Gusain

You can see transaction usage log for a particular user through transaction ST03 / ST03N
ST03 -> Click on "This Application server" button -> Click on "Single stat. records" button -> feed the user name field, start and end dates for analysis and press enter
If your SAP system has audit log activated you can use a more convenient way by using transaction SM20
See, how the logic of these transactions work as they log the user name along with transaction access times

Similar Messages

  • Log on into the function module with different user name.

    hi,
            i log on into the system with my user id suppose 'mukka' and i have to check the authorization of another user say 'you' using the function module "authority_check_tcode". but here i am getting the problem that when i assigned sy-uname to 'you' and execute the function module it is entering into the function module with 'mukka' user name only.
    sample code:-
                                sy-uname  = p_uname.
        CALL FUNCTION 'AUTHORITY_CHECK_TCODE'  "#EC"
          EXPORTING
            tcode  = v_tcode
          EXCEPTIONS
            ok     = 1
            not_ok = 2.
    when i am changing the sy-uname with p_uname the sy-uname is changed but when i entered into the function module authority_check_tcode in the debugging mode at the below the sy-uname variable is showing  as 'mukka' only. but i need to check the authorizations of user 'you' pls give me solution to my problem.

    Hi,
    Why would you want to check the authorisation of another user and not the one currently logged in?  The idea of authorisations is to check the current user is able to perform a certain activity.  The majority of fields on SYST are constantly updated to have the correct values (partly so you can't fiddel authorisation checks like this
    Maybe if you explain to us what you are trying to do we can offer some other help.
    Gareth.

  • To find the User Exits for a particular Transaction.

    hi,
        I want to find the number of User Exits for a The Transaction MM01 or MM02,
        I serched in the forums but could not find satisfactory ans,
        I tried with:
                 T.Code-> System>Status->Prog Name>SE38>find Call Customer-Exit.
        But its not helping me,
        Please help me.
    Thanks and Regards
    Suraj S Nair.

    hi ,
    if you are new to user exist use --> follw the below methos to find the user exit for a particular transaction or t-code
    create one custom pgm in se38 and execute >selection screenenter t-code and execute it will return all the user exists for a specific transaction..
    Finding the user-exits of a SAP transaction code
    * Finding the user-exits of a SAP transaction code
    * Enter the transaction code in which you are looking for the user-exit
    * and it will list you the list of user-exits in the transaction code.
    * Also a drill down is possible which will help you to branch to SMOD.
    * Written by : SAP Basis, ABAP Programming and Other IMG Stuff
    *              http://www.sap-img.com
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.
    *---End of Program
    Regards,
    Prabhudas

  • Function module to identify users - fowarded work items

    Hi
    Pls can anyone suggest an appropriate function module to identify the users of the forwarded work items?
    The onyl input i have is the user name.
    the scenario is :  UserA had fwd'ed a workitem XYZ to UserB and I need to find programatically all the details and the user of the workitem XYZ like who had forwarded to UserB. Since i dont have the work item number or dont want to restrict with date range, i wish to get this info purely with the user id only. pls can anyone suggest some functions?

    Hi Prabhu
    First, get the Work item IDS:
    Go to table SWWUSERWI, supply USER_ID as your User (User B) and FORWARDED flag = 'X'.
    You will get all workitems forwarded to THAT user (USER_ID) - User B
    Now Get "Who dared to forward them to me (the user which you have" :
    Now use FM SWL_WI_GET_HISTORY , supply WI_ID as fetched above
    You will get the History in table HISTORY. From this table, keep only records where WI_ID matches the above, METHOD = 'SWW_WI_FORWARD'
    You will be left with step history for that WI ID where it was forwarded. The field METH_USER will contain the user name of the guy (culprit) who forwarded the WI
    Regards,
    Modak

  • Function Module used for user Authentication in B2B webshop

    Hi Gurus,
    Can someone please help me in finding a Function module which is getting called for the user authentication in B2B webshop and where can i find this class file which is getting called in the NWDS?
    Thanks
    Saurabh

    Depending upon if you are coming from Portal (SSO) or B2B logon screen, one of the following function modules is called to authenticate authorize the B2B application usage.
    CRM_ISA_IUSER_LOGIN
    CRM_ISA_LOGIN_CHECKS
    Easwar Ram
    http://www.parxlns.com

  • Function module to set user status during QA11 transaction

    Hi ,
    Anyone knows the function module to set the user status during QA11/QA12  transaction?
    I received the user status 'e.g CFA1' from an idoc data and would like to set the user set based on this idoc value during QA11/QA12 transaction.
    Any function module for this action? BDC seems impossible..
    Thanks.
    Regards,
    Clarice.

    oh i realised this function module can be used
    STATUS_CHANGE_EXTERN
    with a commit statement..

  • API - BAPI , RFC Function module to validate user id and password

    Hi,
    Can anyone provide me with the function module to validate the username and password of the user of the back end R/3 System.
    Best Regards
    Sid

    Use function module SUSR_CHECK_LOGON_DATA. You need to provide auth_method (P for password check), userid and password.
    Be careful when you execute the function in test mode because it converts the input into upper case hence if you have lower case characters in your password it will return with invalid password. If you pass the lower case into the function in a program everything is fine.
    Regards,
    Michael

  • Function module to get user AND usergroup

    Hi Folks,
    I need a function module which returns the user and the usergroup.
    BAPI_USER_GETLIST won't work as it doesn't return the usergroup.
    There are some other function modules but none of them can be called remotely.
    I can't write a function module myself as we are working with validated systems.
    The whole approval process would take months...
    Does anybody know a function module which returns the user AND the usergroup AND can be called remotely?
    Hope somebody can help me.
    Bastian

    are you talking about usr02-CLASS values if yes
    BAPI_USER_GET_DETAIL returns this in
    export parameter LOGONDATA-class
    Regards
    Raja

  • Looking for function module to update User data

    Hi All,
    I'm looking for function module/base table to update data into User (User-Specific Data) data. You can notice it under PRTE t.code. Thank you.
    Regards
    Kishore

    To Read: HRTRV_IF_GET_TRIP
    To Modify: HRTRV_IF_MODIFY_TRIP
    Please be aware that these FMs are not released for customers, i.e. you won't get any support for them.
    EDIT: Since you are dealing with Structure USER/PTK99, maybe the document I created is of interest to you: Adding fields in Travel WDA Applications
    Cheers, Lukas
    Message was edited by: Lukas Weigelt

  • Function module to find users for given authorization object

    Hi Experts,
    I have to develop new report which display all the users who has authorization object  which is given by us. i need some function modules to make my program simple.
    Please help me on this..
    Thanks and regards,
    Raja

    Hi
    check the fun modules
    SUSR_BAPI_USER_PROFS_GET
    or check the tables
    AGR_USERS
    AGR_1252
    UST12
    AGR_PROF
    AGR_TCODES
    check the transactions PFCG and SSUIm and SU53 etc
    Regards
    Anji

  • ABAP Function Module to BW Users.

    Hello All.
    Someone know if exists a standard Function Module in BW to return a specific user with your Cubes and Queries difined in BW authorizations.
    I have a Java application using BI Java SDK ....when i connect in BW ...the BI Java SDK return all Cubes and Queries ...and the user has permission in only two cubes.
    Regards.
    Taylor.

    Hello,
    I have a suggestion, if it works, please let me know!
    You are able to pull the names of the cubes , because the user_id used to pull the names of the cubes have more authorization to see the meta data, but less authorization to see the trasaction ya master data.( block the meta data visible to the user_id used to pull cubes)  I prefer to less the authorization in the BW end to see the meta data. So you will pull only those cubes which are really authorized to the users.
    This logic looks ok to me...you can add to it.
    Happy Tony

  • Function module to create users

    Hi All,
    Is there any function modules, with which I can create dialog users?
    (May be by inputing some parameters)
    Coudl any one help me out with it?
    Thanks a lot in advance.
    Regards,
    Pradeep

    Check FMs:
    SUSR_CREATE_USER
    SUSR_USER_CREATE
    Thanks and Regards

  • How to debug a function module in a user exit

    Hello out there,
    I am calling a function module in the updates rules of an InfoCube.
    The function module "hangs" while running the InfoPackage - the Monitor
    shows up with "Missung Message . Update rules finished for InfoCube ...".
    How can I debug an InfoPackage or this function module run
    by the InfoPackage ?
    Thank You !
    Martin Sautter

    Hi Martin,
    well, the weblog is quite good, but for your purpose, just follow the beginning until processing stops in the code. Then, in the top menu choose Breakpoint->Breakpoint at->Function module. In the following popup enter the name of the fm close the popup and press F8. Processing will stop in the fm.
    regards
    Siggi

  • Function Module to get the node name in particular level name in Hierarchy

    Hi All,
    We have 0Material hierarchy which consists of 14 levels and materials are in the 14th level.
    We have a requirement to update the 4th level node name to all materials.
    So we have created the attribute to this 0Material and thought of updating in the transformation.
    Could you please suggest us to which function module i can in this scenario.
    Thanks in advance,..
    Prasanna

    Can you explain in more detail what exactly you want to do?
    do you want to limit hierarchy to level4?
    Regards
    Sudeep

  • Function module to display process overview log from SM66 Transaction

    Hi,
    I want to display process overview log from SM66 Transaction in a report.
    Is there a function module which will help me in achieving that or is there any other method.
    Thanks in advance,
    Sandeep.

    Did you try finding out how SM66 creates the list? You could set break-points e.g. at statement "call function" and see which ones are being called. Look at those starting with TH... especially.
    Thomas

Maybe you are looking for

  • My password doesn't seem to work in Yosemite

    I recently upgraded my OS with the free installation for Yosemite. When trying installing Yosemite my Macbook Pro running Mavericks asked me for the user password, which I provided.Yosemite installed fine, no problems. Now, however, I am needing to i

  • Sd card reader not in disc utility

    Mac Pro Laptop    2012   Mavericks Haven't used my sd slot in over a year.  Upgraded since then.  Today, it doesn't work.  Checked the utility info and about this mac info.   Only showing HD and dvd in storage.  Does not show the card reader.  Please

  • Photoshop CS3 to PhotoshopCS3 Extended

    I'm going to buy the Extended version of Photoshop CS3 but wonder if I can install it over Photoshop CS3 or will I need to uninstall/deactivate CS3 then reinstall with the new CS3 Extended license#? TIA Don, Toronto

  • FEAKISH CAPTURE ISSUE IS PROBABLY AN FCP BUG

    Brian Connor, Patrick Sheffield and Studio X may recall a recent issue regarding the odd truncation of clips. Brian's "solution" was to edit the clip in QT, then re-import the file. He wanted to know what would happen when I did this. I never perform

  • Use Resound linx and Iphone 5 on airplane

    I want to be able to listen to sounds from the headphone jack in airplanes (for movies, games, etc)through my Iphone., What do I need to do this? Obviously a standard 3.5mm to 3.5 mm connecting the jack to the Iphone jack will not work.