01-18-2008 1:50 PM
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
01-18-2008 1: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^
01-19-2008 4: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
01-19-2008 4:35 AM
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
01-19-2008 5: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