SAPWL_READ_STATISTIC_FILES
Hi All,
Function Module SAPWL_READ_STATISTIC_FILES is not working in the upgraded version (ECC6.0).
Does any one know of any other function module to replace this FM?
* Function Module Call - Collect daily statistics
CALL FUNCTION 'SAPWL_WORKLOAD_GET_STATISTIC'
EXPORTING
periodtype = p_period
hostid = p_host
startdate = p_sdate
instance = g_instance "Upgrade issue
TABLES
* User_statistic = I_USER
application_statistic = gt_application_statistic "Upgrade issue
EXCEPTIONS
unknown_periodtype = 1
no_data_found = 2
OTHERS = 3.
Similar Messages
-
Information about the function module SAPWL_READ_STATISTIC_FILES
Hi all,
I want to know the use of the given sap standard function module SAPWL_READ_STATISTIC_FILES.
In this all_stats change parameter is there. what exactly it is returning i want to know and what is the purpose of this function module? There is no documentation available in english language for this.
thanks in advance
g.s.naiduHi Mahalakshmi garu
Yes, the previous thread itself has been posted by me, but till now i didnt get the purpose of that function module. as you said it reads the historical records for a day or week or month. Thats right but can you give me some more details like the same in depth.
Thanks
g.s.naidu -
STAD + Getting Web Dynpro program names with FM SAPWL_READ_STATISTIC_FILES
Hi, does anyone knows why I can't seem to get the report-names of a web dynrpo app with this FM?
Is there maybe an other FM with which I can get the results of transaction STAD?Hi,
they use different fields for web dynpro applications. Check note 1261535.
Cheers -
Hi All,
Background job related info. not getting retrieved when using function module 'SAPWL_READ_STATISTIC_FILES' (version SAP ECC 5.0 compatible) in our SAP ECC 6.0 whereas if I use 'SWNC_STAD_READ_STATRECS' I'm getting the required info.
Can anyone let me know why FM 'SAPWL_READ_STATISTIC_FILES' doesn't give the required info. in SAP ECC 6.0?
Thank you.
Gandhi SubramaniHi,
It would help you ,
Make your report automatically processed in background when it is being executed using JOB_OPEN, SUBMIT and JOB_CLOSE like following[example code],
DATA: d_jobcount LIKE TBTCJOB-JOBCOUNT,
d_jobname LIKE TBTCJOB-JOBNAME.
03
04 d_jobname = 'JOB1'. " Here you may give the job name what ever you insist.05
06 CALL FUNCTION 'JOB_OPEN'
07 EXPORTING
08 jobname = d_jobname
09 IMPORTING
10 jobcount = d_jobcount
11 EXCEPTIONS
12 cant_create_job = 1
13 invalid_job_data = 2
14 jobname_missing = 3
15 OTHERS = 4.
16
17 IF sy-subrc NE 0.
18 MESSAGE s368(00) WITH 'Error Creating Job'
19 sy-subrc.
20 EXIT.
21 ENDIF.
22
23 SUBMIT <REPORT_NAME>" call the same program in Background with different job names 24
VIA JOB d_jobname
25 NUMBER d_jobcount
26 AND RETURN.
27
28 CALL FUNCTION 'JOB_CLOSE'
29 EXPORTING
30 jobcount = d_jobcount
31 jobname = d_jobname
32 strtimmed = 'X' " Immediate
33 EXCEPTIONS
34 invalid_startdate = 1
35 jobname_missing = 2
36 job_close_failed = 3
37 job_nosteps = 4
38 job_notex = 5
39 lock_failed = 6
40 OTHERS = 7.
41
42 IF sy-subrc > 0.
43 MESSAGE s368(00) WITH 'Closing Job Failed'
44 sy-subrc.
45 EXIT.
46 ENDIF. -
Required FMs in ECC 6.0
Hi,
I required the function modules in ECC 6.0 which are in 4.7 version
Currently in 4.7 the below mentioned function modules are using
CALL FUNCTION 'SAPWL_STATREC_READ_FILE'
CALL FUNCTION 'RS_TREE_MODIFY_NODE',
please let me know which function module to suggest in ECC 6
Regards,
RajuHi Raju,
Please check if the following FMs suffice your need.
1. SAPWL_READ_STATISTIC_FILES
2. Depending upon the node functionality
RS_TREE_ADD_NODE
RS_TREE_DELETE_NODE
RS_TREE_GET_CURRENT_NODE
RS_TREE_GET_MARKED_NODES
RS_TREE_GET_NODE
RS_TREE_GET_NODE_BY_NAME
RS_TREE_SET_NODE
Vijay -
STAD - get the 'transaction code' and 'program name'
Hi, I was wondering if someone knows about a bapi with which I can get only the "transaction code" and "program name".
I need to get those for a specified user, but I don't want to set on a trace, that's why I'd like to use the transaction STAD.
If anyone can help, thanks in advance
Grtz,
Dragovianok, so I go like this
TYPE-POOLS sapwl .
DATA: all_stats TYPE sapwl_allstats.
CALL FUNCTION 'SAPWL_READ_STATISTIC_FILES'
EXPORTING
read_client = '*'
read_time = '200000'
read_start_date = sy-datum
read_start_time = '000000'
read_username = sy-uname
read_workprocess = 'FFFF'
wait_factor = 150
CHANGING
all_stats = all_stats
how'd I get "start-time" "report-name" "date" "username"? -
What type of out put parameter should i have to pass here?
Hi all,
I'm working on a custom function module. In that i have to call a standard function module "SAPWL_READ_STATISTIC_FILES".
This standard FM is returning the values in changing parameter "ALL_STATS" of type "SAPWL_ALLSTATS". SAPWL_ALLSTATS is a structure in a pool structure "sapwl".
My problem is when i'm testing the standard FM with some input parameters its throughing some values into changing parameter "ALL_STATS", but in my custom FM for the same standard FM i'm passing the same values its not throughing any values into that changing parameter "ALL_STATS".
So can anybody check this standard FM and suggest me how to declare the output parameter type and pass? Its a pool structure there i'm getting problem to define it. Help me out please.
Thanks & Regards
NaiduHello Naidu
Using the sample report ZUS_SDN_READ_STATISTICAL_FILES I can fetch a couple of records from the system (ERP 6.0).
If your selection does not work within your custom function module then perhaps there is some conversion problem with the input data (keep in mind that the SAP-GUI takes care of all conversions, e.g. a date '10.11.2008' is automatically converted into '20081110').
*& Report ZUS_SDN_READ_STATISTICAL_FILES
*& Thread: What type of out put parameter should i have to pass here?
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1119462"></a>
REPORT zus_sdn_read_statistical_files.
TYPE-POOLS: sapwl.
DATA: gt_stats TYPE STANDARD TABLE OF sapwl_statrec.
DATA: gd_msg TYPE bapi_msg.
START-OF-SELECTION.
CALL FUNCTION 'SAPWL_READ_STATISTIC_FILES'
EXPORTING
read_client = syst-mandt
* READ_TIME = '001000'
* READ_TIME_DELTA = '000200'
* READ_EXCLUDE_USERNAME =
* READ_START_DATE = SY-DATUM
* READ_START_TIME = ' '
* READ_USERNAME =
* READ_WORKPROCESS = 'FFFF'
* STATISTIC_FILE = ' '
* AS_STATISTIC_FILE = ' '
* NO_BUFFER_FLUSH = ' '
* WAIT_FACTOR = 150
* INCLUDE_APPL_STAT = ' '
* IMPORTING
* PROBLEMS =
* TOTAL_RECS_READ =
* TABLES
* PROTOCOL =
* RFC_RETURNS =
* SERVER_LIST =
CHANGING
all_stats = gt_stats.
DESCRIBE TABLE gt_stats.
WRITE syst-tfill TO gd_msg NO-ZERO.
CONDENSE gd_msg NO-GAPS.
CONCATENATE gd_msg 'Records found' INTO gd_msg
SEPARATED BY space.
MESSAGE gd_msg TYPE 'I'.
END-OF-SELECTION.
Regards
Uwe -
Hi All,
Background job related info. not getting retrieved when using function module 'SAPWL_READ_STATISTIC_FILES' (version SAP ECC 5.0 compatible) in our SAP ECC 6.0 whereas if I use 'SWNC_STAD_READ_STATRECS' I'm getting the required info.
Can anyone let me know why FM 'SAPWL_READ_STATISTIC_FILES' doesn't give the required info. in SAP ECC 6.0?
Thank you.
Gandhi SubramaniTry
Note 1350302 - RSSTAT26
Markus
Maybe you are looking for
-
1.1.0.315 Upgrade Wreaked Havoc on My Contacts
I installed the1.1.0.315 upgrade a couple of weeks ago, and after roughly 48 hours of absolute chaos (affecting emails, calendar, etc.), my contacts remain scewed up. Texts from my oldest friend are showing up as if they came from my most important
-
Iphone 4s is not showing up in itunes on PC and not recognized by computer
I did all of the suggestions for others with this issue and finally reinstalled itunes. It's still not working. I also noticed that when I plug my iphone into my computer I'm asked if I want my iphone to trust the computer- it doesn't recognize my ph
-
I'm a total CF nub ... Do I need to format this text? Conver it somehow or wrap it in more tags?
-
Delete photo in iphone without syn
Is that a way just simply deleter photo in iphone without syn with computer?
-
ICAL5.0.2 DOES NOT WORK WITH MOUNTAIN LION
Hola... He aztualizado el Mac a MountainLion y la aplicacion ICAL5.0.2 dice que es incompatible...alguien tiene la solucion ??? Gracias