How to know stat file retention setting

Hi,
Wanted know where & which table or function module or report will give me stat file data retention period
i have this function module "SAPWL_STATREC_READ_FILE" which read the data from stat file now want to know how will i get the setting for how many days of data be stat file will have?
Regards,
John

Hi,
Check the below function modules
1. SAPWL_AS_WORKL_GET_PARAMETERS
2. SAPWL_AS_WORKL_GET_STATISTIC
3. SAPWL_GET_SUMMARY_STATISTIC
4. SAPWL_STATCOL_GET_PROTOCOL
Please also check the below function modules from the function group STUW.
SAPWL_ACCNT_GET_DIRECTORY SAP Workload: Accounting Exit: Rückgabe d. Verzeichnises vorh. Statistiken
SAPWL_ACCNT_GET_SYSTEM_USAGE SAP Workload: Accounting Exit: Rückgabe d. Systemauslastung d. Ben./Accnt.
SAPWL_AS_ACCNT_GET_DIRECTORY SAP Workload: Rückgabe d. Verzeichnises vorh. Appl.-Statistiken
SAPWL_AS_STATREC_READ_FILE SAP Workload: *VERALTET!!* Appl-Statistikdatei lesen
SAPWL_AS_WORKL_ADD_TO_DB SAP Workload: Workload Statistik: Rohdaten zu Statis. hinzufg. & speichern
SAPWL_AS_WORKL_ADD_TO_DB_CLOSE SAP Workload: AS Workload: Rohdaten hinzufg. abschliessen
SAPWL_AS_WORKL_ADD_TO_DB_INIT SAP Workload: Workload: AS Initialisierung für Rohdaten hinz.fügen
SAPWL_AS_WORKL_ADD_TO_SNAPSHOT SAP Workload: Workload Statistik: Rohdaten zu Workload-Snapshot hinzufügen
SAPWL_AS_WORKL_GET_PARAMETERS SAP Workload: Statistik: Rückg. d. Kollektor-Parameter für Appl.St.
SAPWL_AS_WORKL_GET_STATISTIC SAP Workload: Workload Statistik: Rückgabe der Anwendungsstatistik
SAPWL_AS_WORKL_READ_AND_SAVE SAP Workload: *VERALTET*
SAPWL_AS_WORKL_REBUILD_TOTAL SAP Workload: Workload Statistik: TOTAL-Server neu erzeugen
SAPWL_AS_WORKL_REBUI_TOTAL_DAY SAP Workload: Appl.Statistik: TOTAL-Summe für einzelnen Tag erzeugen
SAPWL_AS_WORKL_REBUI_WEEK_MON SAP Workload: Appl.Statistik: Wochen/Monatssumme anhand Tagessumme aktual.
SAPWL_AS_WORKL_SAVE_STATISTIC SAP Workload: Workload Statistik: Speichern aller Statistiken
SAPWL_AS_WORKL_VERIFY_REBUILD SAP Workload: Appl.Statistik: Verif.und Ausfuhren von "REBUILD" Massnahmen
SAPWL_COLLECTOR_DEL_JOB_PROT SAP Workload: Kollektor: Lösche Jobprotokolle
SAPWL_GET_SUMMARY_STATISTIC SAP Workload: Rückgabe einer Auswahl von Stastiken zur Workload
SAPWL_SERVLIST_GET_LIST SAP Workload: Liste der aktiven Server: Lesen
SAPWL_SERVLIST_UPD_LIST SAP Workload: Liste der aktiven Server: Aktualisieren
SAPWL_STATCOL_GET_PROTOCOL SAP Workload: Statistic collector: Rückgabe des Protokolls
SAPWL_STATCOL_SAVE_PROTOCOL SAP Workload: Statistic collector: Speichern des Protokolls
SAPWL_STATREC_GET_ENTRY_ID SAP Workload: Statistic Records: Rückgabe der Tcode/Report-Kennung
SAPWL_STATREC_READ_FILE SAP Workload: Statistikdatei lesen *VERALTET!!*
SAPWL_TABSTAT_GET_DIRECTORY SAP Workload: Tabellenstatistik: Liste der vorhandenen Tabellenstatistiken
SAPWL_TABSTAT_GET_STATISTIC SAP Workload: Tabellenstatistik: Rückg. d. Statistik (f. versch. Perioden)
SAPWL_TABSTAT_SAVE_STATISTIC SAP Workload: Tabellenstatistik: Schreiben der Statistik
SAPWL_TABSTAT_SINCE_STARTUP SAP Workload: Tabellenstatistik: Zugriffsstatistik seit Systemstart
SAPWL_WORKLOAD_ADD_TO_DB SAP Workload: Workload Statistik: Rohdaten zu Statis. hinzufg. & speichern
SAPWL_WORKLOAD_ADD_TO_DB_CLOSE SAP Workload: Workload Statistik: Rohdaten hinzufg. abschliessen
SAPWL_WORKLOAD_ADD_TO_DB_INIT SAP Workload: Workload Statistik: Initialisierung für Rohdaten hinz.fügen
SAPWL_WORKLOAD_ADD_TO_SNAPSHOT SAP Workload: Workload Statistik: Rohdaten zu Workload-Snapshot hinzufügen
SAPWL_WORKLOAD_CHECKRESET_MONI SAP Workload: Zugriffe auf MONI prüfen und fehlerhafte Tabellen löschen
SAPWL_WORKLOAD_GET_DETAILTCOD SAP Workload: Workload Statistik: Rückgabe der Transaktionsdetail-Stat
SAPWL_WORKLOAD_GET_DETTCOD_DIR SAP Workload: Workload Statistik: Inhaltsverzeichnis TCODE-Detailauswertng
SAPWL_WORKLOAD_GET_DIRECTORY SAP Workload: Workload Statistik: Rückg. d. Inhaltsverz. verfügbarer Daten
SAPWL_WORKLOAD_GET_PARAMETERS SAP Workload: Workload Statistik: Rückg. d. Workload-(Re)Organisationspar.
SAPWL_WORKLOAD_GET_PLATFORM_ID SAP Workload: Workload Statistik: Rückgabe der Plattform-Identifikation
SAPWL_WORKLOAD_GET_STATISTIC SAP Workload: Workload Statistik: Rückgabe aller Statistiken
SAPWL_WORKLOAD_GET_SUMMARY SAP Workload: Workload Statistik: Rückgabe der tasktypabh. Zusammenfassung
SAPWL_WORKLOAD_NAME_LENGTHS SAP Workload: Workload Statistik: Laenge von Objektnamen
SAPWL_WORKLOAD_REBUILD_TOTAL SAP Workload: Workload Statistik: TOTAL-Server neu erzeugen
SAPWL_WORKLOAD_REBUI_TOTAL_DAY SAP Workload: TOTAL-Summe für kompletten einzelnen Tag erzegen
SAPWL_WORKLOAD_REBUI_TOTL_DWM SAP Workload: TOTAL-Server für TAG/WOCHE/MONAT neu erzeugen
SAPWL_WORKLOAD_REBUI_WEEK_MON SAP Workload: Wochen/Monats Summen anhand der Tagessummen aktualisieren
SAPWL_WORKLOAD_REORG SAP Workload: Workload Statistik: Performance DB Reorganisation
SAPWL_WORKLOAD_SAVE_DETAILTCOD SAP Workload: Workload Statistik: Speichern d. tasktypabh. Zusammenfassung
SAPWL_WORKLOAD_SAVE_PARAMETERS SAP Workload: Workload Statistik: Speichern d. Workld-(Re)Organisationsp.
SAPWL_WORKLOAD_SAVE_STATISTIC SAP Workload: Workload Statistik: Speichern aller Statistiken
SAPWL_WORKLOAD_SAVE_SUMMARY SAP Workload: Workload Statistik: Speichern d. tasktypabh. Zusammenfassung
SAPWL_WORKLOAD_TRUNCATE_NAME SAP Workload: Workload Statistik: Verkürze Objektnamen
SAPWL_WORKLOAD_VERIFY_REBUILD SAP Workload: Ermitteln und Ausführen von "REBUILD" Massnahmen
SAPWL_WORKL_PARALLEL_COLLECTOR SAP Workload: Baustein fur parallelen Workload-Kollektor entspr. RSSTAT80
SAPWL_WORKL_PARAL_AS_COLLECTOR SAP Workload: Baustein für paral. Appl.Workl.-Kollektor entspr. RSSTAT89
Thanks,
Ramakrishna

Similar Messages

  • How to know whether file is document file or not and page count

    How can i know whether the file is document file
    Eg: File file = new File("test.text"); 
            File file = new File("test.doc"); 
            File file = new File("test.pdf");   etc should return true
    File file = new File("test.exe"); 
           File file = new File("test.dat");  etc should return false
    and if it is true i should get the page count for example if pdf or doc file is containinf 100 pages
    i should get the value 100 is there any way to acheive this in java pls give some idea or example code
    Regards

    To get the number of pages you would need to write or find an existing Java API that can parse the proprietary formats of each type. And some formats do not really have pages. For instance, the number of pages of a .txt (often opened by Notepad by default) file would depend on your page length which is not generally stored in the file it is set by the tool you use to read the file.

  • How to know when File Adapter is complete when debatching?

    I have a BPEL process that reads in a file and debatches it into records of 1 and inserts them into a table.
    How do I know when the entire process is complete and all records in the file have been handled?

    Thats the problem with the file adapter. If you use it in debatch mode, you cannot really control the different BPEL processes that get spawned off one file.
    The other approach for scenarios where the file is huge, could be to use the adapter in notification mode. So the file adapter will notify the BPEL process, that the file is available, and then BPEL process can read the file using xpath functions or java code etc.
    Hope this helps.
    -@

  • How to know what files to import?

    Basically, I know how to import packages into the script, but how do you find out what packages does what, is there a list or like any table showing this, for example what would you need to import to draw graphics such as rectangles triangles ets. Thanks in advance :)

    look at the different class used in your code ; then see in the API the package of these classes ; if package is "java.lang", it's useless to add the import statement ; if the class appears to be in another package, you have to import this package
    by the way, the import process is automated in IDE (ctrl + shift + o for eclipse ide, for example)

  • How to use jar files without setting classpath

    Hi,
    I have a situvation, I can not set classpath, but i have to use jar files, how can I do that.

    URL[] urls = new URL[]{pathToJar, pathToAnotherJar, ...};
    URLClassLoader urlc = new URLClassLoader(urls);
    Now load classes within the jars loaded by the urlc classloader as needed. This is a limited approach, you can mostly use interfaces to work with classes loaded by the custom loader instance above and your existing classes.

  • How to determine binary file data set size

    Hi all
    I am writing specific sets of array data to a binary file, appending each time so the file grows by one data set for each write operation.  I use the set file position function to make sure that I am at the end of the file each time.
    When I read the file, I want to read only the last 25 (or some number) data sets.  To do this, I figured on using the set file position function to place the file position to where it was 25 data sets from the end.  Easy math, right ?  Apparently not.
    Well, as I have been collecting file size data as I have started the initial tet run, I am finding the the file size (using file size command and getting number of bytes as a result) that the size is not growing the same amount every time.  My size and format of my data being written is identical each time, an array of four double precision numbers.
    The increments I get are as follows, after first write - 44 bytes, after 2nd - 52 bytes, 3rd - 52 bytes, 4th 44 bytes, 5th - 52 bytes, 6th - 52 bytes, 7th - 44 bytes and it appears to maintain this pattern going forward.
    Why would each write operation not be identical in size of bytes.  This means that my basic math for determining the correct file poistion to read only the last 25 data sets will not be simple and if somewhere along the line after I have accumulated hundreds or thousands of data sets, what if the pattern changes.
    Any help on why this is occuring or on a method of working around the problem would be much appreciated.
    Thanks
    Doug
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."
    Solved!
    Go to Solution.

    I have stripped out the DSC module functions from the vi and attached it here.  I also set default values to all the inputs so it will run with no other inputs.  I also included my current data files (zipped as I have four of them) though the file names are hard coded in the vi so they can be changed to whatever works locally. In fact probably will have to be to modified for the path anyway.
    If you point to a path that has no file, it will create a new one on the first run and the file size will show zero since there is no data in it. It will start to show the changes on each subsequent run.
    As I am creating and appending four different files, each with it's own set of data but always the same format (array of four double precision numbers) and the file size information always increments the same for all four files (as will be seen in the File Size Array) I don't think it is a function of the size of the acutal numbers but something idiosyncracy with how the binary file is created.
    If this proves to be a major hurdle I guess I could try a TDM file but I already got everything else working with this one and need to move on to other tasks.
    Thanks for any continued assistance
    Doug
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."
    Attachments:
    !_Data_Analysis_Simple.vi ‏40 KB
    SPC.zip ‏2 KB

  • How to know if file is being picked up by XI through sender file adapter -

    Hi
    How can I check if the file is being picked up XI through sender file adapter? Can you please help.
    Thanks in advance

    Hi Rajiv,
    Select teh File processing mode as
    1. Read only -> After reading the file it will change the read only property of the file. Just right click on the file, select properties.If the file has been read then ReadOnly check box will be enabled. If u are testing several times then it will be more useful.
    2. Archive -> Then u need to give some other folder name where u want to archive it.
    3.Delete -> It will delete if the file has been successfully read.
    regards,
    Gowtham K.
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

  • How to know whether file is modified or metadata from SharePoint Document Library version history

    I have uploaded a document in document library. I am writing code to retrieve the items from the library only if document is modified, not the metadata.
    So if for an item only metadata is modified then it should not come, if document is modified then it should come. I tried from version history but it doesnt work. Any idea?
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

    Each file has an associated SPListItem which contains the metadata. See if the SPFile.TimeLastModified reflects the file and not the metadata.
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfile.timelastmodified.aspx
    Dimitri Ayrapetov (MCSE: SharePoint)

  • How to know which files it just backed up? Or will be backing up?

    Is there any way to find out what files Time Machine has queued up to back up on the next run of Time Machine? Or which files it just backed up on the last run?

    the log, which I have not been able to view, displays directories that have changed, not individual files. The log would get too huge too quickly if every change were recorded. TM then has to scan the log and then look in those directories and do it's own scan of the indicated portions of the disk. TM doesn't leave a log on it's own, although that would be nice for the curious.
    Since the files are all referenced by hard links, it is difficult to tell by just looking at the backup directories which files are actually new. The file itself could have been copied long ago, TM just makes hard links to the older copies if the file hasn't changed so that the backup directories all look complete.
    - gws

  • How to include .jar files in coldfusion code 

    To Integrate our cfm code with paypal jar files we do the
    following steps with our local coldfusion server ,and to run and
    integrate the paypal Java SDK jar files, I think we need to do the
    same process on the server, can you suggest any thing to do the
    following setting for my domain on the server, without setting the
    class path in coldfusion administrator.
    The ColdFusion application server must be configured to know
    the location of the PayPal JAR
    files, and your ColdFusion Markup (CFM) pages must be
    configured with the absolute path to
    the PayPal API certificate for the PayPal API user on whose
    behalf the calls are made.
    1. Install the PayPal Java SDK “Installing the
    SDK”.
    2. Copy a subset of the Java SDK JAR files to a location
    accessible by the ColdFusion
    application server. The JAR files are in SDK_root\lib and
    their exact names are as
    follows:
    – bcmail-jdk14-128.jar
    – bcprov-jdk14-128.jar
    – paypal_base.jar
    – paypal_stubs.jar
    sax2.jar
    – xerces.jar
    – xpp3-1.1.3.4d_b4_min.jar
    – xstream.jar-1.1.3.jar
    3. With the ColdFusion Application Server Administrator, add
    the absolute path of the
    location you determined in Step 2 to the Java and JVM
    CLASSPATH environment variable.
    4. Restart the ColdFusion Application Server.
    Suggest me how to include .jar files without setting
    classpath.

    > Suggest me how to include .jar files without setting
    classpath.
    Copy them to {CF_HOME}\lib, where {CF_HOME} is, for example,
    C:\CFusionMX7. Restart Coldfusion.

  • Turn off file validation setting office 2013

    Good evening,
    i'm trying to find how the Turn off file validation setting
    in excel 2013 from office h&b 2013 on a windows 7 home premium 64bit, but i can't find it
    anybody can help me?
    Thanks in advance
    Bye Filippo

    See
    http://technet.microsoft.com/en-us/library/gg985445%28office.12%29.aspx -
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\15.0\Excel\Security\FileValidation
    REG_DWORD: EnableOnLoad
    Value: 0
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • How to know whether the file is opened or not

    Hi All,
    In the file handling,
    Before writing OPEN DATA SET, I want to know the file is already opened or not.
    Please help me out in this regard.
    Thanks and regards,
    Mallareddy

    Hi,
    Please try GET DATASET statement.
    Syntax:
    GET DATASET dsn.
    Extras:
    1. ... POSITION pos
    2. ... ATTRIBUTES attr
    In some cases, the syntax rules that apply to Unicode programs are different than those for non-Unicode programs. For details, see File Interface.
    Effect
    Used to get the properties of a file already open.
    You can use this statement without additions to determine whether the file is open.
    If the file is not open, an exception of the type CX_SY_FILE_OPEN_MODE is triggered.
    Regards,
    Ferry Lianto

  • How to know whether the current database is using a password file or not?

    How to know whether the current database is using a password file or not?

    The remote_password_file is the parameter that determines if you can use or not a password file. The values this parameter can have are NONE, SHARED, EXCLUSIVE. It is pretty obvious, if it is set to either SHARED or EXCLUSIVE the oracle instance has enabled the access through a password file for the SYSDBA and SYSOPER roles.
    ~ Madrid

  • How to know whether a vacation rule is set for a user

    Hi,
    How to know whether a vacation rule is set for a user or not in the BPM process. Can anyone help me in this.
    Thanks,

    In Linux a user has to have read permission on a file to even see that it exists. As a result, if a user (or a group to which they belong) doesn't have read access to the file File.exists() will return false. Windows which doesn't have as tightly controlled access to files will admit that a file exists whether it can be read or not.
    PS.
    This is proof that I should never answer a question off the top of my head when I haven't had my red bull yet. This is wrong. You will be able to see it if you have read and execute on the directory.
    thumps self in head
    Message was edited by:
    puckstopper31

  • I have one file ss_fpga.rbt,abcd.txt how to know the details of the file

    i have  one file  ss_fpga.rbt,abcd.txt how to know  the details  of the file  (when was the date created ,when was date modfied,owner) any function is there like   GetFileInfo

    Yes there is some, called stat(), look the links in your post in stack overflow, there is a lot of link in the anser.
    They talk about sys/stat.h a C header, witch contain the stat() function.
    stat() return a lot of things (size, changes, access etc) about files. look the "here" everywhere in the Yann anser, UP his anser and put the subject as resolved.
    Thanks,

Maybe you are looking for

  • Upgrading to Boot Camp 5.0 from 4.1: Would it require a re-install of Windows (Win7 SP1)?

    I have a Late 2012 Mac Mini (OS X 10.8.3) with Boot Camp 4.1 and Windows 7 SP1 installed. I mainly work on Win7 and would like to continue doing so. My question is: Would upgrading to Boot Camp 5.0 require me to re-install my Win7 or does it work lik

  • Problem importing new pictures

    I am having trouble importing new pictures on my photoshop elements 10. I have done several projects with multiple pictures per project and thought my memory was full. I cleared all the pictures from my file as well as my backup file and it still wil

  • Adapter engine - retention of messages

    Hi experts, I am having an issue when trying to check successful messages of a week before today's date for example. For example, I go to RWB - Message Monitoring - Adapter Engine From Database (Overview). Then if I choose Time : 17/05/10 - 23/05/10,

  • How to fix problem in calling USA nos from app

    When I'm calling a USA no. From my iPhone in India through apps like magic jack, sidecar I have to turn on the speake on. Even while in tango or viber conversation same problem exists.

  • Best Practice to Integrate CER with RedSky E911 Anywhere via SIP Trunk

    We are trying to integrate CER 9 with RedSky for V911 using a SIP trunk and need assistance with best practice and configuration. There is very little documentation regarding "best practice" for routing these calls to RedSky. This trunk will be handl