Log to see a tcode used in last 15 days

hi pros
i need to see a how many times a tcode used in last 1 month. is there any report? i used stat but didnt give anything. please reply!

hi
Try STAT,STO3,SM19,SM20,STAD,SPAU/SPAD.
chk this table FRUN .
For writer/painter reports you can view stats via SE16 in table T803J. For all reports and transactions execution info is stored in table MONI. This is the same info available via ST03 and to some extent STAT. Info for MONI is collected from the UNIX servers and totalled on MONI by day, week, month, year. Retention periods are set by the Basis group. We have a custom table where this information is stored by period for historical and licensing purposes. Be sure to use the SAP function modules to retrieve data from MONI.
Also check this sample code from other thread.
internal tables for use counterdata:
begin of list occurs 5.       
include structure sapwlserv.
data: end of list.
data: begin of applicat occurs 0.       
include structure sapwlustcx.
data: end of applicat.
data: begin of applica_ occurs 0.       
include structure sapwlustcx.
data: end of applica_.
data: begin of applicau occurs 0,       
entry_id like sapwlustcx-entry_id,       
account  like sapwlustcx-account,       
count    like sapwlustcx-count,   
: end of applicau.
data: wa_applicau like applicau.
*&      Form  MONI
form moni. 
data: l_host like  sapwlserv-hostshort. 
m_start = p_usedt.
get server 
call function 'SAPWL_SERVLIST_GET_LIST'      
  tables           
    list = list. 
do.   
  loop at list.
loop on server     
   check not list-instshort is initial.        
   l_host = list-instshort.
get statistics per month and server     
   perform workload using m_start l_host.   
  endloop.   
  add 31 to m_start.   
  if m_start > sy-datum.     
    exit.   
  endif. 
enddo. 
sort applica_ by entry_id. 
sort applicau by entry_id count descending.
endform.                               " MONI
*&      Form  WORKLOAD
form workload using    p_start like sy-datum                        
p_host  like  sapwlserv-hostshort. 
refresh: applica_.
read application statistic from MONI 
call function 'SAPWL_WORKLOAD_GET_STATISTIC'      
  exporting           
    periodtype                 = 'M'           
    hostid                     = p_host           
    startdate                  = p_start           
    only_application_statistic = 'X'      
  tables           
    application_statistic      = applica_      
  exceptions           
    unknown_periodtype         = 1           
    no_data_found              = 2           
    others                     = 3. 
sort applica_ by entry_id account. 
loop at applica_  where entry_id(1) ge 'Y'.             "#EC PORTABLE   
  clear wa_applicau-entry_id.   
  wa_applicau-entry_id(25) = applica_-entry_id.   
  wa_applicau-account      = applica_-account.   
  wa_applicau-count        = applica_-count.   
  collect wa_applicau into applicau. 
endloop. 
sort applicau by entry_id count descending. 
applica_-ttype    = space. 
applica_-account  = space. 
modify applica_ transporting ttype account where ttype ne space.
collect only enhancements statistic 
if p_temp = 'X'.   
loop at applica_.     
   applica_-entry_id+25(48) = space.     
   collect applica_ into applicat.   
  endloop. 
else.   
  loop at applica_ where entry_id(1) ge 'Y'.            "#EC PORTABLE     
    applica_-entry_id+25(48) = space.     
    collect applica_ into applicat.   
  endloop. 
endif.
endform.                               " WORKLOAD
Hope this will help.

Similar Messages

  • Can i see when my phone was last accesed and used and restored.

    can i see when my phone was last accesed and used and restored.

    If you are the account owner you can log in to verizonwireless.com and check the call and text logs to see when the last activity was.  As far as seeing when it was last "restored" - that could mean several things.  Is it a smartphone?  Do you mean a factory reset? Restore from a backup?
    Is the phone not in your possession?

  • MM-Report to see the materials which is not used from last 3 months

    Dear All,
    I want to find out the materials which are not used from last 3 months.Is there any report?
    Thanks
    Vishal

    Hi
    check MB5B
    give material and plant there
    select valuates stock radio button and NON-Hierarchical representation layout  on selection screen
    give last three month duration period on selection screen and execute report
    and see total  Goods receipt and total goods issue for material
    Regards
    kailas ugale

  • Is there a way to see if someone used my computer when I was gone? Or tried to log in (unsuccessfully)

    is there a way to see if someone used my computer when I was gone? Or tried to log in (unsuccessfully)

    Launch your Console app (in Utilities folder) and look at all messages where you'll see everything your machine has done, complete with dates and time. Latest entries are at bottom of list.

  • Problem with JFMERGE using the last set of data on all form sets

    b Here is the scenario...
    I have a file of data in character delimited format. Each record needs to produce the same set of forms. I used the Visual Transformation Editor to define the field nominated data file, including the ^form statements. The transformation agent processes the file of multiple records just fine. I get a file from JFTRANS that contains the set of data & form statements repeated for each record in the file.
    Great so far.
    b Here is the problem...
    Unfortunately, the print agent is repeating the same set of data on every copy of the set of forms that is printed. It uses the data from the last set of forms to be printed.
    b Additional information...
    For ease of building the field nominated file by our custom client program we have standardized on using GLOBAL fields. Therefore, our DAT files contain all the ^global declarations with all the necessary ^form statements at the end. I used the transformation editor to build the same type of file. Therefore the file going to the print agent looks like:
    ^global name1
    data1
    ^global name2
    data2
    ^form form1
    ^form form2
    ^global name1
    newdata1
    ^global name2
    newdata2
    ^form form1
    ^form form2
    The printed result puts "newdata1" & "newdata2" on both sets of form2. Strangely, the correct data values are showing up on both sets of form1.
    The only difference between the two forms is that form1 is not defined with the fields as global where form2 does define them as global. I removed the global flag from form2 but that didn't change anything.
    I think I know what is occurring. JFMERGE is putting the data elements into the global dictionary and when the same name is in the file the latest data value ends up in the dictionary (thus all the forms print using the last data put into the dictionary). I certainly didn't expect this. I thought it would load the dictionary and print the first set of forms, then reload the dictionary and print the next set of forms. At least that is the way I see it occuring based on the order of things in the DAT file. Based on what is occuring it appears that JFMERGE reads the whole DAT file, building the dictionaries and then processes all the ^form statements.
    b My request for help...
    Does anyone know what I can do (such as insert some command) to get the correct data on the forms?
    It looks like using a fixed record format might do the trick but that isn't an option at this time. As things are right now it looks like I'm going to have to take the data file apart, and make lots of files with one line of data per file.
    I have a time deadline to get this printed so if there isn't a way to make JFMERGE operate as I expected it looks like I'll be doing this by hand. Fortunately, there are only 250-300 data lines. Future jobs could have thousands of data lines so if there isn't a way to do it with a multi-line data file I'll have someone create a program for splitting the original file up (and adding the ^job line).

    We don't use subforms so some of what you suggest isn't effective for us. Our forms are a duplication of the paper forms and are not dynamic. We design each form separately and our custom filler software (that builds the DAT file) uses a database with the required forms for each print job defined within it.<br /><br />Since we don't have subforms, our simple method of printing is to declare as GLOBAL all the unique fields used on all the forms to be printed followed by the ^form commands. It was a simple & straightforward method for us to do better than 500 print jobs over that past couple of years. In addition, our custom filler software can easily build the DAT files.<br /><br />Because I need to manually declare all the ^form statements my experience with using ^field is that the form must be declared followed by the appropriate field commands (repeat for all the forms).<br /><br />i <many hours later I continue typing this post><br /><br />Taking the original Transformation Definition File and customizing it for how things need to be when using ^field commands was a time consuming experience (and a learning one). It did the job as I needed but it is an experience I don't want to repeat. There has got to be a better way of building the TDF properly. I'm definately leaning towards a program to split the file into multiple files.<br /><br />Here is what I went through...<br /><br />I did all the editting using Notepad. I changed all ^global to ^field. Then I had to remove the #comment lines. Next was to find any references to fields that had to be global to the top and chang ^field to ^global. Then it was moving the fields around so they were underneath the appropriate ^form statement. Then, since one of the forms was multi-page I had to add the ^page command and sort the fields so they were under the correct page. That was followed by duplicating fields that are used on multiple forms or multiple pages. Then I discovered that the print agent won't do ^page unless "inline processing" is turned off (I did not want to specify the page name as it could change over time) - so I added "^inline off" in front of every ^page. Finally it was removing unecessary field references so the log file would be clean.<br /><br />For those that are interested, the following is an example of my final file. <br /><br />^global nameA<br />data<br />^global nameB<br />data<br />^form nameX<br />^field name1<br />data<br />^field name2<br />data<br />^form nameY<br />^field name1<br />data<br />^field name3<br />data<br />^inline off<br />^page<br />^field name4<br />data<br />^field name1<br />^inline off<br />^page<br />^field name5<br />data<br />^field name6<br />data

  • 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

  • I have a question about Lightroom 5... I used it last night, I go to get on it today and its will not open. I have an error msg "Lightroom encountered an error when reading from its preview cache and needs to quit" Lightroom will attempt to fix the proble

    I have a question about Lightroom 5... I used it last night, I go to get on it today and its will not open. I have an error msg "Lightroom encountered an error when reading from its preview cache and needs to quit" Lightroom will attempt to fix the problem when reopened

    https://forums.adobe.com/message/6219922#6219922
    See if the issue in the thread above helps you to solve your problem.

  • Printing messages in Log File and Output File using Dbms_output.put_line

    Hi,
    I have a requirement of printing messages in log file and output file using dbms_output.put_line instead of fnd_file.put_line API.
    Please let me know how can I achieve this.
    I tried using a function to print messages and calling that function in my main package where ever there is fnd_file.put_line. But this approach is not required by the business.
    So let me know how I can achieve this functionality.
    Regards
    Sandy

    What is the requirement that doesn't allow you using fnd_file.put_line?
    Please see the following links.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Dbms_output.put_line+AND+Log+AND+messages&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=%22dbms_output.put_line+%22+AND+concurrent&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How can i get the list of all tcode used by user of particular module

    Hi,
    How can i get the list of all tcode used by user of particular module (e.g FI , MM ,PP) within year .
    Regards
    Vikram

    Login to your SAP System
    Run TCode SE16
    Type Table Name : TSTCT
    Press F7 Key (Table Contents )
    Go to Settings in menu bar
    Select User Parameters
    Under Keyword select Field Label and press green check mark
    Select your criteria in Data Browser and execute
    You will see all t codes in there
    Regards,
    Yogesh

  • Where can I file the log file generate by RMAN using EM 10g.

    Hi
    I trying to find the log file that is generated using RMAN invoked from EM.
    I can only see the file using Internet Explorer with the URL:
    em/console/database/rec/bkpMgmt?skey=257&type=oracle_database&target=isatprod.dla_dns.com&event=showJobDe
    But I need to find where the log files are located in the filesystem because in other server I will not have EM with OC4J.
    Thanks.
    Juan.

    When use OEM for 10g and choose the option / Maintance/Backup Reports
    I can see information of all my backups, that includes:
    Backup Name - Start Time - Time Taken - Status - Type- Output Devices - Input Size .....
    When I click on Status field I can see the log file of this Backup.
    (whe click in status one URL will be invoked ,something like below URL)
    http://10.5.0.86:1158/em/console/database/rec/bkpMgmt?skey=259&type=oracle_database&target=isatprod.dla_dns.com&event=showJobDet&objType=jobDtl
    So the log file exist in any place for every backup made , the problem that I can not find it.
    The log has approximately 500 lines, if you want I can send you by email the log.
    Currently I don't have a repository catalog, I use a control file as repository.
    I think that 500 lines of log is not include in any dynamic performance views.
    Thanks
    Juan

  • Regarding where can I check logs to see which user ID

    Hi,
    In RSA1, if some one deletes the source system, where can I check logs to see which user ID did it and when.
    Thanks
    Vasu.

    Transaction RSA1 "BW Administrator Workbench"
    Users need an authorization for object S_RS_ADMWB with field RSADMWBOBJ = "SOURCESYS".
    Source systemes are stored in table RSDS. Table change log is not active (see transaction SE13) but as far as I can read the source code some critical events are logend in the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/c8263712c79958e10000009b38f936/frameset.htm">Application Log</a>. View the entries for object LSYS_DELETE_<logsys> with message 618(RSAR) using transaction SLG1 .
    Kind regards
    Frank

  • How to see OB40 tcode screen through spro

    Hi All,
    how to see OB40 tcode screen through spro (need path in SPRO)
    Thanks,
    Amit

    Hi,
    You use Tcode SPRO->Img (F5)->SAP Customizing Implementation Guide->Financial Accounting->Financial Accounting Global Settings->Tax on Sales/Purchases->Posting->Define Tax Accounts
    For details you can refer this link:
    http://www.upload2world.com/pic110/upload2world_08290.jpg
    Hope this will help you.
    TQ
    Regards,
    Nazrul

  • Transaction code to show previous tcodes used

    Hi all,
    Gud morning...
    Is there any transaction code to view all the tcodes used by us?

    Hi Chandra,
    Welcome to SDN.
    You can go to transaction code <b>SE93</b> and type transaction code = <b>Z</b> (Custom transaction) or <b></b> (All transaction)
    Or go to <b>SM04</b> to see transaction code used by user.
    The full list of transaction codes is maintained in the tables <b>TSTC and TSTCT</b>. So, you can have a look via <b>SE16</b>.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Give some pp module tcodes used in bdc and their purposes

    give some pp module tcodes used in bdc and their purposes
    thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi
    Important PP tables are..
    Master Data:
    CRHD Work center header
    MAPL Allocation of task lists to materials
    PLAS Task list - selection of operations/activities
    PLFH Task list - production resources/tools
    PLFL Task list - sequences
    PLKO Task list - header
    PLKZ Task list: main header
    PLPH Phases / suboperations
    PLPO Task list operation / activity
    PLPR Log collector for tasklists
    PLMZ Allocation of BOM - items to operations
    Production Orders:
    STKO BOM - header
    STPO BOM - item
    STAS BOMs - Item Selection
    STPN BOMs - follow-up control
    STPU BOM - sub-item
    STZU Permanent BOM data
    PLMZ Allocation of BOM - items to operations
    MAST Material to BOM link
    KDST Sales order to BOM link
    AUFK Production order headers
    AFIH Maintenance order header
    AUFM Goods movement for prod. order
    AFKO Order header data PP orders
    AFPO Order item
    RESB Order componenten
    AFRU Order completion confirmations
    Planned orders and Independent requirements:
    PLAF Planned orders
    RESB Material reservations
    PBIM Independent requirements for material
    PBED Independent requirement data
    PBHI Independent requirement history
    PBIV Independent requirement index
    RKPF header
    Capacity Planning:
    KBKO Header record for capacity requirements
    KBED Capacity requirements records
    KBEZ Add. data for table KBED (for indiv. capacities/splits)
    Important Transcation:
    CA – usually reserved for routing type transactions. This includes reference rate routings and rate routings.
    CA31, CA32, CA33: Reference Rate Routing Creationg
    CA21, CA22, CA23: Rate Routing Creationg
    CA63, CA64 – Change documents for Routings
    CA80, CA85, CA90, CA95, CA98: Where Used, Replacing Routings, etc.
    CR – Usually reserved for work center type transactions.
    CR01, CR02, CR03: Work Center Creation
    CR05, CR07, etc. – Work Centers analysis, etc.
    CS – Usually reserved for BOM type transactions.
    CS01, CS02, CS03 – Bill of Materials
    CS07, CS08, CS09: Extend Bill of materials
    CS11, CS12, CS13: Explode Bill of materials
    F – Usually reserved for financial type transactions
    A – Usually reserved for financial type transactions.
    LM – Label Management type transactions
    MB – Usually reserved for inventory type transactions
    MB51 – Material document history
    MB1A – Goods Issue for Scrap
    MB1B – Goods transfer
    MD – Usually reserved for MRP type transactions
    MD01, MD02, MD03, MDBT - MRP Run
    MD04, MD07: Stock/Requirements List
    MD05, MD06: MRP List (static)
    MD11, MD12, MD13, MD16: Planned Order creation, etc
    MD20, MD21: Planning file
    ME – Usually reserved for Purchasing Type Transactions
    ME01, ME03, ME05 – Source Lists
    ME11, ME12, ME13 – Info Records
    ME21N, ME22N, ME23N: Purchase Order creation
    ME31L, ME32L, ME33L: Scheduling Agreement Creation
    ME51, ME57 – Purchase Requisitions
    ME38, ME38: Schedule Line display
    ME37: Stock Transport Scheduling Agreements
    ME27: Stock Transport Orders
    MM – Usually reserved for material master type transactions:
    MM01, MM02, MM03: Material Master Creation
    MM04 – Change Documents
    MM06: Mark for Deletion
    MM60: Materials List
    V – Usually reserved for Sales and Distribution type transactions
    VA – Sales Orders
    VL – Deliveries
    VT – Shipments
    VD – Customer Master for Sales
    VK – Condition Records
    http://www.sap-img.com/sap-pp.htm
    http://www.erpgenie.com/sapfunc/pp.htm
    Reward if usefull

  • Tcodes used along with terminal name

    Dear  Experts
    Please provide TCode by which i can see all the tcodes used by particular User in specific time interval along with terminal name
    Thanks in advance
    Raj

    Hi,
    You can see the all hole day, week and month wise tcode detail(run by user)  through TCode: st03n
    Double Click on day,week or month
    then dragdown bottom menu User and Settlement double click "User Profile"
    Right Side you will see Users --- Go in perticular User -- Double Click on User detail for All running tcode by perticular user.
    Regards,
    Gokul Chandola

Maybe you are looking for