Skip to Content
author's profile photo Former Member
Former Member

SAPWL_STATREC_READ_FILE

Hello i am working under a upgradation project. Can some one suggest me the replacemnet function module for 'SAPWL_STATREC_READ_FILE'

thanking you,

Srinivas

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2008 at 01:58 PM

    hi

    good

    have a look at class

    CL_ABAP_GZIP

    *********************************

    what you could do is using call transformation transform your itab to XML form and then use CL_ABAP_GZIP to zip it.

    to read it back, unzip using CL_ABAP_GZIP and then again use call transformation and XSLT program to convert it to your itab format.

    thanks

    mrutyun^

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2008 at 04:30 AM

    Hey Manjunath,

    i do find this solution , but we do have a RPM for the above mentioned fm and that is

    SAPWL_STATREC_DIRECT_READ.

    Can anyone provide me a solution to map both fm's.

    regards,

    Srinivas

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Check the link below:

      Good idea to use STAD to double check if there are statistic records.

      Also, realize that SAPWL_STATREC_DIRECT_READ read statistics records only for the instance it is run on. If the activity was on other instances (application servers) of the system, you won't see the records.

      Use SAPWL_READ_STATISTIC_FILES to get records from all instances of an SAP system. Here's the call graph for STAD on 4.7:

      STAD R RSSTAT26

      FM STUD.SAPWL_READ_STATISTIC_FILES – get workload and application stats from all instances of system

      RFM STUD.SAPWL_READ_STAT_A_ASTAT_FILES – get workload and application stats from current instance

      FM STUW.SAPWL_STATREC_DIRECT_READ – get workload stats from current instance

      FM STUW.SAPWL_ASTAT_DIRECT_READ – get application stats from current instance

      There are several functions to read statistics records:

      SAPWL_STATREC_DIRECT_READ is close to what you're currently using.

      SAPWL_STATREC_READ_REMOTE is similar but remote-enabled.

      Or you can use one of the newer NetWeaver functions.

      Use SE37 and look for SAPWL_* or SWNC_*.

      Reward points if useful.

      Edited by: Sravan Prakash.V on Jan 19, 2008 10:08 AM

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2008 at 05:55 AM

    Hey shravan ,

    if possible give me a simple solution. i mean the steps.

    this is all more complicated

    Edited by: srinivas T on Jan 19, 2008 9:24 AM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.