Creating the Table of Contents
Use
You can create the table of contents using function module SAPWL_ACCNT_GET_DIRECTORY (see the table below). This function module returns an internal table containing descriptions of the data that is available.
Due to the host name enhancement in Release 4.6A, the input parameters for accounting modules have changed. Instance IDs are now used for internal administration of data (you do not need to know the IDs).
Parameter |
Input/Output |
Repository Type |
Description |
Optional |
PERIODTYPE |
SAPWLACCTP -PERIODTYPE |
Input |
Pre-selection for the time period (day, week, month) Default: All available time periods |
Yes |
INSTID |
SAPWLSERV-INSTSHORT |
Input |
ID of the instance checked. This field should not usually be filled If an instance name is transferred to the parameter INSTANCE, the parameter INSTID is deactivated (except where the parameter equals "*") |
Yes |
INSTANCE |
SAPWLSERV- NAME |
Input |
Full name of the instance checked (server_<SID>_Instance number) You can check either all instances or only certain instances. Default: All available instances (that is, the parameter is transferred empty) |
Yes |
DIRECTORY |
SAPWLACCTD |
Output |
Internal table with data descriptions matching the pre-selection The instance ID is transferred to INSTID |
No |
SAPWLACCTD contains details about the time period, the data that is 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 INSTID = * (all instances), the system displays the following output:
STARTDATE |
PERIODTYPE |
INSTID |
19991206 |
W |
ID for instance A |
19991206 |
W |
ID for instance B |
19991213 |
W |
ID for instance A |
19991213 |
W |
ID for instance B |
This output shows that there is data for the weeks beginning December 6, 1999 and December 13, 1999 for both instance A and B.