Reading the Accounting Data 

The accounting data is read using function module SAPWL_ACCNT_GET_SYSTEM_USAGE . This function module returns the accounting data for a given time period cumulated per account or per user name. In addition, it can be used to collect data for one or more instances or clients in your R/3 System.

Table: Function Module SAPWL_ACCNT_GET_SYSTEM_USAGE (Reading the Accounting Data)

Parameter

Input/Output

Repository Type

Description

Optional

PERIODTYPE

Input

SAPWLACCTP

-PERIODTYPE

Time period (day, week or month)

No

HOSTID

Input

SAPWLACCTP

-HOSTID

Name of the server.

Default: all available

Yes

STARTDATE

Input

SAPWLACCTP

-STARTDATE

Start of time period (date of day, date of the Monday of the week, date of the first day of the month)

No

CUMULATON

_MODE

Input

SAPWLACCTP

-CUMUL

_MODE

Data is cumulated by user names or by accounts.

Default: user names

Yes

CLIENT

Input

SAPWLACCTP

-CLIENT

Client to read the data for.

Default: all clients

Yes

USER

_ACCOUNT

_RELATION

Input

USRACCNTV

Table with a user -defined account, different from the current user master data. If the table is empty, the user master data is used (table USR02).

Yes

STATISTIC

Output

SAPWLACCTS

Table with cumulated data

No

 

See also:

Available Statistics Data

Documentation: User master Records, RFC-I/F