Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with SAPWL_WORKLOAD_GET_STATISTIC results

Former Member
0 Likes
817

Hello,

in order to get som statistic Informations about the number of calls of some reports, i use the FM SAPWL_WORKLOAD_GET_STATISTIC.

CALL FUNCTION 'SAPWL_WORKLOAD_GET_STATISTIC'

EXPORTING

periodtype = 'M'

hostid = 'TOTAL' " for all

startdate = g_datum

TABLES

memory_statistic = I_MEMORY

EXCEPTIONS

unknown_periodtype = 1

no_data_found = 2

no_server_given = 3

OTHERS = 4.

The results i get in I_MEMORY, are not complete.

Some of my reports are not in the table and i know, that these reports will be used every day.

Can anybody tell me, why the results in the table are incomplete or if i have to change a parameter?

Thanks in advance,

André

Hello,

in order to get som statistic Informations about the number of calls of some reports, i use the FM SAPWL_WORKLOAD_GET_STATISTIC.

CALL FUNCTION 'SAPWL_WORKLOAD_GET_STATISTIC'

EXPORTING

periodtype = 'M'

hostid = 'TOTAL' " for all

startdate = g_datum

TABLES

memory_statistic = I_MEMORY

EXCEPTIONS

unknown_periodtype = 1

no_data_found = 2

no_server_given = 3

OTHERS = 4.

The results i get in I_MEMORY, are not complete.

Some of my reports are not in the table and i know, that these reports will be used every day.

Can anybody tell me, why the results in the table are incomplete or if i have to change a parameter?

Thanks in advance,

André

1 REPLY 1
Read only

Former Member
0 Likes
558

Check with your Basis team. There are system settings/configuration/background jobs that run to collect statistics, it may be that memory-specific settings are not being accumulated in that process.