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

SAPWL_GET_WORKLOAD_SUMMARY: Units for time fields?

Former Member
0 Kudos

For SAPWL_GET_WORKLOAD_{SUMMARY,STATISTIC}, what are the units for the time fields (CPU, response, etc.)?

I thought they were microseconds (like in the raw statistics records), but comparing results to ST03 GUI it looks like they're milliseconds.

Where can I find definitive documentation?





Former Member
0 Kudos

In pre-NetWeaver systems, the units of the time fields in SAPWL_GET_WORKLOAD_SUMMARY are milliseconds.

In NetWeaver, the equivalent function is SWNC_COLLECTOR_GET_AGGREGATES. This function, by default, will return time fields in milliseconds. But there is a scale FACTOR parameter that defaults to 1000. If you set it to 1, then the time units will be microseconds.

See these blogs on the functions to get ST03 data:

- [How to read ST03N datasets from DB|] [original link is broken] [original link is broken] [original link is broken];

- [Statistical Records Part 4: How to read ST03N datasets from DB in NW2004|] [original link is broken] [original link is broken] [original link is broken];