Creating the Table of Contents 
The table of contents can be created using function module
SAPWL_ACCNT_GET_DIRECTORY . This function module returns an internal table containing descriptions of the available data.Table: Function Module
SAPWL_ACCNT_GET_DIRECTORY (Creating the Table of Contents)
Parameter |
Input/Output |
Repository Type |
Description |
Optional |
PERIODTYPE |
Input |
SAPWLACCTP -PERIODTYPE |
Pre-selection for the time period (day, week, month). Default: all available time periods |
Yes |
HOSTID |
Input |
SAPWLACCTP -HOSTID |
Name of the server monitored. You can decide whether to monitor all hosts or specific hosts. Default: all available servers |
Yes |
DIRECTORY |
Output |
SAPWLACCTD |
Internal table with data descriptions matching the pre-selection |
No |

SAPWLACCTD
contains details of the time period, the data available and the application server.You can set a
PERIODTYPE of D, W, or M (for day, week, month).If you specify
PERIODTYPE = W (for week) and HOSTID = * (all servers), you receive the following output.
STARTDATE |
PERIODTYPE |
HOSTID |
19951204 |
W |
Server A |
19951204 |
W |
Server B |
19951211 |
W |
Server A |
19951211 |
W |
Server B |
This output shows that there is data for the weeks beginning on December 4, 1995 and December 11, 1995 for both server A and B.